the CGRam debugger is fixed display correctly the cgram and cgram value getter supports all 512 entries of the ram

This commit is contained in:
Clément Le Bihan
2020-04-05 18:29:06 +02:00
parent be4e7401be
commit 8fa40ad5e0
4 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -536,7 +536,7 @@ namespace ComSquare::PPU
//! @brief Return true if the CPU is overloaded with debugging features.
virtual bool isDebugger();
//! @brief Allow others components to read the CGRAM (Debuggers)
uint16_t cgramRead(uint8_t addr);
uint16_t cgramRead(uint16_t addr);
//! @brief Render a background on the screen
void renderBackground(int bgNumber, std::vector<int> characterSize, int bpp, bool priority);
};