Add a newline to "Leaving main" message.

Also implement SYSPROP_DISPLAY_XRES/SYSPROP_DISPLAY_YRES for SDL.
Also fix couple of warnings.
This commit is contained in:
fp64 2022-08-16 18:22:01 -04:00
parent cf23689219
commit 5b6a14edeb
3 changed files with 11 additions and 2 deletions

View file

@ -388,6 +388,10 @@ int System_GetPropertyInt(SystemProperty prop) {
return KEYBOARD_LAYOUT_QWERTZ;
return KEYBOARD_LAYOUT_QWERTY;
}
case SYSPROP_DISPLAY_XRES:
return g_DesktopWidth;
case SYSPROP_DISPLAY_YRES:
return g_DesktopHeight;
default:
return -1;
}
@ -1240,7 +1244,7 @@ int main(int argc, char *argv[]) {
#endif
glslang::FinalizeProcess();
printf("Leaving main");
printf("Leaving main\n");
#ifdef HAVE_LIBNX
socketExit();
#endif