diff options
-rw-r--r-- | .compile | 6 | ||||
-rw-r--r-- | roms/test_opcode.ch8 | bin | 0 -> 478 bytes | |||
-rw-r--r-- | src/main.cpp | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/.compile b/.compile new file mode 100644 index 0000000..5889e31 --- /dev/null +++ b/.compile @@ -0,0 +1,6 @@ +#!/bin/sh +set -xe + +cd build +make -j4 +./chip8emu 10 2 ../roms/test_opcode.ch8 diff --git a/roms/test_opcode.ch8 b/roms/test_opcode.ch8 Binary files differnew file mode 100644 index 0000000..f540f69 --- /dev/null +++ b/roms/test_opcode.ch8 diff --git a/src/main.cpp b/src/main.cpp index 4b478aa..1eb5c30 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -43,5 +43,7 @@ int main(int argc, char** argv) { platform.Update(chip8->video, videoScale); } + timerThread.detach(); + return 0; } |