R15++;
CLRFLAGS;
R1++;
-
+
#ifdef CHECK_LIMITS
if(y >= GSU.vScreenHeight) return;
#endif
- c = (uint8)GSU.vColorReg;
- if(GSU.vPlotOptionReg & 0x10)
- if( !(GSU.vPlotOptionReg & 0x01) && !(c&0xf)) return;
- else
- if( !(GSU.vPlotOptionReg & 0x01) && !c) return;
+ c = (uint8)GSU.vColorReg;
+ if(GSU.vPlotOptionReg & 0x10) {
+ if( !(GSU.vPlotOptionReg & 0x01) && !(c&0xf)) return;
+ } else {
+ if( !(GSU.vPlotOptionReg & 0x01) && !c) return;
+ }
a = GSU.apvScreen[y >> 3] + GSU.x[x >> 3] + ((y & 7) << 1);
v = 128 >> (x&7);
static uint32 fx_run(uint32 nInstructions)
{
- GSU.vCounter = nInstructions;
- READR14;
- while(GSU.vCounter-- > 0)
- FX_STEP;
+ GSU.vCounter = nInstructions;
+ READR14;
+ while(GSU.vCounter-- > 0) {
+ FX_STEP;
+ }
/*
#ifndef FX_ADDRESS_CHECK
GSU.vPipeAdr = USEX16(R15-1) | (USEX8(GSU.vPrgBankReg)<<16);
#endif
*/
- return (nInstructions - GSU.vInstCount);
+ return nInstructions - GSU.vInstCount;
}
static uint32 fx_run_to_breakpoint(uint32 nInstructions)