chore: bump delay
| 1 files changed, 3 insertions(+), 4 deletions(-) | |||
|---|---|---|---|
| M | main.c | +3 | -4 | 
 1@@ -572,9 +572,8 @@ int main(int argc, char* argv[])
 2 
 3         if (draw_flag == 1) {
 4             chip8_draw(gfx);
 5-            // Delay to slow down the clock
 6-            /*             usleep(45000); */
 7-            sleep(1);
 8+            	// Delay to slow down the clock
 9+        	usleep(45000);
10         }
11         while (SDL_PollEvent(&event) != 0) {
12             switch (event.type) {
13@@ -594,4 +593,4 @@ int main(int argc, char* argv[])
14             }
15         }
16     }
17-}
18+}