From 1857ca47143624ee81acfa61e9cf4ea57bd4b042 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Sat, 17 Oct 2020 00:30:01 +1030 Subject: use getopts for argument parsing --- README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index 33b0471..91bb524 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -CHIP-8 interpreter in C using SDL2 for graphics and sound. +CHIP-8 interpreter in C using SDL2 for graphics. # build ``` @@ -8,8 +8,8 @@ make The binary is in bin/ # running ``` -usage: bin/chip8 [scale] [speed] [romfile] -scale - pixel scaling (~5 recommended) +usage: bin/chip8 [-s video scale] [-f framerate] romfile +scale - pixel scaling (5-10 recommended) speed - how many cycles per second should be run (60-1000 or so, depends on the game) ``` A number of example ROM files are provided in the roms/ directory. -- cgit v1.2.3