remove debugging __FILE__ arg to switch_mode

This commit is contained in:
Matthew Berry 2022-04-03 11:46:47 -07:00
parent 515d12aaa2
commit 9ce8710aca

View file

@ -64,7 +64,7 @@ module GBA
clear_pipeline clear_pipeline
end end
def switch_mode(new_mode : Mode, caller = __FILE__) : Nil def switch_mode(new_mode : Mode) : Nil
old_mode = Mode.from_value @cpsr.mode old_mode = Mode.from_value @cpsr.mode
return if new_mode == old_mode return if new_mode == old_mode
new_bank = new_mode.bank new_bank = new_mode.bank