Fix input selection for Famicom Expansion port
This commit is contained in:
parent
aaa7b508d6
commit
7ee2494ba7
|
@ -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!)
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue