From 6ca7ca60ce66344270cc383405a05f5610932c23 Mon Sep 17 00:00:00 2001 From: MonsterDruide1 <5958456@gmail.com> Date: Tue, 26 Nov 2024 22:41:02 +0100 Subject: [PATCH] Library/Resource: Return types of `getByml[...]` (#200) --- lib/al/Library/Resource/ResourceHolder.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/al/Library/Resource/ResourceHolder.h b/lib/al/Library/Resource/ResourceHolder.h index 7a0e4307..4e6fa0b5 100644 --- a/lib/al/Library/Resource/ResourceHolder.h +++ b/lib/al/Library/Resource/ResourceHolder.h @@ -35,10 +35,10 @@ void loadCategoryArchiveAll(const sead::SafeString&); void setCurrentCategoryName(const char*); void resetCurrentCategoryName(); void setCurrentCategoryNameDefault(); -bool getBymlFromObjectResource(const sead::SafeString&, const sead::SafeString&); -bool tryGetBymlFromObjectResource(const sead::SafeString&, const sead::SafeString&); -bool getBymlFromLayoutResource(const sead::SafeString&, const sead::SafeString&); -bool tryGetBymlFromLayoutResource(const sead::SafeString&, const sead::SafeString&); +u8* getBymlFromObjectResource(const sead::SafeString&, const sead::SafeString&); +u8* tryGetBymlFromObjectResource(const sead::SafeString&, const sead::SafeString&); +u8* getBymlFromLayoutResource(const sead::SafeString&, const sead::SafeString&); +u8* tryGetBymlFromLayoutResource(const sead::SafeString&, const sead::SafeString&); u8* tryGetBymlFromArcName(const sead::SafeString&, const sead::SafeString&); u8* getBymlFromArcName(const sead::SafeString&, const sead::SafeString&); u8* getByml(const Resource*, const sead::SafeString&);