fix four score

This commit is contained in:
dborth 2008-09-10 01:02:12 +00:00
parent 7b69790eff
commit 73c621355f
2 changed files with 5 additions and 8 deletions

View File

@ -672,7 +672,7 @@ ConfigureControllers ()
while (quit == 0) while (quit == 0)
{ {
sprintf (ctlrmenu[0], "Four Score - %s", sprintf (ctlrmenu[0], "Four Score - %s",
GCSettings.FSDisable == true ? " ON" : "OFF"); GCSettings.FSDisable == false ? " ON" : "OFF");
if (GCSettings.zapper == 0) sprintf (ctlrmenu[1],"Zapper - Disabled"); if (GCSettings.zapper == 0) sprintf (ctlrmenu[1],"Zapper - Disabled");
else if (GCSettings.zapper == 1) sprintf (ctlrmenu[1],"Zapper - Port 1"); else if (GCSettings.zapper == 1) sprintf (ctlrmenu[1],"Zapper - Port 1");

View File

@ -74,14 +74,11 @@ extern INPUTC *FCEU_InitZapper(int w);
****************************************************************************/ ****************************************************************************/
void InitialisePads() void InitialisePads()
{ {
int attrib = 0; InputDPR = &JSReturn;
FCEUI_SetInput(0, SI_GAMEPAD, InputDPR, 0);
FCEUI_DisableFourScore(1); FCEUI_SetInput(1, SI_GAMEPAD, InputDPR, 0);
InputDPR = &JSReturn;
FCEUI_SetInput(0, SI_GAMEPAD, InputDPR, attrib);
FCEUI_SetInput(1, SI_GAMEPAD, InputDPR, attrib);
ToggleFourScore(GCSettings.FSDisable);
ToggleZapper(GCSettings.zapper); ToggleZapper(GCSettings.zapper);
} }