From 389979018cce654b1ade0161abfc627832afe592 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Thu, 11 Jan 2018 20:33:56 -0700 Subject: Remove gpu debugger and get yuzu qt to compile --- src/core/hw/hw.cpp | 7 ------- src/core/hw/lcd.cpp | 9 --------- 2 files changed, 16 deletions(-) (limited to 'src/core/hw') diff --git a/src/core/hw/hw.cpp b/src/core/hw/hw.cpp index 8499f2ce6..a751b1d62 100644 --- a/src/core/hw/hw.cpp +++ b/src/core/hw/hw.cpp @@ -4,8 +4,6 @@ #include "common/common_types.h" #include "common/logging/log.h" -#include "core/hw/aes/key.h" -#include "core/hw/gpu.h" #include "core/hw/hw.h" #include "core/hw/lcd.h" @@ -30,7 +28,6 @@ inline void Read(T& var, const u32 addr) { case VADDR_GPU + 0xD000: case VADDR_GPU + 0xE000: case VADDR_GPU + 0xF000: - GPU::Read(var, addr); break; case VADDR_LCD: LCD::Read(var, addr); @@ -59,7 +56,6 @@ inline void Write(u32 addr, const T data) { case VADDR_GPU + 0xD000: case VADDR_GPU + 0xE000: case VADDR_GPU + 0xF000: - GPU::Write(addr, data); break; case VADDR_LCD: LCD::Write(addr, data); @@ -86,15 +82,12 @@ void Update() {} /// Initialize hardware void Init() { - AES::InitKeys(); - GPU::Init(); LCD::Init(); LOG_DEBUG(HW, "initialized OK"); } /// Shutdown hardware void Shutdown() { - GPU::Shutdown(); LCD::Shutdown(); LOG_DEBUG(HW, "shutdown OK"); } diff --git a/src/core/hw/lcd.cpp b/src/core/hw/lcd.cpp index 2aa89de18..763ac1c4d 100644 --- a/src/core/hw/lcd.cpp +++ b/src/core/hw/lcd.cpp @@ -8,7 +8,6 @@ #include "core/hw/hw.h" #include "core/hw/lcd.h" #include "core/tracer/recorder.h" -#include "video_core/debug_utils/debug_utils.h" namespace LCD { @@ -40,14 +39,6 @@ inline void Write(u32 addr, const T data) { } g_regs[index] = static_cast(data); - - // Notify tracer about the register write - // This is happening *after* handling the write to make sure we properly catch all memory reads. - if (Pica::g_debug_context && Pica::g_debug_context->recorder) { - // addr + GPU VBase - IO VBase + IO PBase - Pica::g_debug_context->recorder->RegisterWritten( - addr + HW::VADDR_LCD - 0x1EC00000 + 0x10100000, data); - } } // Explicitly instantiate template functions because we aren't defining this in the header: -- cgit v1.2.3