Make use of doesclrscrafterexit().
This commit is contained in:
@@ -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 ();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user