diff --git a/lib/waterfoul/interrupt.rb b/lib/waterfoul/interrupt.rb index cb77be8..6df2e88 100644 --- a/lib/waterfoul/interrupt.rb +++ b/lib/waterfoul/interrupt.rb @@ -12,7 +12,7 @@ module Waterfoul INTERRUPT_SERIAL = 0x8 INTERRUPT_JOYPAD = 0x10 - def self.request_interupt(interrupt) + def self.request_interrupt(interrupt) if_reg = $mmu.read_byte IF_REG_MEM_LOC $mmu.write_byte IF_REG_MEM_LOC, (if_reg | interrupt) end