Increase NotifyObservers data arg to uint16_t from uint8_t

This commit is contained in:
scawful
2024-04-19 17:55:52 -04:00
parent c906da46a0
commit a825ac36b2
7 changed files with 23 additions and 42 deletions

View File

@@ -289,7 +289,7 @@ class Ppu : public Observer, public SharedRom {
// Renders a scanline of the screen
void RenderScanline();
void Notify(uint32_t address, uint8_t data) override;
void Notify(uint32_t address, uint16_t data) override;
// Returns the pixel data for the current frame
const std::vector<uint8_t>& GetFrameBuffer() const { return frame_buffer_; }