mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
Implement fix for buggy Adabat assets hanging async PSO compiler. (#618)
This commit is contained in:
parent
fd2fb745e0
commit
f9b5e52a8b
1 changed files with 7 additions and 0 deletions
|
|
@ -6833,6 +6833,13 @@ void GetDatabaseDataMidAsmHook(PPCRegister& r1, PPCRegister& r4)
|
|||
|
||||
if (isParticleModel)
|
||||
return;
|
||||
|
||||
// Adabat water is broken in original game, which they tried to fix by partially including the files in the update,
|
||||
// which then finally fixed for real in the DLC. This confuses the async PSO compiler and causes a hang if the DLC is missing.
|
||||
// We'll just ignore it.
|
||||
bool isAdabatWater = strcmp(databaseData->m_TypeAndName.c_str() + 2, "evl_sea_obj_st_waterCircle") == 0;
|
||||
if (isAdabatWater)
|
||||
return;
|
||||
}
|
||||
|
||||
databaseData->m_Flags |= eDatabaseDataFlags_CompilingPipelines;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue