fix bad spelling of request_interupt method in Interrupt

This commit is contained in:
Colby 2016-07-19 00:08:37 +10:00
parent b420384227
commit f5491fb543

View file

@ -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