Skip to content

Commit

Permalink
add some small documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
toxieainc committed Jan 11, 2025
1 parent c59bcba commit 65871a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/wpc/by35snd.c
Original file line number Diff line number Diff line change
Expand Up @@ -910,11 +910,11 @@ static WRITE_HANDLER(sd_pia0cb2_w) {
if (!data) {
sdlocals.ledcount++;
logerror("SD LED: %d\n", sdlocals.ledcount);
if (core_gameData->hw.gameSpecific1) { // hack for Blackwater 100 (main CPU boots up too fast)
if (core_gameData->hw.gameSpecific1 & 1) { // hack for Blackwater 100 (main CPU boots up too fast)
if (sdlocals.ledcount == 5) // suspend main cpu, soundboard not ready yet
cpu_set_halt_line(0, 1);
else if (core_gameData->hw.gameSpecific1 && sdlocals.ledcount == 6) // resume main cpu, soundboard ready
cpu_set_halt_line(0, 0);
else if (sdlocals.ledcount == 6) // resume main cpu, soundboard ready
cpu_set_halt_line(0, 0);
}
}
sndbrd_ctrl_cb(sdlocals.brdData.boardNo,data);
Expand Down
2 changes: 1 addition & 1 deletion src/wpc/by6803games.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ CORE_CLONEDEFNV(esclwrlg,esclwrld,"Escape from the Lost World (German)",1987,"Ba
/*------------------------------------
/ Blackwater 100 (6803-0H07: 03/88)
/------------------------------------*/
static core_tGameData black100GameData = {GEN_BY6803A,dispBy104,{FLIP6803,0,4,0,SNDBRD_BYSD, BY6803_DISPALPHA, 1}};
static core_tGameData black100GameData = {GEN_BY6803A,dispBy104,{FLIP6803,0,4,0,SNDBRD_BYSD, BY6803_DISPALPHA, 1}}; // set gameSpecific1 to 1 (see hack in by35snd, WRITE_HANDLER(sd_pia0cb2_w))
static void init_black100(void) { core_gameData = &black100GameData; }
BY6803_ROMSTART44(black100, "u2.cpu", CRC(411fa773) SHA1(9756c7eee0f78792823a0b0379d2baac28cb03e8),
"u3.cpu", CRC(d6f6f890) SHA1(8fe4dae471f4c89f2fd72c6e647ead5206881c63))
Expand Down

0 comments on commit 65871a3

Please sign in to comment.