mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-05 02:37:50 -04:00
Make the rest of JSystem compiled in DEBUG
This commit is contained in:
@@ -158,7 +158,11 @@ bool JAISe::prepare_getSeqData_() {
|
||||
|
||||
switch (inner_.seMgr->getSeqDataMgr()->getSeqData(getID(), &inner_.mSeqData)) {
|
||||
case 0:
|
||||
#if TARGET_PC
|
||||
OS_REPORT("Failed In Loading Sequence Data:SE(0x%08x)\n", (u32)getID());
|
||||
#else
|
||||
OS_REPORT("Failed In Loading Sequence Data:SE(0x%08x)\n", *(u32*)&getID());
|
||||
#endif
|
||||
status_.state.unk = 2;
|
||||
return false;
|
||||
case 1:
|
||||
|
||||
@@ -70,3 +70,12 @@ JGadget_outMessage& JGadget_outMessage::operator<<(const void* data) {
|
||||
void JGadget_outMessage::warning(const char* file, int line, const char* message) {
|
||||
JUTAssertion::setWarningMessage(3, (char*)file, line, message);
|
||||
}
|
||||
|
||||
#if TARGET_PC
|
||||
JGadget_outMessage& JGadget_outMessage::operator<<(u16 value) {
|
||||
char sz[64];
|
||||
snprintf(sz, sizeof(sz), "%uh", value);
|
||||
|
||||
return *this << sz;
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user