Add some missing code to the main function

This code was previously in WindowProc, which was replaced.
This commit is contained in:
Clownacy 2019-09-03 00:43:05 +01:00
parent 1f3728c177
commit 8dce9c5aff

View file

@ -300,6 +300,12 @@ int main(int argc, char *argv[])
SDL_EventState(SDL_DROPFILE, SDL_ENABLE);
#endif
if (CheckFileExists("fps"))
bFps = TRUE;
if (!bFullscreen)
LoadWindowRect(hWnd, "window.rect", FALSE);
// Set rects
RECT rcLoading = {0, 0, 64, 8};
RECT rcFull = {0, 0, 0, 0};