1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-28 01:29:37 +00:00

Add missing docblocks

This commit is contained in:
Peter Evans 2018-02-03 17:46:56 -06:00
parent 10d13f755c
commit c010c10ce2
2 changed files with 12 additions and 0 deletions

View File

@ -83,6 +83,10 @@ apple2_draw_pixel_lores(apple2 *mach, vm_16bit addr)
vm_screen_draw_rect(mach->screen, &loc);
}
/*
* Draw the 40-column text necessary to render everything on the screen
* with the machine in its current state.
*/
void
apple2_draw_40col(apple2 *mach)
{

View File

@ -215,6 +215,10 @@ vm_screen_active(vm_screen *scr)
return true;
}
/*
* Prepare the screen to be drawn and/or rendered. (Currently, this is
* just a RenderClear in SDL.)
*/
void
vm_screen_prepare(vm_screen *scr)
{
@ -283,6 +287,10 @@ vm_screen_last_key(vm_screen *scr)
return scr->last_key;
}
/*
* Return true if the screen is considered dirty (i.e., if the screen
* needs to be redrawn).
*/
bool
vm_screen_dirty(vm_screen *scr)
{