ppu modified

This commit is contained in:
Clément Le Bihan
2020-01-29 18:58:42 +01:00
parent 589252b34e
commit f9de489f1f
2 changed files with 8 additions and 1 deletions
+5 -1
View File
@@ -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) {
}
}
+3
View File
@@ -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