Fix input selection for Famicom Expansion port

This commit is contained in:
mart0258 2011-02-12 17:56:58 +00:00
parent aaa7b508d6
commit 7ee2494ba7
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,4 @@
12-feb-2010 - mart0258 - Fix input selection for Famicom Expansion port
25-jan-2010 - prg318 - gtk - filechooser now remembers last file opened
25-jan-2010 - prg318 - gtk - fixed xscale/yscale spinbuttons not changing config
24-jan-2010 - prg318 - gtk - game window integrated into sdl window (thanks bryan!)

View File

@ -1210,8 +1210,8 @@ BOOL CALLBACK InputConCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
);
}
if (InputType[FAMICOM_POSITION]>SI_COUNT || InputType[FAMICOM_POSITION]<0)
InputType[FAMICOM_POSITION]=SI_UNSET;
if (InputType[FAMICOM_POSITION]>SIFC_COUNT || InputType[FAMICOM_POSITION]<0)
InputType[FAMICOM_POSITION]=SIFC_UNSET;
// Update the combobox selection according to the
// currently selected input mode.
@ -1325,7 +1325,7 @@ BOOL CALLBACK InputConCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
{
case BTN_FAM:
{
const char *text = ESI_Name((ESI)InputType[FAMICOM_POSITION]);
const char *text = ESIFC_Name((ESIFC)InputType[FAMICOM_POSITION]);
DoTBType = DoTBPort = 0;