From 27cf3c99ac9fa7cab032f89459888311017cd8cc Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 26 Sep 2019 13:43:41 +1000 Subject: [PATCH] GTE: Fix incorrect source in MVMVA --- src/pse-sdl/main.cpp | 2 +- src/pse/gte.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pse-sdl/main.cpp b/src/pse-sdl/main.cpp index 0073f46e3..275847068 100644 --- a/src/pse-sdl/main.cpp +++ b/src/pse-sdl/main.cpp @@ -84,7 +84,7 @@ int main(int argc, char* argv[]) // set log flags // g_pLog->SetConsoleOutputParams(true, nullptr, LOGLEVEL_DEBUG); // g_pLog->SetConsoleOutputParams(true, "GPU GPU_HW_OpenGL SPU Pad DigitalController", LOGLEVEL_DEBUG); - g_pLog->SetConsoleOutputParams(true, "CDROM DMA SPU Pad DigitalController", LOGLEVEL_DEBUG); + g_pLog->SetConsoleOutputParams(true, "GPU GPU_HW_OpenGL CDROM DMA SPU Pad DigitalController", LOGLEVEL_DEBUG); #ifdef Y_BUILD_CONFIG_RELEASE g_pLog->SetFilterLevel(LOGLEVEL_INFO); diff --git a/src/pse/gte.cpp b/src/pse/gte.cpp index 216804185..805ea0e2d 100644 --- a/src/pse/gte.cpp +++ b/src/pse/gte.cpp @@ -703,9 +703,9 @@ void Core::Execute_MVMVA(Instruction inst) Vz = m_regs.V2[2]; break; default: - Vx = m_regs.IR0; - Vy = m_regs.IR1; - Vz = m_regs.IR2; + Vx = m_regs.IR1; + Vy = m_regs.IR2; + Vz = m_regs.IR3; break; }