ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
end_gameloop.c File Reference
#include "../../ugbc.h"

Go to the source code of this file.

Functions

void end_gameloop (Environment *_environment)
 Emit ASM code for END GAMELOOP.

Function Documentation

◆ end_gameloop()

void end_gameloop ( Environment * _environment)

Emit ASM code for END GAMELOOP.

This function is called to emit the code necessary to define the ending point of a game loop.

Precondition
A BEGIN GAMELOOP must be issued before use this function.
Parameters
_environmentCurrent calling environment
Exceptions
EXIT_FAILURE"Cannot call END GAMELOOP without BEGIN GAMELOOP"

Definition at line 67 of file end_gameloop.c.