diff --git a/sources/PPU/PPU.cpp b/sources/PPU/PPU.cpp index c8791bd..8e788c8 100644 --- a/sources/PPU/PPU.cpp +++ b/sources/PPU/PPU.cpp @@ -62,9 +62,13 @@ namespace ComSquare::PPU case 0x0C: this->bg34nba.raw = data; break; - //TODO adding the rest of the registers. ooof ! + //TODO adding the rest of the registers. oaf ! default: throw InvalidAddress("PPU Internal Registers write", addr); } } + + void PPU::update(int cycles) { + + } } \ No newline at end of file diff --git a/sources/PPU/PPU.hpp b/sources/PPU/PPU.hpp index 7b7f24c..190feaf 100644 --- a/sources/PPU/PPU.hpp +++ b/sources/PPU/PPU.hpp @@ -390,6 +390,9 @@ namespace ComSquare::PPU //! @param data The new data to write. //! @throw This function should thrown an InvalidAddress for address that are not mapped to the component. void write(uint24_t addr, uint8_t data) override; + //! @brief Update the PPU of n cycles. + //! @param The number of cycles to update. + void update(int cycles); }; } #endif //COMSQUARE_PPU_HPP