summaryrefslogtreecommitdiff
path: root/lib/simulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/simulator.c')
-rw-r--r--lib/simulator.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/simulator.c b/lib/simulator.c
index 61c96d5..4e77c6b 100644
--- a/lib/simulator.c
+++ b/lib/simulator.c
@@ -3,12 +3,7 @@
#include <string.h>
#include <errno.h>
-#ifdef HAVE_CONFIG_H
#include "config.h"
-#else
-#define _(x) x
-#endif
-
#include "alu.h"
#include "simulator.h"
#include "interne.h"
@@ -93,6 +88,10 @@ void Initialisation(void)
EcrireRegistreSP(ADD_SP); /* initialisation du stack pointer */
}
+void Flush(void) {
+ FlushMemoire();
+}
+
void DecodeExec(Uint32 instruction)
{
Uint32 champ_registre_resultat, val1, val2, resultat;
@@ -431,7 +430,7 @@ void Debogueur(void)
}
void Traitement(Uint32 entrypoint)
-{ /* ******************** FIXMI ************************* */
+{
Uint32 instruction;
while (HasToRun) {