mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:47:43 +00:00
Work on CMemoryCardDriver
This commit is contained in:
@@ -72,9 +72,7 @@ CFactoryFnReturn AnimSourceFactory(const SObjectTag& tag, CInputStream& in,
|
||||
const CVParamTransfer& params,
|
||||
CObjectReference* selfRef)
|
||||
{
|
||||
CSimplePool* sp = static_cast<CSimplePool*>(
|
||||
static_cast<TObjOwnerParam<IObjectStore*>*>(
|
||||
params.GetObj())->GetParam());
|
||||
CSimplePool* sp = params.GetOwnedObj<CSimplePool*>();
|
||||
return TToken<CAllFormatsAnimSource>::GetIObjObjectFor(
|
||||
std::make_unique<CAllFormatsAnimSource>(in, *sp, tag));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user