[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
This commit is contained in:
gregory.hainaut 2010-06-29 16:05:54 +00:00
parent fc7fdb5399
commit f8365215c4
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ Panels::DocsFolderPickerPanel::DocsFolderPickerPanel( wxWindow* parent, bool isF
{ {
RadioPanelItem( RadioPanelItem(
_("User Documents (recommended)"), _("User Documents (recommended)"),
_("Location: ") + wxStandardPaths::Get().GetDocumentsDir() _("Location: ") + PathDefs::GetDocuments(DocsFolder_User).GetFilename().GetFullPath()
), ),
RadioPanelItem( RadioPanelItem(

View File

@ -1005,7 +1005,7 @@ void CALLBACK GSmakeSnapshot(char *path)
{ {
snapshotnr++; 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"); bmpfile = fopen(filename, "rb");