misc changes

This commit is contained in:
Isaac0-dev 2025-07-25 13:29:00 +10:00
parent a6a85588b8
commit 1ced965a4f
2 changed files with 3 additions and 5 deletions

View file

@ -453,9 +453,7 @@ static void level_cmd_begin_area(void) {
gAreas[areaIndex].camera = gAreas[areaIndex].cameras[0];
} else {
gAreas[areaIndex].camera = NULL;
for (u8 i = 0; i < POSSIBLE_NUM_PLAYERS; i++) {
memset(&gAreas[areaIndex].cameras[i], 0, sizeof(sizeof(struct Camera *) * POSSIBLE_NUM_PLAYERS)); // set them to null
}
memset(gAreas[areaIndex].cameras, 0, sizeof(struct Camera *) * POSSIBLE_NUM_PLAYERS); // set them to null
}
}

View file

@ -71,6 +71,8 @@
#include <windows.h>
#endif
#include "game/local_multiplayer.h"
extern Vp D_8032CF00;
OSMesg D_80339BEC;
@ -196,8 +198,6 @@ static s32 get_num_frames_to_draw(f64 t) {
return (s32) MAX(1, numFramesNext - numFramesCurr);
}
#include "game/local_multiplayer.h"
void produce_interpolation_frames_and_delay(void) {
bool is30Fps = (!configUncappedFramerate && configFrameLimit == FRAMERATE);