diff options
Diffstat (limited to 'src/core/hw/lcd.cpp')
| -rw-r--r-- | src/core/hw/lcd.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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 @@ | |||
| 8 | #include "core/hw/hw.h" | 8 | #include "core/hw/hw.h" |
| 9 | #include "core/hw/lcd.h" | 9 | #include "core/hw/lcd.h" |
| 10 | #include "core/tracer/recorder.h" | 10 | #include "core/tracer/recorder.h" |
| 11 | #include "video_core/debug_utils/debug_utils.h" | ||
| 12 | 11 | ||
| 13 | namespace LCD { | 12 | namespace LCD { |
| 14 | 13 | ||
| @@ -40,14 +39,6 @@ inline void Write(u32 addr, const T data) { | |||
| 40 | } | 39 | } |
| 41 | 40 | ||
| 42 | g_regs[index] = static_cast<u32>(data); | 41 | g_regs[index] = static_cast<u32>(data); |
| 43 | |||
| 44 | // Notify tracer about the register write | ||
| 45 | // This is happening *after* handling the write to make sure we properly catch all memory reads. | ||
| 46 | if (Pica::g_debug_context && Pica::g_debug_context->recorder) { | ||
| 47 | // addr + GPU VBase - IO VBase + IO PBase | ||
| 48 | Pica::g_debug_context->recorder->RegisterWritten<T>( | ||
| 49 | addr + HW::VADDR_LCD - 0x1EC00000 + 0x10100000, data); | ||
| 50 | } | ||
| 51 | } | 42 | } |
| 52 | 43 | ||
| 53 | // Explicitly instantiate template functions because we aren't defining this in the header: | 44 | // Explicitly instantiate template functions because we aren't defining this in the header: |