mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2024-11-30 17:24:30 +01:00
jbhook2: fix broken windowed toggle
This commit is contained in:
parent
f1a7621e2b
commit
088d4bf338
@ -177,13 +177,15 @@ static HWND CDECL my_mwindow_create(
|
|||||||
window_height = tmp;
|
window_height = tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fullscreen = !options.windowed;
|
||||||
|
|
||||||
return real_mwindow_create(
|
return real_mwindow_create(
|
||||||
hinstance,
|
hinstance,
|
||||||
callback,
|
callback,
|
||||||
window_title,
|
window_title,
|
||||||
window_width,
|
window_width,
|
||||||
window_height,
|
window_height,
|
||||||
0);
|
fullscreen);
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL WINAPI DllMain(HMODULE mod, DWORD reason, void *ctx)
|
BOOL WINAPI DllMain(HMODULE mod, DWORD reason, void *ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user