cvghivebrain / s1disasm

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

Index and ptr macros incompatible with asm68k section directive #32

Closed OrionNavattan closed 1 year ago

OrionNavattan commented 1 year 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 1 year ago

Found a workaround.