From e8215cf560318fdd77817cea485af50fca827552 Mon Sep 17 00:00:00 2001 From: aap Date: Tue, 2 Jul 2019 22:05:11 +0200 Subject: Revert "Implemented frontend inputs." --- src/skel/win/win.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/skel/win/win.cpp') diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index 1b91af24..9638e53a 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -1355,14 +1355,10 @@ psSelectDevice() { while ( !modeFound && GcurSelVM < RwEngineGetNumVideoModes() ) { - RECT Rect; - GetWindowRect(GetDesktopWindow(), &Rect); - printf(gString, "Cannot find %dx%dx32 video mode", Rect.right, Rect.bottom); - RwEngineGetVideoModeInfo(&vm, GcurSelVM); - if ( defaultFullscreenRes && vm.width != Rect.right - || vm.height != Rect.bottom - || vm.depth != 32 + if ( defaultFullscreenRes && vm.width != 640 + || vm.height != 480 + || vm.depth != 16 || !(vm.flags & rwVIDEOMODEEXCLUSIVE) ) ++GcurSelVM; else @@ -1371,7 +1367,7 @@ psSelectDevice() if ( !modeFound ) { - MessageBox(nil, gString, "GTA3", MB_OK); + MessageBox(nil, "Cannot find 640x480 video mode", "GTA3", MB_OK); return FALSE; } } -- cgit v1.2.3