X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=x6502.c;h=cb0d76110d37deeee6a4bb3398d86231b66d89a2;hp=87ba0f5f9ea8a37a3001feba6d9002e5dc688c6f;hb=92e249b10ad9e479eddb18974555366dba725ef3;hpb=af32b6c2f0ed2f1a4582c3e8d7ac704b9c61fa4c diff --git a/x6502.c b/x6502.c index 87ba0f5..cb0d761 100644 --- a/x6502.c +++ b/x6502.c @@ -37,7 +37,7 @@ void FP_FASTAPASS(1) (*MapIRQHook)(int a); #define _S X.S #define _P X.P #define _PI X.mooPI -#define _PZ X.PZ // unused? +//#define _PZ X.PZ // unused? #define _DB X.DB #define _count X.count #define _tcount X.tcount @@ -475,7 +475,7 @@ void X6502_Run_c(void/*int32 cycles*/) ADDCYC(temp); //temp=_tcount; //_tcount=0; -/* + if(MapIRQHook) MapIRQHook(temp); temp*=48; @@ -487,7 +487,6 @@ void X6502_Run_c(void/*int32 cycles*/) fhcnt+=fhinc; } - if(PCMIRQCount>0) { PCMIRQCount-=temp; @@ -502,7 +501,7 @@ void X6502_Run_c(void/*int32 cycles*/) } } } -*/ + //printf("$%04x:$%02x\n",_PC,b1); //_PC++; //printf("$%02x\n",b1);