mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 16:00:30 +02:00
Cleanup GPU init/shutdown a bit
This commit is contained in:
1 parent
7c64f9c61e
commit
d95dbca9be
16 files changed
+80
-1141
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user