Skip to content

Commit

Permalink
Remove nLensBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
cadmic committed Oct 8, 2024
1 parent 0b3038e commit 6395f06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions include/emulator/frame.h
Original file line number Diff line number Diff line change
Expand Up @@ -355,12 +355,9 @@ typedef struct Frame {
/* 0x3F21B */ u8 iTileDrawn;
/* 0x3F21C */ GXColor aColor[FCT_COUNT];
/* 0x3F230 */ u32 nModeVtx;

//! TODO: find which of these members got removed
/* 0x3F234 */ u16* nTempBuffer;
/* 0x3F238 */ u16* nCopyBuffer;
/* 0x3F23C */ u32* nLensBuffer;
// u16* nCameraBuffer;
/* 0x3F23C */ u8* nCameraBuffer;
} Frame; // size = 0x3F240

extern _XL_OBJECTTYPE gClassFrame;
Expand Down
3 changes: 1 addition & 2 deletions src/emulator/frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -3369,8 +3369,7 @@ bool frameEvent(Frame* pFrame, s32 nEvent, void* pArgument) {
case 0x1003:
pFrame->nTempBuffer = NULL;
pFrame->nCopyBuffer = NULL;
pFrame->nLensBuffer = NULL;
// pFrame->nCameraBuffer = NULL;
pFrame->nCameraBuffer = NULL;

if (!frameEvent_UnknownInline2(pFrame)) {
return false;
Expand Down

0 comments on commit 6395f06

Please sign in to comment.