mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Support PIC0 in PBP files.
This commit is contained in:
parent
a0340debd6
commit
a6436d04f5
@ -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…
Reference in New Issue
Block a user