mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
Firmware install: Create flash1/vsh/theme
The shell refuses to install a theme without it, and the updater's archive doesn't have it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8c31d80b8b
commit
a0af2bc403
1 file changed
+7
@@ -1747,6 +1747,13 @@ bool InstallFirmware(const Path &updater, const Path &nandRoot, const PSARUnpack
|
||||
ok = SwapStagingIntoPlace(nandRoot, staging, error);
|
||||
}
|
||||
if (ok) {
|
||||
// The shell refuses to install a theme without this directory, and the updater's archive
|
||||
// doesn't have it (6.61's has nothing under flash1), so the real updater must create it.
|
||||
const Path themeDir = nandRoot / "flash1/vsh/theme";
|
||||
if (!File::CreateFullPath(themeDir)) {
|
||||
WARN_LOG(Log::Loader, "Couldn't create %s", themeDir.c_str());
|
||||
}
|
||||
|
||||
g_Config.iSceRegCategoryVersion = SceRegCategoryVersionAfterInstall(g_Config.iSceRegCategoryVersion, SceRegCategoryVersionForFirmware(stats->firmwareVersion));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user