Make use of doesclrscrafterexit().

This commit is contained in:
Oliver Schmidt
2016-06-18 23:35:57 +02:00
parent 520641890d
commit 9bc096d9b0
8 changed files with 57 additions and 20 deletions

View File

@@ -11,11 +11,11 @@
#include <string.h>
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <dirent.h>
#include <em.h>
#include <cc65.h>
#ifndef __CBM__
#include <fcntl.h>
#include <unistd.h>
@@ -229,7 +229,7 @@ void main (void)
}
log ("Press any key...");
cgetc ();
getchar ();
if (loadoverlay (1)) {
log ("Calling overlay 1 from main");
@@ -254,6 +254,8 @@ void main (void)
foobar ();
}
log ("Press any key...");
cgetc ();
if (doesclrscrafterexit ()) {
log ("Press any key...");
getchar ();
}
}