fixed bug where skip_boot option was not being checkd correctly

This commit is contained in:
Colby 2016-05-26 21:35:29 +10:00
parent a028d378b7
commit 1aa1ccb556

View file

@ -9,7 +9,7 @@ module Waterfoul
# initialize emulated memory management unit
$mmu = MMU.new cartridge
cpu = CPU.new
@cpu = options.has_key?(:skip_boot) ? SkipBoot.set_state(cpu) : cpu
@cpu = options.has_key?('skip_boot') ? SkipBoot.set_state(cpu) : cpu
@gpu = GPU.new
@screen = Screen.new
# @sound = Sound.new