mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
Remove CONT_ERR, already present in controller.h
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user