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)
{
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");
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()
{
int attrib = 0;
FCEUI_DisableFourScore(1);
InputDPR = &JSReturn;
FCEUI_SetInput(0, SI_GAMEPAD, InputDPR, attrib);
FCEUI_SetInput(1, SI_GAMEPAD, InputDPR, attrib);
InputDPR = &JSReturn;
FCEUI_SetInput(0, SI_GAMEPAD, InputDPR, 0);
FCEUI_SetInput(1, SI_GAMEPAD, InputDPR, 0);
ToggleFourScore(GCSettings.FSDisable);
ToggleZapper(GCSettings.zapper);
}