ReC98/th05/snd
nmlgc c85f444b07 [Decompilation] [th02/th03] Sound effect playback
Second previously undecompilable translation unit, second creative
workaround for the workaround. We can't compile snd_se_play() with -WX,
as that function needs a stack frame, and it's also illegal to disable
-WX in the middle of a translation unit. But since we only need word
alignment in front of snd_se_reset() *and* that function is identical
in all 4 games, it makes sense to move it to its own translation unit.

And then you notice that the TH02/TH03 and TH04/TH05 versions of the
other two functions are basically identical. The small differences can
easily be moved out to inline functions, leaving us with a single
implementation file for all 4 games. Nice!

Part of P0137, funded by [Anonymous].
2021-04-03 22:11:45 +02:00
..
delaymea.cpp [Decompilation] [th02/th03] Sound effect playback 2021-04-03 22:11:45 +02:00
kajaint.asm [Separate translation units] [th05] snd_kaja_interrupt() (undecompilable) 2021-03-19 19:16:01 +01:00
load.cpp [Maintenance] Prefer the -zC and -zP options over `#pragma codeseg` 2021-04-03 20:12:09 +02:00
load[data].asm [Decompilation] [th05] snd_load() 2021-03-19 19:22:57 +01:00
snd.h [Decompilation] [th05] Player character selection menu 2020-09-21 15:00:05 +02:00