After reading some documentation about what could go wrong when you build x86 targeted code on arm, i've been trying to fix those nec v30 games again.
So right now i'm trying to fix "undefined behavior" in cpu/nec, but it seems i'm doing it wrong, for example i tried replacing
#define FETCH() cpu_readop_arg((Sreg(PS)<<4) + sChipsPtr->ip++)
by
#define FETCH() ({ cpu_readop_arg((Sreg(PS)<<4) + sChipsPtr->ip); sChipsPtr->ip++; })
or
#define FETCH() ({ sChipsPtr->ip++; cpu_readop_arg((Sreg(PS)<<4) + sChipsPtr->ip); })
First threw me a runtime error, second threw me a black screen, any guess on what i should actually write ?