Skip to content
Snippets Groups Projects
Verified Commit a9eb3233 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

feat: local storage for battery RAM

Related to #7
parent 397a4d53
No related branches found
No related tags found
Loading
......@@ -142,6 +142,14 @@ impl GameBoy {
self.mmu().rom().clone()
}
pub fn ram_data_eager(&mut self) -> Vec<u8> {
self.mmu().rom().ram_data_eager()
}
pub fn set_ram_data(&mut self, ram_data: Vec<u8>) {
self.mmu().rom().set_ram_data(ram_data)
}
pub fn registers(&mut self) -> Registers {
let ppu_registers = self.ppu().registers();
Registers {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment