From 58190f0c9be6206d770d6cdef521fa93bd782e52 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Wed, 7 Mar 2018 17:08:16 -0600 Subject: [PATCH] Move notify_refresh into the proper file --- src/apple2.c | 13 +++++++++++++ src/apple2.draw.c | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) 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; - } -}