summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgui/GtkGui.c1
-rwxr-xr-xgui/LnxMain.c2
-rwxr-xr-xplugins/dfxvideo/draw.c1
3 files changed, 2 insertions, 2 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
diff --git a/plugins/dfxvideo/draw.c b/plugins/dfxvideo/draw.c
index 2215a699..73d0fef8 100755
--- a/plugins/dfxvideo/draw.c
+++ b/plugins/dfxvideo/draw.c
@@ -1133,7 +1133,6 @@ void CreateDisplay(void)
}
if ((dwActFixes&0x800)) { // Try to use Xv's sync
- printf("Jebac\n");
Atom atom_vsync = xv_intern_atom_if_exists(display, "XV_SYNC_TO_VBLANK");
if (atom_vsync != None) {
XvGetPortAttribute(display, xv_port, atom_vsync, &xv_vsync);