diff --git a/src/apple2.c b/src/apple2.c index 76cd814..76a5409 100644 --- a/src/apple2.c +++ b/src/apple2.c @@ -436,3 +436,16 @@ apple2_set_display(apple2 *mach, vm_8bit mode) vm_screen_set_logical_coords(mach->screen, width, height); } + +/* + * Tell the screen that it has a change ready to be displayed. This + * function will not immediately redraw the screen, and when the screen + * is redrawn is up to our framerate cycle. + */ +void +apple2_notify_refresh(apple2 *mach) +{ + if (mach && mach->screen) { + mach->screen->dirty = true; + } +} diff --git a/src/apple2.draw.c b/src/apple2.draw.c index c79cb25..9603c39 100644 --- a/src/apple2.draw.c +++ b/src/apple2.draw.c @@ -114,16 +114,3 @@ apple2_draw(apple2 *mach) apple2_draw_40col(mach); } } - -/* - * Tell the screen that it has a change ready to be displayed. This - * function will not immediately redraw the screen, and when the screen - * is redrawn is up to our framerate cycle. - */ -void -apple2_notify_refresh(apple2 *mach) -{ - if (mach && mach->screen) { - mach->screen->dirty = true; - } -}