From a35ab0d0232a8fc54f12ed618c9a0f94fd1a9c6d Mon Sep 17 00:00:00 2001 From: GriffinR Date: Mon, 29 Jun 2020 15:28:59 -0400 Subject: [PATCH] Fix segfault in gbagfx --- tools/gbagfx/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/gbagfx/main.c b/tools/gbagfx/main.c index 61e93ea457..cf30316961 100644 --- a/tools/gbagfx/main.c +++ b/tools/gbagfx/main.c @@ -92,6 +92,7 @@ void HandleGbaToPngCommand(char *inputPath, char *outputPath, int argc, char **a options.width = 1; options.metatileWidth = 1; options.metatileHeight = 1; + options.tilemapFilePath = NULL; options.isAffineMap = false; for (int i = 3; i < argc; i++)