From f5491fb5438114e361bed817a99e5a1a61174d89 Mon Sep 17 00:00:00 2001 From: Colby Date: Tue, 19 Jul 2016 00:08:37 +1000 Subject: [PATCH] fix bad spelling of `request_interupt` method in Interrupt --- lib/waterfoul/interrupt.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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