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

feat: add method to add cheat code with workaround

parent e11c9399
No related branches found
No related tags found
No related merge requests found
Pipeline #5585 failed
...@@ -1544,6 +1544,10 @@ impl GameBoy { ...@@ -1544,6 +1544,10 @@ impl GameBoy {
self.attach_serial(printer); self.attach_serial(printer);
} }
pub fn add_cheat_code_wa(&mut self, code: &str) -> Result<bool, String> {
self.add_cheat_code(code)
}
/// Updates the emulation mode using the cartridge info /// Updates the emulation mode using the cartridge info
/// for the provided data to obtain the CGB flag value /// for the provided data to obtain the CGB flag value
/// and set the mode accordingly. /// and set the mode accordingly.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment