cvghivebrain / s1disasm

Sonic the Hedgehog (Mega Drive) Hivebrain 2022 disassembly
45 stars 8 forks source link

Index and ptr macros incompatible with asm68k section directive #32

Closed OrionNavattan closed 2 years ago

OrionNavattan commented 2 years ago

While attempting to port AuroraField's DualPCM Compress to see if it could be used to eliminate the patching of the compressed DAC Driver, I discovered that the index and ptr macros produce build errors if the asm68k section directive is used. Specifically, the "index_start: = \start", and "if index_start=-1" lines fail to evaluate for no apparent reason. (I suspect this may be a bug in asm68k, in which case there is likely nothing that can be done, but felt it was worth informing you of.)

OrionNavattan commented 2 years ago

Found a workaround.