remove unused variables

This commit is contained in:
Matthew Berry 2022-10-28 16:46:39 -07:00
parent 30f6597676
commit eafe5455f6
2 changed files with 1 additions and 2 deletions

View file

@ -28,7 +28,7 @@ mooneye_dir = ""
OptionParser.parse do |parser| OptionParser.parse do |parser|
parser.on("--acid PATH", "Path to directory with acid tests") { |path| acid_dir = path } parser.on("--acid PATH", "Path to directory with acid tests") { |path| acid_dir = path }
parser.on("--blargg PATH", "Path to directory with blargg tests") { |path| blargg = path } parser.on("--blargg PATH", "Path to directory with blargg tests") { |path| blargg_dir = path }
parser.on("--mealybug PATH", "Path to directory with mealybug tests") { |path| mealybug_dir = path } parser.on("--mealybug PATH", "Path to directory with mealybug tests") { |path| mealybug_dir = path }
parser.on("--mooneye PATH", "Path to directory with mooneye tests") { |path| mooneye_dir = path } parser.on("--mooneye PATH", "Path to directory with mooneye tests") { |path| mooneye_dir = path }
parser.invalid_option { abort parser } parser.invalid_option { abort parser }

View file

@ -21,7 +21,6 @@ module Crab
rom = nil rom = nil
bios = nil bios = nil
headless = false
OptionParser.parse do |parser| OptionParser.parse do |parser|
parser.banner = "#{"crab".colorize.bold} - An accurate and readable Game Boy (Color) (Advance) emulator" parser.banner = "#{"crab".colorize.bold} - An accurate and readable Game Boy (Color) (Advance) emulator"