Skip to content

Commit

Permalink
Remove unused padding in zRenderState and mark it as Matching
Browse files Browse the repository at this point in the history
  • Loading branch information
tgsm authored and SquareMan committed Jun 25, 2024
1 parent 02205f7 commit 4f99f18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def Rel(lib_name: str, objects: List[Object]) -> Dict[str, Any]:
Object(Matching, "SB/Game/zPickupTable.cpp"),
Object(NonMatching, "SB/Game/zPlatform.cpp"),
Object(Matching, "SB/Game/zPortal.cpp"),
Object(NonMatching, "SB/Game/zRenderState.cpp"),
Object(Matching, "SB/Game/zRenderState.cpp"),
Object(NonMatching, "SB/Game/zRumble.cpp"),
Object(Equivalent, "SB/Game/zSaveLoad.cpp"),
Object(NonMatching, "SB/Game/zScene.cpp"),
Expand Down
3 changes: 0 additions & 3 deletions src/SB/Game/zRenderState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@

volatile _SDRenderState sRS;

// For things to line up right this has to be present.
int32 padding;

void zRenderStateInit()
{
sRS = SDRS_Unknown;
Expand Down

0 comments on commit 4f99f18

Please sign in to comment.