Code: Select all
If Control = JoyPort1
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||joyport0||joy0)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||joyport1||joy1)
Set_CFG_Value(%dbpath%\WHDLoad.uae||joyport0||joy0)
Set_CFG_Value(%dbpath%\WHDLoad.uae||joyport1||joy1)
Else
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||joyport0||winmouse1)
Set_CFG_Value(%dbpath%\GameBase Amiga.uae||joyport1||joy0)
Set_CFG_Value(%dbpath%\WHDLoad.uae||joyport0||winmouse1)
Set_CFG_Value(%dbpath%\WHDLoad.uae||joyport1||joy0)
End If
All games, regardless of whether they are for 1 or 2 players, always start with mouse in port 1 and controller in port 2, the instruction after "else" is always resolved.
Where should the values for "Control" be? They could not find them in the database.