- Daemon Bride: fix resolution not changing back
- Daemon Bride: fix resolution not changing back in certain cases when quitting (like from test menu)
This commit is contained in:
parent
2604c53bed
commit
9ff3e8a957
@ -328,7 +328,7 @@ LONG __stdcall ChangeDisplaySettingsAWrap(DEVMODEA *lpDevMode, DWORD dwflags)
|
||||
lpDevMode->dmBitsPerPel = 32;
|
||||
lpDevMode->dmDisplayFrequency = 60;
|
||||
|
||||
return ChangeDisplaySettingsA(lpDevMode, dwflags);
|
||||
return ChangeDisplaySettingsA(lpDevMode, CDS_FULLSCREEN);
|
||||
}
|
||||
|
||||
BOOL __stdcall ExitWindowsExWrap(UINT uFlags, DWORD dwReason)
|
||||
|
@ -59,10 +59,6 @@ DWORD WINAPI QuitGameThread(__in LPVOID lpParameter)
|
||||
{
|
||||
FreeLibrary(blaster);
|
||||
}
|
||||
if (GameDetect::currentGame == GameID::ExBoardGeneric || !ToBool(config["General"]["Windowed"]))
|
||||
{
|
||||
ChangeDisplaySettingsA(NULL, 0);
|
||||
}
|
||||
TerminateProcess(GetCurrentProcess(), 0);
|
||||
#endif
|
||||
//ExitProcess(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user