mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
VideoBackend: Get rid of a boolean global
Also gets rid of global headers
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user