diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-03-12 15:33:41 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-03-14 13:51:23 -0400 |
| commit | a82675b7d581421fa80d5d5c53253cf1d5c1a26d (patch) | |
| tree | 8f1efce1e00c6a7d6044ca3b543d9211a65e8c11 /Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp | |
| parent | dccc6d8b47b1f6fdab5374003492560c20f766b6 (diff) | |
Kill off some usages of c_str.
Also changes some function params, but this is ok.
Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp b/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp index 333438773d..4ab8b93026 100644 --- a/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp +++ b/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp @@ -278,50 +278,50 @@ void GFXDebuggerPanel::OnDumpButton(wxCommandEvent& event) switch (m_pDumpList->GetSelection()) { case 0: // Pixel Shader - DumpPixelShader(dump_path.c_str()); + DumpPixelShader(dump_path); break; case 1: // Vertex Shader - DumpVertexShader(dump_path.c_str()); + DumpVertexShader(dump_path); break; case 2: // Pixel Shader Constants - DumpPixelShaderConstants(dump_path.c_str()); + DumpPixelShaderConstants(dump_path); wxMessageBox(_("Not implemented"), _("Error"), wxOK); break; case 3: // Vertex Shader Constants - DumpVertexShaderConstants(dump_path.c_str()); + DumpVertexShaderConstants(dump_path); wxMessageBox(_("Not implemented"), _("Error"), wxOK); break; case 4: // Textures - DumpTextures(dump_path.c_str()); + DumpTextures(dump_path); wxMessageBox(_("Not implemented"), _("Error"), wxOK); break; case 5: // Frame Buffer - DumpFrameBuffer(dump_path.c_str()); + DumpFrameBuffer(dump_path); wxMessageBox(_("Not implemented"), _("Error"), wxOK); break; case 6: // Geometry - DumpGeometry(dump_path.c_str()); + DumpGeometry(dump_path); wxMessageBox(_("Not implemented"), _("Error"), wxOK); break; case 7: // Vertex Description - DumpVertexDecl(dump_path.c_str()); + DumpVertexDecl(dump_path); wxMessageBox(_("Not implemented"), _("Error"), wxOK); break; case 8: // Vertex Matrices - DumpMatrices(dump_path.c_str()); + DumpMatrices(dump_path); wxMessageBox(_("Not implemented"), _("Error"), wxOK); break; case 9: // Statistics - DumpStats(dump_path.c_str()); + DumpStats(dump_path); wxMessageBox(_("Not implemented"), _("Error"), wxOK); break; } |
