mirror of
https://github.com/AloUltraExt/sm64ex-alo.git
synced 2025-01-23 16:15:36 -05:00
fix some warnings and puppy2 obj check
This commit is contained in:
parent
730d28bbf2
commit
a9a70aed1a
3 changed files with 9 additions and 8 deletions
|
@ -891,7 +891,7 @@ void puppycam_projection_behaviours(void)
|
|||
f32 turnRate = 1;
|
||||
|
||||
//This will only be executed if Mario's the target. If it's not, it'll reset the
|
||||
if (gPuppyCam.targetObj = gMarioState->marioObj)
|
||||
if (gPuppyCam.targetObj == gMarioState->marioObj)
|
||||
{
|
||||
if (gPuppyCam.options.turnAggression > 0 && gPuppyCam.flags & PUPPYCAM_BEHAVIOUR_TURN_HELPER && !(gPuppyCam.flags & PUPPYCAM_BEHAVIOUR_INPUT_8DIR) &&
|
||||
gMarioState->vel[1] == 0.0f && !(gPuppyCam.flags & PUPPYCAM_BEHAVIOUR_INPUT_4DIR) && gPuppyCam.options.inputType != 2)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#include "macros.h"
|
||||
#include "audio_api.h"
|
||||
|
||||
static bool audio_null_init(void) {
|
||||
|
@ -12,7 +13,7 @@ static int audio_null_get_desired_buffered(void) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void audio_null_play(const uint8_t *buf, size_t len) {
|
||||
static void audio_null_play(UNUSED const uint8_t *buf, UNUSED size_t len) {
|
||||
}
|
||||
|
||||
static void audio_null_shutdown(void) {
|
||||
|
|
|
@ -68,10 +68,10 @@ extern void thread5_game_loop(void *arg);
|
|||
extern void create_next_audio_buffer(s16 *samples, u32 num_samples);
|
||||
void game_loop_one_iteration(void);
|
||||
|
||||
void dispatch_audio_sptask(struct SPTask *spTask) {
|
||||
void dispatch_audio_sptask(UNUSED struct SPTask *spTask) {
|
||||
}
|
||||
|
||||
void set_vblank_handler(s32 index, struct VblankHandler *handler, OSMesgQueue *queue, OSMesg *msg) {
|
||||
void set_vblank_handler(UNUSED s32 index, UNUSED struct VblankHandler *handler, UNUSED OSMesgQueue *queue, UNUSED OSMesg *msg) {
|
||||
}
|
||||
|
||||
static bool inited = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue