mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-07-28 23:28:57 -04:00
Add an error for implicit functions (#3017)
* Add the flag and fix errors * switch assert and skin matrix * new LUS * Use normal assert * hopefully fix WiiU Signed-off-by: Louis <louist103@pop-os.localdomain> --------- Signed-off-by: Louis <louist103@pop-os.localdomain> Co-authored-by: Louis <louist103@pop-os.localdomain> Co-authored-by: Christopher Leggett <chris@leggett.dev>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "global.h"
|
||||
#include "z64elf_message.h"
|
||||
#include <assert.h>
|
||||
|
||||
ElfMessage sChildSariaMsgs[] = {
|
||||
ELF_MSG_STRENGTH_UPG(SKIP, 3, false, 0),
|
||||
@@ -59,7 +60,7 @@ u32 ElfMessage_CheckCondition(ElfMessage* msg) {
|
||||
}
|
||||
|
||||
LOG_STRING("企画外 条件"); // "Unplanned conditions"
|
||||
ASSERT(0);
|
||||
assert(0);
|
||||
|
||||
return false;
|
||||
}
|
||||
@@ -142,7 +143,7 @@ u16 ElfMessage_GetTextFromMsgs(ElfMessage* msg) {
|
||||
return msg->byte2 | 0x100;
|
||||
default:
|
||||
LOG_STRING("企画外 条件"); // "Unplanned conditions"
|
||||
ASSERT(0);
|
||||
assert(0);
|
||||
}
|
||||
msg++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user