diff --git a/configure.py b/configure.py index 5aeb3a1e..b1a4b385 100644 --- a/configure.py +++ b/configure.py @@ -816,7 +816,7 @@ config.libs = [ Object(Matching, "scene/memoryCard/iplMemoryCardBase.cpp"), Object(NonMatching, "scene/memoryCard/iplMemoryCardManager.cpp"), Object(Matching, "scene/memoryCard/iplGCSaveData.cpp"), - Object(NonMatching, "scene/memoryCard/iplGCWindow.cpp"), + Object(Matching, "scene/memoryCard/iplGCWindow.cpp"), ] ), IPLSection("textBalloon", [ diff --git a/include/math/iplInterporation.h b/include/math/iplInterporation.h index 8161157a..3f0be62a 100644 --- a/include/math/iplInterporation.h +++ b/include/math/iplInterporation.h @@ -96,7 +96,7 @@ namespace ipl { template <> class LinearIntp : public Interporation { public: - LinearIntp() {} + LinearIntp(); virtual ~LinearIntp(); VEC3 get() const; }; diff --git a/src/scene/memoryCard/iplGCWindow.cpp b/src/scene/memoryCard/iplGCWindow.cpp index 72de28b2..e1b32016 100644 --- a/src/scene/memoryCard/iplGCWindow.cpp +++ b/src/scene/memoryCard/iplGCWindow.cpp @@ -90,6 +90,12 @@ MemCardEventHandler::~MemCardEventHandler() {} MemoryBaseEvent::MemoryBaseEvent(MemoryBase* memoryBase) : mpBase(memoryBase) {} +} // namespace scene +namespace math { +inline LinearIntp::LinearIntp() {} +} +namespace scene { + void GCWindow::init(const math::VEC3& translate, MemoryCardManager* manager, u8 cardState, short cardIndex) { mActive = true; mFlags1[cardState] = 0;