Snesrev
5034ffc8e5
Some more cleanup + tcc fix
2023-04-03 22:14:39 +02:00
snesrev
0b58368de0
Lots of code cleanup ( #32 )
...
### Description
<!-- What is the purpose of this PR and what it adds? -->
### Will this Pull Request break anything?
<!-- Will it break the compiling? -->
### Suggested Testing Steps
<!-- See if the compiling fails/break anything in the game. -->
2023-04-03 21:56:08 +02:00
Snesrev
45767ae6e0
Clean up sprite drawing
2023-03-20 22:22:05 +01:00
Snesrev
7c5c77bdf3
Clean up HdmaobjInstr
2023-03-20 21:05:58 +01:00
Snesrev
3a4afe38db
The code heavily uses aliasing and the compiler optimized this wrong
2023-03-20 20:43:11 +01:00
Snesrev
7a29af4260
Use int8 instead of char.
...
Char is not guaranteed to be signed.
2023-03-20 20:01:27 +01:00
snesrev
51ac35a65d
Code cleanup ( #28 )
...
Lots of code cleanup
2023-03-20 18:12:36 +01:00
Snesrev
19c3651a3e
Unpausing while kraid was sinking didn't work
2023-03-16 21:18:06 +01:00
Snesrev
ef8b850895
Some builds would crash on startup ( Fixes #6 )
2023-03-16 20:21:13 +01:00
Snesrev
027086067a
Doors don't close the same way as on console ( Fixes #21 )
2023-03-16 18:30:35 +01:00
Snesrev
41a4b81783
Remove printf BUG: projectile_index invalid ( Fixes #5 )
2023-03-16 18:30:35 +01:00
DaBanana64
b53d6e1c4f
Building instructions Round 2! ( #24 )
...
### Description
This PR adds building section for Switch!
### Will this Pull Request break anything?
Nah.
### Suggested Testing Steps
Just see if I missed any steps or I mentioned them incorrectly.
2023-03-16 09:46:56 +01:00
DaBanana64
9c4d8ee4a5
Add autosave option in ini file. ( #23 )
...
### Description
This PR adds the autosave toggle in ini file.
### Will this Pull Request break anything?
Nope.
### Suggested Testing Steps
Toggle it on to see if it works.
2023-03-16 09:46:32 +01:00
Snesrev
513d0c64e5
Load autosaves too
2023-03-14 21:07:32 +01:00
Lywx
43b14838b7
Added nintendo switch support ( #16 )
...
This PR adds support for building sm on the nintendo switch, the
installation instructions are pretty much the same, with the difference
that you need a switch with atmosphere installed and the devkitpro
development environment, to install on the switch just copy the .ini,
the nro and the smc file.
---------
Co-authored-by: snesrev <111028570+snesrev@users.noreply.github.com >
2023-03-14 21:04:59 +01:00
Snesrev
a77d20f138
Remove u from constants
2023-03-14 20:22:53 +01:00
Snesrev
56df2670c0
Clean up some code
2023-03-14 20:18:51 +01:00
Snesrev
14b5e3d6ca
Add autosave
2023-03-14 17:28:30 +01:00
Snesrev
7b4163780c
WreckedShipOrangeZoomer_Func_2 missing from CallEnemyPreInstr
2023-03-14 17:07:18 +01:00
Snesrev
5fc07a1407
RoomMainAsm_ScrollingSky reads OOB
...
when layer1_y_pos is very small
2023-03-14 17:00:22 +01:00
Snesrev
b7cbd28294
Cleaned up some RomPtr
2023-03-14 04:13:20 +01:00
Snesrev
907b38010c
hdma with repcount 0 should disable hdma.
2023-03-14 02:49:23 +01:00
Snesrev
d265a76f05
BG2 tilemap was messed up when unpausing ( Fixes #20 )
2023-03-14 01:25:21 +01:00
Snesrev
34751f5870
Fix phantoon crash bug ( #20 )
2023-03-13 23:25:14 +01:00
Snesrev
c18e33bf37
Crash in GrappleBeamFunc_FireGoToCancel
2023-03-11 18:48:45 +01:00
Snesrev
a3978bfd16
Remove some printf
2023-03-11 18:38:21 +01:00
Snesrev
a88829955d
kBugSaves[]
2023-03-11 18:34:12 +01:00
Snesrev
5596f16cbb
LoadStdBG3andSpriteTilesClearTilemaps does DMA from RAM
2023-03-11 18:33:53 +01:00
Snesrev
39ab392092
Remove some printfs
2023-03-11 18:09:42 +01:00
Snesrev
9de1abd672
Handle corrupted coroutine state better
2023-03-11 18:09:18 +01:00
Snesrev
13524cb62a
Show a better message if the game crashes
2023-03-11 17:56:55 +01:00
Snesrev
67a9846c47
Metalee_Func_2 bug
2023-03-11 17:54:03 +01:00
Snesrev
72f5bf5795
Samus_HandleScrewAttackSpeedBoostingPals reads bad addr ( Fixes #18 )
2023-03-11 17:53:53 +01:00
Snesrev
bcc7572392
EprojInstr_SpawnEnemyDropsWithDraygonsEyeDrops didn't work
2023-03-11 15:57:09 +01:00
Snesrev
77185ae205
Small change to facilitate debugging
2023-03-11 14:18:01 +01:00
Snesrev
ff343e46c0
RtlUpdateSnesPatchForBugfix() had a bug
...
Also removed dup patch
2023-03-11 14:18:01 +01:00
Snesrev
80f565ec89
Some cleanup
2023-03-11 14:18:01 +01:00
DaBanana64
1f3cb1ae2d
Add issue and pull request template. ( #19 )
...
Just like my PR in Zelda3 repo, I've added Issue and PR template.
This PR also fixes the building link.
2023-03-11 13:52:52 +01:00
Snesrev
304804974e
Linux build missing Die function ( Fixes #17 )
2023-03-11 13:52:13 +01:00
Snesrev
5a0a84c649
Fix crocomire menu hang ( Fixes #1 )
...
Renamed some variables
Also fixed so Replay works again
2023-03-11 04:11:08 +01:00
Snesrev
622c15ca7b
Fix various bug*.sav bugs and add some code to track down #1
2023-03-11 00:00:28 +01:00
DaBanana64
a1521f9688
Create build instructions. ( #7 )
...
As the title says, I've created (hopefully) detailed enough instruction
for building the game.
Let me know if I've missed anything!
2023-03-10 23:45:33 +01:00
Snesrev
cd8480d8bc
Fix Input handling and message boxes ( Fixes #3 )
2023-03-07 21:53:13 +01:00
Snesrev
d6bcb3b492
Good bye varbeam
...
Cleaned up a little too
2023-03-07 21:16:05 +01:00
Snesrev
7a7db1d63c
Oops i broke something
2023-03-07 02:51:03 +01:00
Snesrev
b57d30a827
Clean up some code
2023-03-07 00:23:44 +01:00
Snesrev
e48d05a2d8
Remove a variable in EquipmentScreenCategory_Tanks_1
2023-03-06 23:09:05 +01:00
Snesrev
e7a41d9ba8
Ridley_Func_53 had a bug
2023-03-06 23:08:19 +01:00
Snesrev
02c0a272d1
The reset in replay code didn't work
2023-03-06 23:07:49 +01:00
Snesrev
3cd1dda0c0
Fix crystal flash and cleanup some code
2023-03-06 22:23:43 +01:00