mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Support PIC0 in PBP files.
This commit is contained in:
parent
a0340debd6
commit
a6436d04f5
2 changed files with 6 additions and 1 deletions
|
@ -24,7 +24,7 @@ enum PBPSubFile {
|
|||
PBP_PARAM_SFO,
|
||||
PBP_ICON0_PNG,
|
||||
PBP_ICON1_PMF,
|
||||
PBP_UNKNOWN_PNG, // PIC0?
|
||||
PBP_PIC0_PNG,
|
||||
PBP_PIC1_PNG,
|
||||
PBP_SND0_AT3,
|
||||
PBP_EXECUTABLE_PSP,
|
||||
|
|
|
@ -297,6 +297,11 @@ public:
|
|||
}
|
||||
|
||||
if (info_->wantFlags & GAMEINFO_WANTBG) {
|
||||
if (pbp.GetSubFileSize(PBP_PIC0_PNG) > 0) {
|
||||
lock_guard lock(info_->lock);
|
||||
pbp.GetSubFileAsString(PBP_PIC0_PNG, &info_->pic0TextureData);
|
||||
info_->pic0DataLoaded = true;
|
||||
}
|
||||
if (pbp.GetSubFileSize(PBP_PIC1_PNG) > 0) {
|
||||
lock_guard lock(info_->lock);
|
||||
pbp.GetSubFileAsString(PBP_PIC1_PNG, &info_->pic1TextureData);
|
||||
|
|
Loading…
Add table
Reference in a new issue