mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 15:47:46 +00:00
Finish CResFactory; better smart-pointer use for resources
This commit is contained in:
@@ -239,7 +239,7 @@ CGameArchitectureSupport::~CGameArchitectureSupport()
|
||||
CStreamAudioManager::Shutdown();
|
||||
}
|
||||
|
||||
CMain::CMain(IFactory& resFactory, CSimplePool& resStore,
|
||||
CMain::CMain(IFactory* resFactory, CSimplePool* resStore,
|
||||
boo::IGraphicsDataFactory* gfxFactory,
|
||||
boo::IGraphicsCommandQueue* cmdQ,
|
||||
boo::ITextureR* spareTex)
|
||||
@@ -339,7 +339,6 @@ void CMain::AddWorldPaks()
|
||||
std::string path = pakPrefix;
|
||||
if (i != 0)
|
||||
path += '0' + i;
|
||||
path += ".upak";
|
||||
if (CDvdFile::FileExists(path.c_str()))
|
||||
if (CResLoader* loader = g_ResFactory->GetResLoader())
|
||||
loader->AddPakFileAsync(path, false, true);
|
||||
|
||||
Reference in New Issue
Block a user