Commit Graph

87 Commits

Author SHA1 Message Date
Snesrev
d8bc06b9dd Remove more globals 2023-04-04 21:39:43 +02:00
Snesrev
61d9713cc5 Remove __plus__ 2023-04-04 21:06:22 +02:00
Snesrev
a1fc879f1b Remove more globals 2023-04-04 20:55:06 +02:00
Snesrev
30f4cfd958 Botwoon_Func_26 overwrote R18 2023-04-04 20:19:39 +02:00
Snesrev
6261da13e1 Phantoon modified wrong coordinate 2023-04-04 18:43:22 +02:00
Snesrev
e6b8ced260 Crocomire bugfix 2023-04-04 18:34:43 +02:00
Snesrev
7a5bfbbf56 Misc cleanup 2023-04-04 18:24:59 +02:00
Snesrev
b10285db38 Remove lots of __CFADD__uint16 2023-04-04 06:30:14 +02:00
Snesrev
9db0dd741d Draygon_Func_42 uses undefined varE24 value 2023-04-04 04:11:07 +02:00
Snesrev
bef6907f93 Breaking glass tube bug 2023-04-04 03:53:36 +02:00
Snesrev
e12ce49178 Maridia puffer bug 2023-04-04 03:48:48 +02:00
Snesrev
1bb7b762da Fix bug in wrecked ship robot 2023-04-04 03:39:14 +02:00
Snesrev
e44c3483be Kraid_Shot_Mouth: The real game doesn't preserve R18 2023-04-04 03:28:43 +02:00
Snesrev
bdad5fcf02 Wrecked ship ghost bugfix 2023-04-04 02:57:39 +02:00
Snesrev
67a2a460d5 Phantoon bugfix 2023-04-04 02:47:20 +02:00
Snesrev
2acb27fe10 Use CosineMult8bitFull 2023-04-04 01:40:14 +02:00
Snesrev
f207b03b69 ProcessEnemyPowerBombInteraction - R18 overwritten by death routine 2023-04-04 00:06:35 +02:00
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