summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-01-21 12:55:55 +0000
committerSND\ckain_cp <SND\ckain_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-01-21 12:55:55 +0000
commit47b0777b946e413500bc0420d91298aa4e8f8301 (patch)
tree6bc256e78ed18a1f455ddf6dc38c94099f92397d
parentfd5421e7c297666a3df6165dc421bd72f5c7f68b (diff)
downloadpcsxr-47b0777b946e413500bc0420d91298aa4e8f8301.tar.gz
GTK: memleak fix and no warn about incompatible parameter.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@88392 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-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);