X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=input.c;h=b6255836e9b880d9f9f587ee1ae6c4e4c1d81ed2;hp=ba07072a04766d031ab1e3ead213a8c344687fc1;hb=88e59df3676d6f36fd52e30f32624f49c7b0a355;hpb=e328100eecae3adfce1c3b57364bee5d166217ef diff --git a/input.c b/input.c index ba07072..b625583 100644 --- a/input.c +++ b/input.c @@ -46,8 +46,6 @@ static uint8 joy_readbit[2]; static uint8 joy[4]={0,0,0,0}; static uint8 LastStrobe; -extern int coinon; - static int FSDisable=0; /* Set to 1 if NES-style four-player adapter is disabled. */ static int JPAttrib[2]={0,0}; static int JPType[2]={0,0}; @@ -119,7 +117,7 @@ static DECLFR(JPRead) ret=FCExp->Read(A&1,ret); ret|=X.DB&0xC0; - dprintf("JPRead %02x", ret); + dprintf("JPRead %i %02x", A&1, ret); return(ret); } @@ -350,6 +348,7 @@ void FCEUI_SetInputFC(int type, void *ptr, int attrib) void FCEU_DoSimpleCommand(int cmd) { + printf("FCEU_DoSimpleCommand: %i\n", cmd); switch(cmd) { case FCEUNPCMD_FDSINSERT: FCEU_FDSInsert();break;