aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-06-01 22:36:51 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-06-01 22:36:51 +0100
commite5ba9cb62c62a4a9cb9012dfd45870bc5b988def (patch)
tree403f8fec75c23480be95dd34d27a28bcfc5c8ec1 /src/main.c
parent64c046ab4b00ffeab223364b70b75588bac31978 (diff)
downloadgold-mine-run-e5ba9cb62c62a4a9cb9012dfd45870bc5b988def.tar.gz
gold-mine-run-e5ba9cb62c62a4a9cb9012dfd45870bc5b988def.zip
Add function to wait for VGA's vsync
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index a8a6b77..2b01d3f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -24,6 +24,7 @@ int main(int argc, char *argv[])
for (int i = 0; i < 16; i++)
{
+ wait_vsync();
memset(screen, i, 320 * 200);
getch();
}