port: dummy out hi-res and screen ratio options

This commit is contained in:
fgsfds committed 2023-09-01 09:22:09 +02:00
1 parent 60e2118001
commit 9744b2266f
3 files changed
+10

No files matched your search

+2
View File
@@ -2525,6 +2525,7 @@ struct menuitem g_VideoOptionsMenuItems[] = {
0,
menuhandlerScreenSize,
},
#ifdef PLATFORM_N64
{
MENUITEMTYPE_DROPDOWN,
0,
@@ -2541,6 +2542,7 @@ struct menuitem g_VideoOptionsMenuItems[] = {
0,
menuhandlerHiRes,
},
#endif
#if PAL
{
MENUITEMTYPE_DROPDOWN,
+4
View File
@@ -296,7 +296,11 @@ s32 optionsGetScreenRatio(void)
void optionsSetScreenRatio(s32 ratio)
{
#ifdef PLATFORM_N64
g_ScreenRatio = ratio;
#else
g_ScreenRatio = SCREENRATIO_NORMAL;
#endif
}
u8 optionsGetScreenSplit(void)
+4
View File
@@ -2792,7 +2792,11 @@ void playerResetLoResIf4Mb(void)
void playerSetHiResEnabled(bool enable)
{
#ifdef PLATFORM_N64
g_HiResEnabled = enable;
#else
g_HiResEnabled = false;
#endif
}
s16 playerGetFbWidth(void)