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

@@ -10,7 +10,7 @@
#include <stdio.h>
#include <conio.h>
#include <cc65.h>
#ifndef __CBM__
#include <fcntl.h>
#include <unistd.h>
@@ -130,5 +130,7 @@ void main (void)
foobar ();
}
cgetc ();
if (doesclrscrafterexit ()) {
getchar ();
}
}