mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-14 18:06:10 +00:00
Initial proper CTexture RE, fix configuration corruption
This commit is contained in:
@@ -16,7 +16,7 @@ CIOWin::EMessageReturn CStateSetterFlow::OnMessage(const CArchitectureMessage& m
|
||||
CResLoader* loader = g_ResFactory->GetResLoader();
|
||||
CAssetId worldId;
|
||||
for (const auto& pak : loader->GetPaks()) {
|
||||
if (*(pak->GetPath().end() - 6) == '0' + m->m_warpWorldIdx) {
|
||||
if (*(pak->GetPath().end() - 5) == '0' + m->m_warpWorldIdx) {
|
||||
worldId = pak->GetMLVLId();
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -621,7 +621,7 @@ void CMain::Init(const FileStoreManager& storeMgr, CVarManager* cvarMgr, boo::IA
|
||||
|
||||
bool found = false;
|
||||
for (const auto& pak : g_ResFactory->GetResLoader()->GetPaks()) {
|
||||
if (*(pak->GetPath().end() - 6) == '0' + m_warpWorldIdx) {
|
||||
if (*(pak->GetPath().end() - 5) == '0' + m_warpWorldIdx) {
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user