Skip to content

Commit c381208

Browse files
JoeMattclaude
andcommitted
Fix rebase conflicts, add private test ROM directory
- Remove undeclared cdBuf2/cdBuf3 from CDROMStateSave/Load - Add test/roms/private/ for commercial ROMs (gitignored) Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent ea50e07 commit c381208

4 files changed

Lines changed: 22 additions & 4 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@
99
.build
1010
/.claude
1111
test/test_blitter_simd
12+
test/roms/private/*
13+
!test/roms/private/.gitkeep
14+
!test/roms/private/README.md

src/cdrom.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,8 +1142,6 @@ size_t CDROMStateSave(uint8_t *buf)
11421142
STATE_SAVE_VAR(buf, txData);
11431143
STATE_SAVE_VAR(buf, rxDataBit);
11441144
STATE_SAVE_VAR(buf, firstTime);
1145-
STATE_SAVE_BUF(buf, cdBuf2, sizeof(cdBuf2));
1146-
STATE_SAVE_BUF(buf, cdBuf3, sizeof(cdBuf3));
11471145

11481146
return (size_t)(buf - start);
11491147
}
@@ -1173,8 +1171,6 @@ size_t CDROMStateLoad(const uint8_t *buf)
11731171
STATE_LOAD_VAR(buf, txData);
11741172
STATE_LOAD_VAR(buf, rxDataBit);
11751173
STATE_LOAD_VAR(buf, firstTime);
1176-
STATE_LOAD_BUF(buf, cdBuf2, sizeof(cdBuf2));
1177-
STATE_LOAD_BUF(buf, cdBuf3, sizeof(cdBuf3));
11781174

11791175
return (size_t)(buf - start);
11801176
}

test/roms/private/.gitkeep

Whitespace-only changes.

test/roms/private/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Private Test ROMs
2+
3+
This directory is for commercial ROM files used in local testing.
4+
Files here are git-ignored and must NOT be committed.
5+
6+
## Expected files
7+
8+
Place any of the following for game-specific testing:
9+
10+
### Cartridge ROMs (.j64)
11+
- `doom.j64` — Doom (resolution hack testing, #85-related)
12+
- `avp.j64` — Alien vs Predator (map rendering, issue #85)
13+
- `cybermorph.j64` — Cybermorph (DSP voice test, issue #27)
14+
- `tempest2000.j64` — Tempest 2000 (performance testing)
15+
- `ironsoldier.j64` — Iron Soldier (black screen, issue #86)
16+
17+
### CD images (.cue/.bin or .chd)
18+
- `bcd/` — Blue Lightning CD
19+
- Any Jaguar CD game in CUE/BIN or CHD format

0 commit comments

Comments
 (0)