From c835dac465e8f55f7dba5714d77221112475ef71 Mon Sep 17 00:00:00 2001 From: ArthurFerreira2 Date: Tue, 2 Apr 2019 09:52:57 +0200 Subject: [PATCH] Update reinette-II.c --- reinette-II.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reinette-II.c b/reinette-II.c index 4327096..cf38354 100644 --- a/reinette-II.c +++ b/reinette-II.c @@ -24,7 +24,6 @@ */ #include -#include // for usleep() #define ROMSTART 0xD000 #define ROMSIZE 0x3000 // 12KB @@ -552,8 +551,8 @@ int main(int argc, char *argv[]) { instruction[opcode](); // EXECUTE the instruction } - // slow down emulation - so you can hit thoses colored monsters - usleep(160); + // slow down emulation + napms(1); // keyboard controller if ((ch = getch()) != ERR){ @@ -590,3 +589,4 @@ int main(int argc, char *argv[]) { } } } +