From 6eb9c3c9e548138908cd3a4f8da755766daf2912 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Wed, 7 Jan 2015 21:51:03 -0800 Subject: [PATCH] Trying to find real register values. --- src/xenia/gpu/gl4/gl4_graphics_system.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/xenia/gpu/gl4/gl4_graphics_system.cc b/src/xenia/gpu/gl4/gl4_graphics_system.cc index dde643ce3..a92339bd6 100644 --- a/src/xenia/gpu/gl4/gl4_graphics_system.cc +++ b/src/xenia/gpu/gl4/gl4_graphics_system.cc @@ -152,12 +152,16 @@ uint64_t GL4GraphicsSystem::ReadRegister(uint64_t addr) { } switch (r) { - case 0x6530: // ???? - return 1; + case 0x3C00: // ? + return 0x08100748; + case 0x3C04: // ? + return 0x0000200E; + case 0x6530: // Scanline? + return 0x000002D0; case 0x6544: // ? vblank pending? return 1; - case 0x6584: // ???? - return 1; + case 0x6584: // Screen res - 1280x720 + return 0x050002D0; } assert_true(r >= 0 && r < RegisterFile::kRegisterCount);