Cleanup GPU init/shutdown a bit

This commit is contained in:
Henrik Rydgård committed 2012-12-25 22:42:19 +01:00
1 parent 7c64f9c61e
commit d95dbca9be
16 files changed
+80 -1141

No files matched your search

-5
View File
@@ -42,7 +42,6 @@
MetaFileSystem pspFileSystem;
static CoreParameter coreParameter;
extern ShaderManager shaderManager;
bool PSP_Init(const CoreParameter &coreParam, std::string *error_string)
{
@@ -76,9 +75,6 @@ bool PSP_Init(const CoreParameter &coreParam, std::string *error_string)
return false;
}
shaderManager.DirtyShader();
shaderManager.DirtyUniform(DIRTY_ALL);
// Setup JIT here.
if (coreParameter.startPaused)
coreState = CORE_STEPPING;
@@ -97,7 +93,6 @@ void PSP_Shutdown()
pspFileSystem.UnmountAll();
TextureCache_Clear(true);
shaderManager.ClearCache(true);
CoreTiming::ClearPendingEvents();
CoreTiming::UnregisterAllEvents();