Skip to content

Commit ac3597f

Browse files
authored
Update optcarrot (#472)
Update optcarrot to mame/optcarrot@9c88f5f
1 parent 70fc3a8 commit ac3597f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

benchmarks/optcarrot/lib/optcarrot/driver/sixel_video.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def init
77
super
88
@buff = "".b
99
@line = "".b
10-
@seq_setup = "\e[H\ePq"
10+
@seq_setup = "\e[H\eP7q"
1111
print "\e[2J"
1212

1313
@palette, colors = Driver.quantize_colors(@palette_rgb)

benchmarks/optcarrot/lib/optcarrot/ppu.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ def poke_2007(_addr, data)
471471
@palette_ram[addr ^ 0x10] = data
472472
@output_color[addr ^ 0x10] = final
473473
end
474-
@output_bg_color = @palette_ram[0] & 0x3f
475474
else
476475
addr &= 0x3fff
477476
if addr >= 0x2000
@@ -891,7 +890,7 @@ def run
891890

892891
def dispose
893892
@run = false
894-
raise 'PPU Fiber should have finished' unless @fiber.resume == :done
893+
raise 'PPU Fiber should have finished' unless @fiber.nil? || @fiber.resume == :done
895894
@fiber = nil
896895
end
897896

0 commit comments

Comments
 (0)