diff --git a/plugins/GSdx/GSRenderer.cpp b/plugins/GSdx/GSRenderer.cpp index f3f07aaf67..7cb3f9c61e 100644 --- a/plugins/GSdx/GSRenderer.cpp +++ b/plugins/GSdx/GSRenderer.cpp @@ -69,7 +69,7 @@ GSRenderer::~GSRenderer() bool GSRenderer::CreateWnd(const string& title, int w, int h) { - return m_wnd->Create(title.c_str(), w, h); + return m_wnd->Create(title, w, h); } bool GSRenderer::CreateDevice(GSDevice* dev) diff --git a/plugins/GSdx/GSTextureCacheSW.cpp b/plugins/GSdx/GSTextureCacheSW.cpp index b9ecd45119..54811b3c0c 100644 --- a/plugins/GSdx/GSTextureCacheSW.cpp +++ b/plugins/GSdx/GSTextureCacheSW.cpp @@ -370,7 +370,7 @@ bool GSTextureCacheSW::Texture::Save(const string& fn, bool dds) const t.Unmap(); - return t.Save(fn.c_str()); + return t.Save(fn); } return false;