mirror of
https://github.com/zeldaret/ss
synced 2026-05-24 15:20:58 -04:00
26af4db82d
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
27 lines
574 B
C++
27 lines
574 B
C++
#ifndef NW4R_DB_EXCEPTION_H
|
|
#define NW4R_DB_EXCEPTION_H
|
|
|
|
#include "nw4r/db/db_console.h"
|
|
#include "rvl/OS.h" // IWYU pragma: export
|
|
|
|
namespace nw4r {
|
|
namespace db {
|
|
|
|
typedef struct {
|
|
u16 error;
|
|
OSContext *ctx;
|
|
u32 dsisr;
|
|
u32 dar;
|
|
} ExceptionCallbackParam;
|
|
|
|
void Exception_Init();
|
|
ConsoleHandle Exception_SetConsole(ConsoleHandle, const _GXRenderModeObj *);
|
|
ConsoleHandle Exception_GetConsole();
|
|
void Exception_SetUserCallback(bool (*)(ConsoleHandle, void *), void *);
|
|
u16 Exception_SetDisplayInfo(u16 newInfo);
|
|
|
|
} // namespace db
|
|
} // namespace nw4r
|
|
|
|
#endif
|