diff --git a/d912pxy/d912pxy_pso_db.cpp b/d912pxy/d912pxy_pso_db.cpp index f880639..859b4c7 100644 --- a/d912pxy/d912pxy_pso_db.cpp +++ b/d912pxy/d912pxy_pso_db.cpp @@ -151,7 +151,7 @@ void d912pxy_pso_db::LoadCachedData() d912pxy_trimmed_pso_desc psoDesc; if (!psoDesc.DeSerialize(data)) { - LOG_ERR_DTDM("PSO with keyname %08lX have wrong data (old or corrupted)", keyName); + LOG_ERR_DTDM("PSO with keyname %016llX have wrong data (old or corrupted)", keyName); continue; } data.Delete(); diff --git a/d912pxy/d912pxy_pso_item.cpp b/d912pxy/d912pxy_pso_item.cpp index 9466179..de4a778 100644 --- a/d912pxy/d912pxy_pso_item.cpp +++ b/d912pxy/d912pxy_pso_item.cpp @@ -155,7 +155,7 @@ void d912pxy_pso_item::CreatePSO(D3D12_GRAPHICS_PIPELINE_STATE_DESC& fullDesc) }; char fullPsoName[255]; - sprintf(fullPsoName, "%016llX_%016llX_%08lX", entryData.vs, entryData.ps, entryData.pso.data()); + sprintf(fullPsoName, "%016llX_%016llX_%016llX", entryData.vs, entryData.ps, entryData.pso.data()); LOG_DBG_DTDM("Compiling PSO %S", fullPsoName); @@ -521,7 +521,7 @@ void d912pxy_pso_item::RealtimeIntegrityCheck(D3D12_GRAPHICS_PIPELINE_STATE_DESC { d912pxy_shader_pair_hash_type pairUID = desc->GetShaderPairUID(); d912pxy_trimmed_pso_desc::StorageKey psoKey(desc->GetValuePart()); - sprintf(derivedAlias, "%016llX_%08lX", pairUID, psoKey.val.value); + sprintf(derivedAlias, "%016llX_%016llX", pairUID, psoKey.val.value); LOG_DBG_DTDM("DX9 PSO realtime check emulation for alias %s", derivedAlias); derivedName = GetDerivedNameByAlias(derivedAlias); diff --git a/d912pxy/d912pxy_trimmed_pso.h b/d912pxy/d912pxy_trimmed_pso.h index a3caf30..e26eda9 100644 --- a/d912pxy/d912pxy_trimmed_pso.h +++ b/d912pxy/d912pxy_trimmed_pso.h @@ -108,7 +108,7 @@ class d912pxy_trimmed_pso_desc ValuePart val; ref_part ref; - typedef d912pxy::Memtree IdStorage; + typedef d912pxy::Memtree IdStorage; typedef IdStorage::PreparedKey StorageKey; d912pxy_trimmed_pso_desc(); diff --git a/d912pxy/d912pxy_vfs_pck.h b/d912pxy/d912pxy_vfs_pck.h index 10e8e86..6681550 100644 --- a/d912pxy/d912pxy_vfs_pck.h +++ b/d912pxy/d912pxy_vfs_pck.h @@ -27,7 +27,7 @@ SOFTWARE. #define PXY_VFS_PCK_SIGNATURE 0x7670636b #define PXY_VFS_PCK_INDEX_ROOM 512 -#define PXY_VFS_PCK_VER 4 +#define PXY_VFS_PCK_VER 5 typedef enum d912pxy_vfs_pck_chunk_type { CHU_UNDEF,