summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rwxr-xr-xgui/GtkGui.c1
-rwxr-xr-xgui/LnxMain.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/gui/GtkGui.c b/gui/GtkGui.c
index 946a34a9..2a3c7069 100755
--- a/gui/GtkGui.c
+++ b/gui/GtkGui.c
@@ -586,6 +586,7 @@ void OnFile_RunExe() {
SysReset();
if (Load(file) == 0) {
+ g_free(reset_load_info);
reset_load_info = g_strdup(file);
g_free(file);
psxCpu->Execute();
diff --git a/gui/LnxMain.c b/gui/LnxMain.c
index 023785e6..14c295cd 100755
--- a/gui/LnxMain.c
+++ b/gui/LnxMain.c
@@ -476,7 +476,7 @@ int SysInit() {
setvbuf(emuLog, NULL, _IONBF, 0u);
}
#else
- setvbuf(emuLog, NULL, _IONBF, NULL);
+ setvbuf(emuLog, NULL, _IONBF, 0u);
#endif
#endif