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