35#define JUT_PRINT_GPR 1
36#define JUT_PRINT_GPR_MAP 2
37#define JUT_PRINT_SRR0_MAP 4
38#define JUT_PRINT_FLOAT 8
39#define JUT_PRINT_STACK 16
89 static void panic_f_va(
char const*,
int,
char const*, va_list);
90 static void panic_f(
char const*,
int,
char const*, ...);
116 static void panic(
const char* file,
int line,
const char* msg) {
117 panic_f(file, line,
"%s", msg);
STATIC_ASSERT(sizeof(JUTExternalFB)==0x14)
Definition JKRThread.h:23
Definition JUTConsole.h:13
Definition JUTDirectPrint.h:11
Definition JUTException.h:58
JUTExMapFile(char *path)
Definition JUTException.h:60
JSULink< JUTExMapFile > mLink
Definition JUTException.h:64
char * mPath
Definition JUTException.h:63
Definition JUTException.h:48
static JUTExceptionUserCallback setPreUserCallback(JUTExceptionUserCallback)
Definition JUTException.cpp:797
JUTExternalFB * getFrameMemory() const
Definition JUTException.h:105
u32 field_0x98
Definition JUTException.h:142
void showFloat(OSContext *)
Definition JUTException.cpp:224
static void setMapFile(const char *map)
Definition JUTException.h:113
static const char * sCpuExpName[17]
Definition JUTException.h:17
void createFB()
Definition JUTException.cpp:769
void showGPR(OSContext *)
Definition JUTException.cpp:382
JUTGamePad::EPadPort mGamePadPort
Definition JUTException.h:138
static JUTExceptionUserCallback setPostUserCallback(JUTExceptionUserCallback)
Definition JUTException.cpp:803
bool showMapInfo_subroutine(u32, bool)
Definition JUTException.cpp:395
void showStack(OSContext *)
Definition JUTException.cpp:297
JUTDirectPrint * mDirectPrint
Definition JUTException.h:136
static JSUList< JUTException::JUTExMapFile > sMapFileList
Definition JUTException.h:123
static void errorHandler(OSError, OSContext *, u32, u32)
Definition JUTException.cpp:132
static bool queryMapAddress_single(char *, u32, s32, u32 *, u32 *, char *, u32, bool, bool)
Definition JUTException.cpp:850
void showGPRMap(OSContext *)
Definition JUTException.cpp:443
void setGamePad(JUTGamePad *gamePad)
Definition JUTException.h:108
void printContext(u16, OSContext *, u32, u32)
Definition JUTException.cpp:597
static void panic(const char *file, int line, const char *msg)
Definition JUTException.h:116
bool isEnablePad() const
Definition JUTException.cpp:507
static JUTException * sErrorManager
Definition JUTException.h:125
s32 mPrintWaitTime0
Definition JUTException.h:139
static void waitTime(s32)
Definition JUTException.cpp:757
static JUTException * getManager()
Definition JUTException.h:102
static void panic_f(char const *, int, char const *,...)
Definition JUTException.cpp:189
u32 mStackPointer
Definition JUTException.h:144
void printDebugInfo(JUTException::EInfoPage, OSError, OSContext *, u32, u32)
Definition JUTException.cpp:487
EInfoPage
Definition JUTException.h:50
@ EINFO_PAGE_GPR_MAP
Definition JUTException.h:54
@ EINFO_PAGE_GPR
Definition JUTException.h:51
@ EINFO_PAGE_SSR0_MAP
Definition JUTException.h:55
@ EINFO_PAGE_FLOAT
Definition JUTException.h:52
@ EINFO_PAGE_STACK
Definition JUTException.h:53
s32 mPrintWaitTime1
Definition JUTException.h:140
static u32 sConsoleBufferSize
Definition JUTException.h:129
JUTException(JUTDirectPrint *)
Definition JUTException.cpp:43
static OSMessage sMessageBuffer[1]
Definition JUTException.h:75
static JUTExceptionUserCallback sPreUserCallback
Definition JUTException.h:126
virtual ~JUTException()
Definition JUTException.cpp:1004
static bool searchPartialModule(u32, u32 *, u32 *, u32 *, u32 *)
Definition JUTException.cpp:244
void setTraceSuppress(u32 param_0)
Definition JUTException.h:107
static void * sConsoleBuffer
Definition JUTException.h:128
u32 mPrintFlags
Definition JUTException.h:143
JUTExternalFB * mFrameMemory
Definition JUTException.h:135
bool readPad(u32 *, u32 *)
Definition JUTException.cpp:517
static void appendMapFile(char const *)
Definition JUTException.cpp:809
static JUTConsole * getConsole()
Definition JUTException.h:103
static bool queryMapAddress(char *, u32, s32, u32 *, u32 *, char *, u32, bool, bool)
Definition JUTException.cpp:825
void showSRR0Map(OSContext *)
Definition JUTException.cpp:471
static OSMessageQueue sMessageQueue
Definition JUTException.h:13
static void setFPException(u32)
Definition JUTException.cpp:196
JUTGamePad * mGamePad
Definition JUTException.h:137
static JUTException * create(JUTDirectPrint *)
Definition JUTException.cpp:65
virtual void * run()
Definition JUTException.cpp:87
static void createConsole(void *, u32)
Definition JUTException.cpp:974
u32 mTraceSuppress
Definition JUTException.h:141
void showFloatSub(int, f32)
Definition JUTException.cpp:208
void showMainInfo(u16, OSContext *, u32, u32)
Definition JUTException.cpp:322
static void panic_f_va(char const *, int, char const *, va_list)
Definition JUTException.cpp:159
static JUTExceptionUserCallback sPostUserCallback
Definition JUTException.h:127
static u32 msr
Definition JUTException.h:131
static JUTConsole * sConsole
Definition JUTException.h:130
static u32 fpscr
Definition JUTException.h:132
Definition JUTException.h:19
u32 mSize
Definition JUTException.h:25
u8 field_[3]
Definition JUTException.h:30
u16 mGamma
Definition JUTException.h:28
bool field_0x10
Definition JUTException.h:29
_GXRenderModeObj * mRenderMode
Definition JUTException.h:24
JUTExternalFB(_GXRenderModeObj *, GXGamma, void *, u32)
Definition JUTException.cpp:996
u32 field_0x08
Definition JUTException.h:26
u16 field_0x0C
Definition JUTException.h:27
u16 OSError
Definition OSError.h:13
void * OSMessage
Definition OSMessage.h:13
unsigned long u32
Definition types.h:12
float f32
Definition types.h:25
unsigned short int u16
Definition types.h:10
signed long s32
Definition types.h:11
unsigned char u8
Definition types.h:8
void(* JUTExceptionUserCallback)(u16, OSContext *, u32, u32)
Definition JUTException.h:46
Definition JUTGamePad.h:28
EPadPort
Definition JUTGamePad.h:39
@ EPortInvalid
Definition JUTGamePad.h:40
Definition JUTException.h:153
JUTWarn & operator<<(const char *)
Definition JUTException.h:154
JUTWarn & operator<<(long)
Definition JUTException.h:155
Definition OSContext.h:140
Definition OSMessage.h:18
Definition d_a_npc_ks.cpp:47