summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-08-21 14:14:54 -0400
committerLioncash <mathew1800@gmail.com>2014-08-21 14:14:54 -0400
commitf17dcd201906c33074d5979390768ed74eb9709f (patch)
treeab06743826b4f8a6c7e90ad32edc7b75a6410a6e /Source/Core/VideoBackends/Software
parentcf82972961baa120675fa038b82cf99c8404ab1b (diff)
parent6dbafa92389f52c6bd0140b4525b563fe74af0f2 (diff)
Merge pull request #764 from magcius/new-nogui-2
Rewrite GLInterface
Diffstat (limited to 'Source/Core/VideoBackends/Software')
-rw-r--r--Source/Core/VideoBackends/Software/SWmain.cpp8
-rw-r--r--Source/Core/VideoBackends/Software/VideoBackend.h3
2 files changed, 2 insertions, 9 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp
index 4892daeeee..7cbc278029 100644
--- a/Source/Core/VideoBackends/Software/SWmain.cpp
+++ b/Source/Core/VideoBackends/Software/SWmain.cpp
@@ -71,7 +71,7 @@ void VideoSoftware::ShowConfig(void *hParent)
Host_ShowVideoConfig(hParent, GetDisplayName(), "gfx_software");
}
-bool VideoSoftware::Initialize(void *&window_handle)
+bool VideoSoftware::Initialize(void *window_handle)
{
g_SWVideoConfig.Load((File::GetUserPath(D_CONFIG_IDX) + "gfx_software.ini").c_str());
@@ -372,10 +372,4 @@ unsigned int VideoSoftware::PeekMessages()
return GLInterface->PeekMessages();
}
-// Show the current FPS
-void VideoSoftware::UpdateFPSDisplay(const std::string& text)
-{
- GLInterface->UpdateFPSDisplay(StringFromFormat("%s | Software | %s", scm_rev_str, text.c_str()));
-}
-
}
diff --git a/Source/Core/VideoBackends/Software/VideoBackend.h b/Source/Core/VideoBackends/Software/VideoBackend.h
index dbfe1c7cab..4ade7bed9a 100644
--- a/Source/Core/VideoBackends/Software/VideoBackend.h
+++ b/Source/Core/VideoBackends/Software/VideoBackend.h
@@ -10,7 +10,7 @@ namespace SW
class VideoSoftware : public VideoBackend
{
- bool Initialize(void *&) override;
+ bool Initialize(void *window_handle) override;
void Shutdown() override;
std::string GetName() const override;
@@ -48,7 +48,6 @@ class VideoSoftware : public VideoBackend
void RegisterCPMMIO(MMIO::Mapping* mmio, u32 base) override;
- void UpdateFPSDisplay(const std::string&) override;
unsigned int PeekMessages() override;
void PauseAndLock(bool doLock, bool unpauseOnUnlock=true) override;