Commit fd749e1d authored by orbea's avatar orbea
Browse files

Init flashWriter to NULL.

This fixes a segfault when loaded without content.
parent 78d09078
......@@ -96,7 +96,7 @@ private:
byte *FAT;
byte *rootBlock;
byte *data;
FILE *flashWriter;
FILE *flashWriter = NULL;
char *romName;
bool IsRealFlash;
bool IsSaveEnabled;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment