[GPU] Fix internal_display_resolution condition
This commit is contained in:
parent
d2921a09eb
commit
6c0f026824
|
@ -30,9 +30,9 @@
|
|||
#include "xenia/ui/window.h"
|
||||
#include "xenia/ui/windowed_app_context.h"
|
||||
|
||||
DEFINE_int32(internal_display_resolution, 8,
|
||||
"Allow game that support different resolutions to be rendered "
|
||||
"in specific resolution.\n"
|
||||
DEFINE_uint32(internal_display_resolution, 8,
|
||||
"Allow games that support different resolutions to render "
|
||||
"in a specific resolution.\n"
|
||||
" 0=640x480\n"
|
||||
" 1=640x576\n"
|
||||
" 2=720x480\n"
|
||||
|
@ -406,7 +406,7 @@ bool GraphicsSystem::Restore(ByteStream* stream) {
|
|||
}
|
||||
|
||||
std::pair<uint16_t, uint16_t> GraphicsSystem::GetInternalDisplayResolution() {
|
||||
if (cvars::internal_display_resolution >
|
||||
if (cvars::internal_display_resolution >=
|
||||
internal_display_resolution_entries.size()) {
|
||||
return internal_display_resolution_entries[8];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue