summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 0d5e381..0b7eb83 100644
--- a/main.c
+++ b/main.c
@@ -63,7 +63,7 @@ extern uint16_t stack[STACK_SIZE];
void
usage(char *program)
{
- printf("usage: %s [speed] [scale] [romfile]\nspeed - how many cycles per second should be run (60-1000 or so, depends on the game)\nscale - pixel scaling (~5 recommended)", program);
+ printf("usage: %s [scale] [speed] [romfile]\nscale - pixel scaling (~5 recommended)\nspeed - how many cycles per second should be run (60-1000 or so, depends on the game)\n", program);
}
void
@@ -224,7 +224,7 @@ int main(int argc, char *argv[])
init_video();
const int fps = atoi(argv[2]);
- const int frame_delay = 1000/fps;
+ const uint32_t frame_delay = 1000/fps;
uint32_t frame_start;
uint32_t frame_time;