mirror of
https://github.com/retro100/dosbox-wii.git
synced 2024-12-25 18:11:50 +01:00
turn off doublebuf, makes some games (eg: SimFarm) go black
This commit is contained in:
parent
314c33eada
commit
48fb8600dd
@ -1074,7 +1074,11 @@ static void GUI_StartUp(Section * sec) {
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifdef HW_RVL
|
||||
sdl.desktop.doublebuf=false;
|
||||
#else
|
||||
sdl.desktop.doublebuf=section->Get_bool("fulldouble");
|
||||
#endif
|
||||
if (!sdl.desktop.full.width) {
|
||||
#ifdef WIN32
|
||||
sdl.desktop.full.width=(Bit16u)GetSystemMetrics(SM_CXSCREEN);
|
||||
|
@ -101,8 +101,8 @@ bool MenuRequested()
|
||||
{
|
||||
for(int i=0; i<4; i++)
|
||||
{
|
||||
if ((userInput[i].wpad.btns_h & WPAD_BUTTON_HOME) ||
|
||||
(userInput[i].wpad.btns_h & WPAD_CLASSIC_BUTTON_HOME))
|
||||
if ((userInput[i].wpad->btns_h & WPAD_BUTTON_HOME) ||
|
||||
(userInput[i].wpad->btns_h & WPAD_CLASSIC_BUTTON_HOME))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user