From ce31de47cb4ee5e0a461edea4499cab43d42e87b Mon Sep 17 00:00:00 2001 From: connor rigby Date: Mon, 22 Jan 2018 12:25:27 -0800 Subject: [PATCH] Fix loading game from command line. --- SDL/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDL/main.c b/SDL/main.c index b819c9d4..4387b2d5 100755 --- a/SDL/main.c +++ b/SDL/main.c @@ -406,7 +406,7 @@ int main(int argc, char **argv) } if (argc == 2) { - filename = argv[2]; + filename = argv[1]; } signal(SIGINT, debugger_interrupt);