X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=input.c;h=b540f552ff2f53f281ee203f6a4066ea033dcd8f;hp=1548e416c9a0d37b8655a67885954e198eba3284;hb=ec4d13a31d4416f0f794f8530d03b820cfa55417;hpb=d97315ac0bca825d2d50a44453bc5652946e2c67 diff --git a/input.c b/input.c index 1548e41..b540f55 100644 --- a/input.c +++ b/input.c @@ -205,6 +205,7 @@ void UpdateInput(void) if(netplay) NetplayUpdate(&joy[0],&joy[1]); #endif if (current < 0) FCEUMOV_AddJoy(joy); + else framecount++; // for debug //FlushCommandQueue(); } @@ -347,16 +348,6 @@ void FCEUI_SetInputFC(int type, void *ptr, int attrib) SetInputStuffFC(); } -// quick paste -#define FCEUNPCMD_RESET 0x01 -#define FCEUNPCMD_POWER 0x02 - -#define FCEUNPCMD_VSUNICOIN 0x07 -#define FCEUNPCMD_VSUNIDIP0 0x08 -#define FCEUNPCMD_FDSINSERT 0x18 -#define FCEUNPCMD_FDSSELECT 0x1A - - void FCEU_DoSimpleCommand(int cmd) { switch(cmd)