diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-01-02 15:01:12 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-01-02 18:03:28 -0500 |
| commit | 01f99a04a2af61d70fc2a5eed14b2a0bf3c05696 (patch) | |
| tree | 5bc6cc4b936e4d5f444aa8dc7c6f2ec120ae6ad1 /Source/Core/VideoBackends/Software/SWmain.cpp | |
| parent | 066af14272a87870bbb84280249cf938d9eba336 (diff) | |
VideoBackend: Get rid of a boolean global
Also gets rid of global headers
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWmain.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index c891542d8a..a7efeaa4dd 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -86,6 +86,7 @@ bool VideoSoftware::Initialize(void *window_handle) SWRenderer::Init(); DebugUtil::Init(); + m_initialized = true; return true; } @@ -145,6 +146,8 @@ void VideoSoftware::EmuStateChange(EMUSTATE_CHANGE newState) void VideoSoftware::Shutdown() { + m_initialized = false; + // TODO: should be in Video_Cleanup SWRenderer::Shutdown(); DebugUtil::Shutdown(); |
