Skip to content

Commit

Permalink
Add the new Hades-Tests dma-latch test rom to the accuracy suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arignir committed Mar 20, 2024
1 parent 911f88a commit 746de18
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/accuracy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
wget -q https://raw.githubusercontent.com/jsmolka/gba-tests/master/save/none.gba -O jsmolka-none.gba
wget -q https://raw.githubusercontent.com/jsmolka/gba-tests/master/save/sram.gba -O jsmolka-sram.gba
wget -q https://raw.githubusercontent.com/Arignir/Hades-Tests/master/roms/dma-start-delay.gba -O hades-dma-start-delay.gba
wget -q https://raw.githubusercontent.com/Arignir/Hades-Tests/master/roms/dma-latch.gba -O hades-dma-latch.gba
wget -q https://raw.githubusercontent.com/Arignir/Hades-Tests/master/roms/openbus-bios.gba -O hades-openbus-bios.gba
wget -q https://raw.githubusercontent.com/Arignir/Hades-Tests/master/roms/timer-basic.gba -O hades-timer-basic.gba
wget -q https://raw.githubusercontent.com/nba-emu/hw-test/master/dma/start-delay/start-delay.gba -O nba-dma-start-delay.gba
Expand Down
Binary file added accuracy/expected/hades_dma_latch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 10 additions & 1 deletion accuracy/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,16 @@
),

# Hades Tests
# https://github.com/Arignir/Hades-Tests
# https://github.com/hades-emu/Hades-Tests
Test(
name="Hades Tests - DMA Latch",
rom='hades-dma-latch.gba',
code='''
frame 20
screenshot ./.tests_screenshots/hades_dma_latch.png
''',
screenshot='hades_dma_latch.png',
),
Test(
name="Hades Tests - DMA Start Delay",
rom='hades-dma-start-delay.gba',
Expand Down

0 comments on commit 746de18

Please sign in to comment.