ksys/res: Implement more ResourceUnit functions

This commit is contained in:
Léo Lam
2020-10-10 16:37:41 +02:00
parent 689221f4a2
commit fc0d0ddaf7
11 changed files with 266 additions and 47 deletions
+3 -3
View File
@@ -16,8 +16,8 @@ void Resource::onDestroy() {
onDestroy_();
}
void Resource::parse(Context*, sead::Heap* heap) {
parse_(mRawData, mRawSize, heap);
bool Resource::parse(Context*, sead::Heap* heap) {
return parse_(mRawData, mRawSize, heap);
}
bool Resource::finalize() {
@@ -25,7 +25,7 @@ bool Resource::finalize() {
return true;
}
bool Resource::finishParsing() {
bool Resource::finishParsing(Context*) {
const bool ret = finishParsing_();
mContext = nullptr;
return ret;