1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2024-11-28 00:10:51 +01:00

jbhook2: fix broken windowed toggle

This commit is contained in:
Will Toohey 2022-01-03 19:56:10 +10:00
parent f1a7621e2b
commit 088d4bf338

View File

@ -177,13 +177,15 @@ static HWND CDECL my_mwindow_create(
window_height = tmp;
}
fullscreen = !options.windowed;
return real_mwindow_create(
hinstance,
callback,
window_title,
window_width,
window_height,
0);
fullscreen);
}
BOOL WINAPI DllMain(HMODULE mod, DWORD reason, void *ctx)