summaryrefslogtreecommitdiff
path: root/src/KingSystem/Resource
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2026-09-28 03:39:31 +0200
committerLéo Lam <leo@leolam.fr>2026-10-06 03:19:38 +0200
commit4a6239bbbf5b5ab78c8d7eebb7afeeb79601ff43 (patch)
tree0a5245d45e05662181aee8bcc9dd9a5663136baf /src/KingSystem/Resource
parentd8da4fc5f2f159f2ea3386d7018e61629759bc09 (diff)
ksys: small declaration fixes
setCamera's only caller passes the camera actor, a ksys::act::Actor; ksys::act::Camera is only forward-declared. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
Diffstat (limited to 'src/KingSystem/Resource')
-rw-r--r--src/KingSystem/Resource/resEntryFactory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/Resource/resEntryFactory.h b/src/KingSystem/Resource/resEntryFactory.h
index 071f70e3..3a6e30f6 100644
--- a/src/KingSystem/Resource/resEntryFactory.h
+++ b/src/KingSystem/Resource/resEntryFactory.h
@@ -36,7 +36,7 @@ public:
: EntryFactoryBase(size_multiplier, size_constant) {}
u32 getResourceSize() const override { return sizeof(T); }
- u32 getLoadDataAlignment() const override { return T::cLoadDataAlignment; }
+ u32 getLoadDataAlignment() const override { return mResource.getLoadDataAlignment(); }
sead::DirectResource* newResource_(sead::Heap* heap_, s32 alignment) override {
sead::Heap* heap = util::getHeapOrCurrentHeap(heap_);