diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-03 20:07:27 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-03 20:28:50 -0400 |
| commit | a66a7e1344bac0522dab868104be39923c1608bc (patch) | |
| tree | 73f77b4597289f4dc663f332bc368db78e231c35 /Source/Core/VideoBackends/Software/SWmain.cpp | |
| parent | 35654513c1ba0eb9ccd39b1e49254b8d2786e184 (diff) | |
Isolate D3D and Software Renderer from wxWidgets code
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWmain.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index 7a0e88011f..415fa0547b 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -33,10 +33,6 @@ #include "VideoBackends/Software/VideoBackend.h" #include "VideoBackends/Software/XFMemLoader.h" -#if defined(HAVE_WX) && HAVE_WX -#include "VideoBackends/Software/VideoConfigDialog.h" -#endif // HAVE_WX - #include "VideoCommon/Fifo.h" #include "VideoCommon/OnScreenDisplay.h" #include "VideoCommon/PixelEngine.h" @@ -62,12 +58,17 @@ static std::mutex m_csSWVidOccupied; std::string VideoSoftware::GetName() const { - return _trans("Software Renderer"); + return "Software Renderer"; +} + +std::string VideoSoftware::GetDisplayName() const +{ + return "Software Renderer"; } -void VideoSoftware::ShowConfig(void *_hParent) +void VideoSoftware::ShowConfig(void *hParent) { - Host_ShowVideoConfig(_hParent, "Software", "gfx_software"); + Host_ShowVideoConfig(hParent, GetDisplayName(), "gfx_software"); } bool VideoSoftware::Initialize(void *&window_handle) |
