Add -ldl to the end of the g++ invocation.
<blm> zsnes users are the flatearthers of emulation
<blm> zsnes users are the flatearthers of emulation
!AllowSA1 = 1
!AllowSA1
to a nonzero value. That way, no undefined behaviour would occur, and the user would know what went wrong.!AllowSA1 = 1
!AllowSA1
to a nonzero value. That way, no undefined behaviour would occur, and the user would know what went wrong.!Gl = $20 ; $00 if it should be based on level exAnim, and $20 if it should be based on global exAnim !Slot = $00 ; exAnimation slot the code should be based on !Min = $02 ; First frame the block should be solid on !Max = $05 ; Last frame the block should be solid on db $42 JMP M : JMP M : JMP M : JMP R : JMP R : JMP R : JMP R JMP M : JMP M : JMP M M: LDA $7FC080+!Gl+!Slot ;\ CMP !Min ;| BCC R ;| Check if it is a correct frame CMP.b !Max$01 ;| BCS R ;/ LDY #$01 ;\ LDA #$30 ;| If yes, solidify the block STA $1693 ;/ R: RTL