Skip to content

Commit

Permalink
[Python] Fix on_output().
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarev committed Jul 19, 2024
1 parent 9577ae8 commit 99ef518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion z80/_z80module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class machine : public B {
}

void on_output(fast_u16 addr, fast_u8 value) {
if(!on_input_callback)
if(!on_output_callback)
return;

PyObject *args = Py_BuildValue("(i, i)", addr, value);
Expand Down

0 comments on commit 99ef518

Please sign in to comment.