Skip to content

Commit

Permalink
z80, tape cb sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkc64 committed Jan 8, 2025
1 parent e1d88e4 commit 8426a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpu/z80/z80.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3986,7 +3986,7 @@ void Z80InitContention(int is_on_type, void (*rastercallback)(int))

void z80_set_spectrum_tape_callback(int (*tape_cb)())
{
Z80.spectrum_mode = 1;
Z80.spectrum_mode = (tape_cb != NULL) ? 1 : 0;
Z80.spectrum_tape_cb = tape_cb;
}

Expand Down

0 comments on commit 8426a89

Please sign in to comment.