Add docblocks

This commit is contained in:
Peter Evans 2018-04-07 19:54:05 -05:00
parent 6e77e99813
commit ee2c9746c6
1 changed files with 7 additions and 0 deletions

View File

@ -20,12 +20,19 @@ apple2_event_init()
vm_di_set(VM_DEBUG_FUNC, apple2_event_debug);
}
/*
* Pause the running state of the apple2 machine
*/
EVENT_DO(apple2_event_pause)
{
apple2 *mach = (apple2 *)_mach;
mach->paused = !mach->paused;
}
/*
* Enter into a debugging state. This also implies a pause in execution
* (which can be resumed in the debugger).
*/
EVENT_DO(apple2_event_debug)
{
apple2 *mach = (apple2 *)_mach;