From 17b8a7511b3f11ef0e4a87fe04049520e8b291c6 Mon Sep 17 00:00:00 2001 From: gigaherz Date: Tue, 16 Sep 2008 13:34:39 +0000 Subject: [PATCH] Fix build when using unicode wx. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@538 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/GameListCtrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/Src/GameListCtrl.cpp b/Source/Core/DolphinWX/Src/GameListCtrl.cpp index 8b5d4959e4..fb426aa4f2 100644 --- a/Source/Core/DolphinWX/Src/GameListCtrl.cpp +++ b/Source/Core/DolphinWX/Src/GameListCtrl.cpp @@ -469,9 +469,9 @@ void CGameListCtrl::OnCompressGCM(wxCommandEvent& WXUNUSED (event)) { dialog.SetSize(wxSize(280, 180)); if (iso->IsCompressed()) - DiscIO::DecompressBlobToFile(iso->GetFileName().c_str(), path.c_str(), &CompressCB, &dialog); + DiscIO::DecompressBlobToFile(iso->GetFileName().c_str(), path.char_str(), &CompressCB, &dialog); else - DiscIO::CompressFileToBlob(iso->GetFileName().c_str(), path.c_str(), 0, 16384, &CompressCB, &dialog); + DiscIO::CompressFileToBlob(iso->GetFileName().c_str(), path.char_str(), 0, 16384, &CompressCB, &dialog); } void CGameListCtrl::OnEditPatchFile(wxCommandEvent& WXUNUSED (event))