MCPcopy Create free account
hub / github.com/doldecomp/mkdd / JUTException

Method JUTException

libs/JSystem/JUtility/JUTException.cpp:55–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53JSUList<JUTException::JUTExMapFile> JUTException::sMapFileList(false);
54
55JUTException::JUTException(JUTDirectPrint *directPrint) :JKRThread(0x4000, 0x10, 0) {
56 mDirectPrint = directPrint;
57
58 OSSetErrorHandler(OS_ERROR_DSI, (OSErrorHandler)errorHandler);
59 OSSetErrorHandler(OS_ERROR_ISI, (OSErrorHandler)errorHandler);
60 OSSetErrorHandler(OS_ERROR_PROGRAM, (OSErrorHandler)errorHandler);
61 OSSetErrorHandler(OS_ERROR_ALIGNMENT, (OSErrorHandler)errorHandler);
62 OSSetErrorHandler(OS_ERROR_PROTECTION, (OSErrorHandler)errorHandler);
63 setFPException(0);
64
65 sPreUserCallback = nullptr;
66 sPostUserCallback = nullptr;
67 mGamePad = nullptr;
68 mPadPort = JUTGamePad::Port_Invalid;
69 mPrintWaitTime0 = 10;
70 mPrintWaitTime1 = 10;
71 mTraceSuppress = 0xffffffff;
72 _98 = 0;
73 mPrintFlags = EXPRINTFLAG_All;
74}
75
76JUTException *JUTException::create(JUTDirectPrint *directPrint) {
77 if(sErrorManager == nullptr) {

Callers

nothing calls this directly

Calls 1

OSSetErrorHandlerFunction · 0.85

Tested by

no test coverage detected