From 2e4026e86db7606956ea61fdc804efc1a9148719 Mon Sep 17 00:00:00 2001 From: p989 Date: Sun, 3 May 2009 16:26:39 +0000 Subject: [PATCH] sram clearing fix --- desmume/src/mc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/mc.cpp b/desmume/src/mc.cpp index 69af93a48..54a8683e5 100644 --- a/desmume/src/mc.cpp +++ b/desmume/src/mc.cpp @@ -213,7 +213,7 @@ void mc_load_file(memory_chip_t *mc, const char* filename) if(movieMode != MOVIEMODE_INACTIVE) { mc->filename = strdup(filename); - return; + file = fopen(filename, "wb+"); } else file = fopen(filename, "rb+");