mirror of
https://github.com/pevans/erc-c.git
synced 2024-11-23 23:32:45 +00:00
Move notify_refresh into the proper file
This commit is contained in:
parent
0edfcaf370
commit
58190f0c9b
13
src/apple2.c
13
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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user