mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Use a FileLoader for PBPs.
Improves consistency, caching, etc.
This commit is contained in:
1 parent
a53f0360f3
commit
f3df6b307f
6 files changed
+45
-59
No files matched your search
+1
-3
@@ -131,9 +131,7 @@ void InitMemoryForGamePBP(FileLoader *fileLoader) {
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: Change PBPReader to read FileLoader objects?
|
||||
std::string filename = fileLoader->Path();
|
||||
PBPReader pbp(filename.c_str());
|
||||
PBPReader pbp(fileLoader);
|
||||
if (pbp.IsValid() && !pbp.IsELF()) {
|
||||
std::vector<u8> sfoData;
|
||||
if (pbp.GetSubFile(PBP_PARAM_SFO, &sfoData)) {
|
||||
|
||||
Reference in new issue
Block a user