forked from Ports/perfect_dark
port: dummy out hi-res and screen ratio options
This commit is contained in:
1 parent
60e2118001
commit
9744b2266f
3 files changed
+10
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user