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

fix: small boytacean-sdl refactor issue

APU enabled getter was not being correctly called.
parent 33a4a5e6
No related branches found
No related tags found
1 merge request!23Support for serial data transfer 🔌
Pipeline #2497 failed
...@@ -209,7 +209,7 @@ impl Emulator { ...@@ -209,7 +209,7 @@ impl Emulator {
} }
pub fn toggle_audio(&mut self) { pub fn toggle_audio(&mut self) {
let apu_enabled = self.system.get_apu_enabled(); let apu_enabled = self.system.apu_enabled();
self.system.set_apu_enabled(!apu_enabled); self.system.set_apu_enabled(!apu_enabled);
} }
......
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