Skip to content

Commit

Permalink
Add Z80::MINIMUM_CYCLES_PER_STEP.
Browse files Browse the repository at this point in the history
  • Loading branch information
redcode committed Jan 5, 2024
1 parent 92689a9 commit 34a375e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/z80/z80.c
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,7 @@ void Init_z80(void)

rb_define_const(klass, "MAXIMUM_CYCLES", ULL2NUM(Z80_MAXIMUM_CYCLES ));
rb_define_const(klass, "MAXIMUM_CYCLES_PER_STEP", UINT2NUM(Z80_MAXIMUM_CYCLES_PER_STEP));
rb_define_const(klass, "MINIMUM_CYCLES_PER_STEP", UINT2NUM(Z80_MINIMUM_CYCLES_PER_STEP));
rb_define_const(klass, "HOOK", UINT2NUM(Z80_HOOK ));

rb_define_const(klass, "SF", UINT2NUM(Z80_SF));
Expand Down

0 comments on commit 34a375e

Please sign in to comment.