ksys/res: Implement all of Handle

This commit is contained in:
Léo Lam
2020-10-13 02:11:12 +02:00
parent 436085f61d
commit b16ba552db
9 changed files with 509 additions and 81 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ bool ResourceInfoContainer::loadResourceSizeTable() {
req.mRequester = "ResourceInfoContainer";
req.mPath = "System/Resource/ResourceSizeTable.product.rsizetable";
req._c = 1;
return sead::DynamicCast<Resource>(mRstbHandle.load(req.mPath, req));
return sead::DynamicCast<Resource>(mRstbHandle.load(req.mPath, &req));
};
const Resource* resource = load_res();