fixed bug in controller options, added FM core reset on option change

This commit is contained in:
ekeeke31 2008-08-12 16:20:43 +00:00
parent 0d367d7d16
commit bd90f522e1

View File

@ -183,6 +183,10 @@ void soundmenu ()
case 4: case 4:
config.ssg_enabled ^= 1; config.ssg_enabled ^= 1;
if (genromsize)
{
fm_restore();
}
break; break;
case 5: case 5:
@ -497,8 +501,8 @@ void ConfigureJoypads ()
player = 0; player = 0;
} }
sprintf (padmenu[2], "Gun Cursor: %s", config.gun_cursor ? "Y":"N"); sprintf (padmenu[2], "Gun Cursor: %s", config.gun_cursor ? " ON":"OFF");
sprintf (padmenu[3], "Invert Mouse: %s", config.gun_cursor ? "Y":"N"); sprintf (padmenu[3], "Invert Mouse: %s", config.invert_mouse ? " ON":"OFF");
sprintf (padmenu[4], "Set Player: %d%s", player + 1, (j_cart && (player > 1)) ? "-JCART" : ""); sprintf (padmenu[4], "Set Player: %d%s", player + 1, (j_cart && (player > 1)) ? "-JCART" : "");
if (config.input[player].device == 0) if (config.input[player].device == 0)