diff options
author | Pixel <> | 2001-04-16 20:40:13 +0000 |
---|---|---|
committer | Pixel <> | 2001-04-16 20:40:13 +0000 |
commit | 85155ff54ba94f8ac40e267f83435284e88b866c (patch) | |
tree | 26e8ba119f6e5af7cbdf40cf8382becbc1affefd /lib/memoire.c | |
parent | 4b6921b966481ff28c919ca0e0fb345e601a9a74 (diff) |
Prout
Diffstat (limited to 'lib/memoire.c')
-rw-r--r-- | lib/memoire.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/memoire.c b/lib/memoire.c index ee99983..48daf0e 100644 --- a/lib/memoire.c +++ b/lib/memoire.c @@ -2,6 +2,7 @@ #include "interne.h" #include "simulator.h" #include "exceptions.h" +#include "terminal.h" #ifdef HAVE_CONFIG_H #include "config.h" #else @@ -10,6 +11,8 @@ char temp[BUFSIZ]; +Uint32 * memoire_principale; + /*****************************************/ /** **/ @@ -28,7 +31,9 @@ Uint32 LD(Uint32 offset) case 0xffffff01: return (fgetc(stdin)); case 0xffffff05: - fscanf(stdin, "%i", &i); + clearterm(); + fscanf(input, "%i", &i); + initterm(); return i; default: if (offset >= TAILLE_MEMOIRE) { |