Remove CONT_ERR, already present in controller.h

This commit is contained in:
engineer124
2021-11-08 00:31:03 +11:00
parent 5aa43d1c29
commit 23d3f1980e
2 changed files with 1 additions and 10 deletions
-9
View File
@@ -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 */
+1 -1
View File
@@ -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;
}