diff options
author | James Rowe <jroweboy@gmail.com> | 2018-01-12 04:33:56 +0100 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2018-01-13 03:11:04 +0100 |
commit | 389979018cce654b1ade0161abfc627832afe592 (patch) | |
tree | 90536049d982e4f5ee1df984b1d9da52db704e95 /src/core/hw | |
parent | Remove references to PICA and rasterizers in video_core (diff) | |
download | yuzu-389979018cce654b1ade0161abfc627832afe592.tar yuzu-389979018cce654b1ade0161abfc627832afe592.tar.gz yuzu-389979018cce654b1ade0161abfc627832afe592.tar.bz2 yuzu-389979018cce654b1ade0161abfc627832afe592.tar.lz yuzu-389979018cce654b1ade0161abfc627832afe592.tar.xz yuzu-389979018cce654b1ade0161abfc627832afe592.tar.zst yuzu-389979018cce654b1ade0161abfc627832afe592.zip |
Diffstat (limited to 'src/core/hw')
-rw-r--r-- | src/core/hw/hw.cpp | 7 | ||||
-rw-r--r-- | src/core/hw/lcd.cpp | 9 |
2 files changed, 0 insertions, 16 deletions
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<u32>(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<T>( - addr + HW::VADDR_LCD - 0x1EC00000 + 0x10100000, data); - } } // Explicitly instantiate template functions because we aren't defining this in the header: |