From f8365215c44ed4e0173d98962e5f4705845b0cc4 Mon Sep 17 00:00:00 2001 From: "gregory.hainaut" Date: Tue, 29 Jun 2010 16:05:54 +0000 Subject: [PATCH] [pcsx2 gui]: For first time wizard panel, use PathDefs::GetDocuments instead of wx GetDocumentsDir (more accurate). [zzogl]: fix a bad path for snapshot. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3344 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/gui/Panels/MiscPanelStuff.cpp | 2 +- plugins/zzogl-pg/opengl/GSmain.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/gui/Panels/MiscPanelStuff.cpp b/pcsx2/gui/Panels/MiscPanelStuff.cpp index 405671bf8a..5bd7e717d3 100644 --- a/pcsx2/gui/Panels/MiscPanelStuff.cpp +++ b/pcsx2/gui/Panels/MiscPanelStuff.cpp @@ -48,7 +48,7 @@ Panels::DocsFolderPickerPanel::DocsFolderPickerPanel( wxWindow* parent, bool isF { RadioPanelItem( _("User Documents (recommended)"), - _("Location: ") + wxStandardPaths::Get().GetDocumentsDir() + _("Location: ") + PathDefs::GetDocuments(DocsFolder_User).GetFilename().GetFullPath() ), RadioPanelItem( diff --git a/plugins/zzogl-pg/opengl/GSmain.cpp b/plugins/zzogl-pg/opengl/GSmain.cpp index be49b60dfd..84bfcb6e36 100644 --- a/plugins/zzogl-pg/opengl/GSmain.cpp +++ b/plugins/zzogl-pg/opengl/GSmain.cpp @@ -1005,7 +1005,7 @@ void CALLBACK GSmakeSnapshot(char *path) { snapshotnr++; - sprintf(filename, "%ssnap%03ld.%s", path, snapshotnr, (conf.zz_options.tga_snap) ? "bmp" : "jpg"); + sprintf(filename, "%s/snap%03ld.%s", path, snapshotnr, (conf.zz_options.tga_snap) ? "bmp" : "jpg"); bmpfile = fopen(filename, "rb");