Skip to content

Commit

Permalink
Add member variables for GameFrameworkNx
Browse files Browse the repository at this point in the history
  • Loading branch information
LynxDev2 committed Jul 23, 2024
1 parent d6a6f42 commit 86bcd2f
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion include/framework/nx/seadGameFrameworkNx.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@

namespace sead
{

class DisplayBufferNvn;

namespace nn
{
namespace mem
{
class StandardAllocator;
}
namespace vi
{
class Layer;
}
} // namespace nn

class GameFrameworkNx : public GameFramework
{
SEAD_RTTI_OVERRIDE(GameFrameworkNx, GameFramework)
Expand Down Expand Up @@ -42,7 +57,21 @@ class GameFrameworkNx : public GameFramework
float calcFps();
void setCaption(const SafeString&);

// missing member variables
private:
int mVBlankWaitInterval;
int padding;
void* filler[10];
FrameBuffer* mMethodFrameBuffer;
FrameBuffer* mMethodLogicalFrameBuffer;
void* filler2[4];
DisplayBufferNvn* mDisplayBuffer;
void* filler3[9];
nn::mem::StandardAllocator* mGraphicsDevToolsAllocator;
void* filler4[5];
nn::vi::Layer* mDisplay;
void* filler5[14];
};

static_assert(sizeof(sead::GameFrameworkNx) == 0x220, "GameFrameworkNx size");

} // namespace sead

0 comments on commit 86bcd2f

Please sign in to comment.