diff --git a/include/os.h b/include/os.h index d168d352e..82e1ac013 100644 --- a/include/os.h +++ b/include/os.h @@ -133,15 +133,6 @@ typedef struct { #define VOICE_WARN_NOT_FIT 0x4000 /* No words match recognition word (No. 1 Candidate Distance Value > 1600) */ #define VOICE_WARN_TOO_NOISY 0x8000 /* Too much ambient noise (Relative Voice Level =< 400) */ -// #define CONT_ERR_NO_CONTROLLER -// #define CONT_ERR_DEVICE -// #define CONT_ERR_NOT_READY -// #define CONT_ERR_CONTRFAIL -// #define CONT_ERR_VOICE_NO_RESPONSE -// #define CONT_ERR_INVALID -// #define CONT_ERR_VOICE_WORD -// #define CONT_ERR_VOICE_MEMORY - typedef struct { /* 0x0 */ OSMesgQueue* mq; /* 0x4 */ s32 port; /* Controller port */ diff --git a/src/libultra/voice/voiceinit.c b/src/libultra/voice/voiceinit.c index 50dab4fdc..54e13fa4c 100644 --- a/src/libultra/voice/voiceinit.c +++ b/src/libultra/voice/voiceinit.c @@ -37,7 +37,7 @@ s32 osVoiceInit(OSMesgQueue* siMessageQ, OSVoiceHandle* hd, s32 channel) { if (errorCode != 0) { return errorCode; } - if ((sp37 & 2) != 0) { + if (sp37 & 2) { return 0xF; }