diff options
author | Oxore <oxore@protonmail.com> | 2023-06-10 15:24:30 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-06-10 15:24:30 +0300 |
commit | 2da31a5111e1e7aa942c4260f5b7a08673e10845 (patch) | |
tree | 5f024d88f71f24ce85b363605bdafb23ac974acd /vdp.hpp | |
parent | fccfe0e0b4848fa38403b515d77b6aba37570e54 (diff) |
Fix VDP DMA Memory to VRAM source address
Diffstat (limited to 'vdp.hpp')
-rw-r--r-- | vdp.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7,6 +7,7 @@ #include <cstddef> #include <cstring> +#include <cstdio> struct SpriteAttributeEntry { uint16_t vpos; @@ -102,6 +103,7 @@ private: uint16_t readStatusRegister() const; uint8_t* baseFromAddressMode(uint8_t address_mode); const char* addressModeToString(uint8_t address_mode); + void traceRegWrite(FILE* const s, const uint8_t reg, const uint8_t val) const; static void runDMAMemoryToVRAM( uint8_t* base, |