mirror of
https://github.com/mattrberry/crab.git
synced 2025-02-04 08:46:04 +01:00
remove debugging __FILE__ arg to switch_mode
This commit is contained in:
parent
515d12aaa2
commit
9ce8710aca
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ module GBA
|
|||
clear_pipeline
|
||||
end
|
||||
|
||||
def switch_mode(new_mode : Mode, caller = __FILE__) : Nil
|
||||
def switch_mode(new_mode : Mode) : Nil
|
||||
old_mode = Mode.from_value @cpsr.mode
|
||||
return if new_mode == old_mode
|
||||
new_bank = new_mode.bank
|
||||
|
|
Loading…
Add table
Reference in a new issue