mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Clear SFO data on game quit.
Saves the correct MENU after game exit. Seems more sane.
This commit is contained in:
1 parent
4b053efe8a
commit
8d68c055cc
3 files changed
+7
-1
No files matched your search
@@ -246,8 +246,11 @@ bool ParamSFOData::WriteSFO(u8 **paramsfo, size_t *size)
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
void ParamSFOData::Clear()
|
||||
{
|
||||
values.clear();
|
||||
}
|
||||
|
||||
void ParamSFOData::ValueData::SetData(const u8* data, int size)
|
||||
|
||||
@@ -43,6 +43,8 @@ public:
|
||||
|
||||
int GetDataOffset(const u8 *paramsfo, std::string dataName);
|
||||
|
||||
void Clear();
|
||||
|
||||
private:
|
||||
enum ValueType
|
||||
{
|
||||
|
||||
@@ -436,6 +436,7 @@ void PSP_Shutdown() {
|
||||
CPU_Shutdown();
|
||||
}
|
||||
GPU_Shutdown();
|
||||
g_paramSFO.Clear();
|
||||
host->SetWindowTitle(0);
|
||||
currentMIPS = 0;
|
||||
pspIsInited = false;
|
||||
|
||||
Reference in new issue
Block a user