mirror of
https://github.com/dborth/fceugx.git
synced 2025-01-07 14:28:18 +01:00
fix four score
This commit is contained in:
parent
7b69790eff
commit
73c621355f
@ -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");
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user