mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-17 22:45:21 +00:00
Match and link OSContext, add ability to turn off frank
This commit is contained in:
@@ -132,6 +132,8 @@ extern "C" {
|
||||
#define OS_CONTEXT_PSF31 704
|
||||
#define OS_CONTEXT_STATE_EXC 0x02u
|
||||
|
||||
#define OS_CONTEXT_STATE_FPSAVED 0x01u
|
||||
|
||||
typedef struct OSContext {
|
||||
u32 gpr[32];
|
||||
u32 cr;
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define __OS_EXCEPTION_FLOATING_POINT 7
|
||||
|
||||
typedef u8 __OSException;
|
||||
typedef void (*__OSExceptionHandler)(__OSException exception, OSContext* context);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user