VideoBackend: Get rid of a boolean global

Also gets rid of global headers
This commit is contained in:
Lioncash
2016-01-02 15:01:12 -05:00
parent 066af14272
commit 01f99a04a2
26 changed files with 32 additions and 122 deletions

View File

@ -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();