Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Niko committed Apr 18, 2024
1 parent 287e62d commit ea4b80c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions decompile/General/MAIN/MainInit_JitPoolsNew.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,12 @@ void DECOMP_MainInit_JitPoolsNew(struct GameTracker *gGT)
// For Arcade/Battle
// worst case thread in race: 48
// +10 for mine pool
// +10 for missiles
// +10 for mystery caves turtles
// +8 drivers
// +4 camera
// +1 warpball
// 1p +3*3 for missile explosions 3*3
// 1p +10 for mystery caves turtles
// 4p +8*3 for missile explosions (3+3+1+1)*3

// all of these use 231 overlayIndex_Threads
switch(gGT->overlayIndex_EndOfRace)
Expand Down Expand Up @@ -171,7 +172,7 @@ void DECOMP_MainInit_JitPoolsNew(struct GameTracker *gGT)
// OG game uses: 128,96,8
case 4:
// highest numInstLev is 42 (mystery caves)
numInstance = numInstLev+32;
numInstance = numInstLev+48;
numThread = 48;
numDriver = 4;
break;
Expand Down
6 changes: 3 additions & 3 deletions decompile/WorkInProgress/src/231/Unknown_RB_Blowup_Init.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ void DECOMP_RB_Blowup_Init(struct Instance* weaponInst)
shockwaveInst->flags |= 0x200;

// set showckwave position to weapon position
shockwaveInst->matrix.t[0] = weaponInst->matrix.t[0];
shockwaveInst->matrix.t[1] = weaponInst->matrix.t[1];
shockwaveInst->matrix.t[2] = weaponInst->matrix.t[2];
shockwaveInst->matrix.t[0] = weaponInst->matrix.t[0];
shockwaveInst->matrix.t[1] = weaponInst->matrix.t[1];
shockwaveInst->matrix.t[2] = weaponInst->matrix.t[2];

headers = shockwaveInst->model->headers;

Expand Down

0 comments on commit ea4b80c

Please sign in to comment.