mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 12:04:09 +00:00
parent
b2d1433392
commit
6c693e3bbf
25 changed files with 1387 additions and 126 deletions
|
@ -1355,10 +1355,14 @@ 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 != 640
|
||||
|| vm.height != 480
|
||||
|| vm.depth != 16
|
||||
if ( defaultFullscreenRes && vm.width != Rect.right
|
||||
|| vm.height != Rect.bottom
|
||||
|| vm.depth != 32
|
||||
|| !(vm.flags & rwVIDEOMODEEXCLUSIVE) )
|
||||
++GcurSelVM;
|
||||
else
|
||||
|
@ -1367,7 +1371,7 @@ psSelectDevice()
|
|||
|
||||
if ( !modeFound )
|
||||
{
|
||||
MessageBox(nil, "Cannot find 640x480 video mode", "GTA3", MB_OK);
|
||||
MessageBox(nil, gString, "GTA3", MB_OK);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue