Some process work

This commit is contained in:
dbalatoni13 2025-04-03 14:01:35 +02:00
parent 6e53c813fc
commit 39549e415e
6 changed files with 18 additions and 21 deletions

View file

@ -1,9 +1,12 @@
#ifndef _GAME_JMP_H
#define _GAME_JMP_H
#ifdef TARGET_PC
#include <setjmp.h>
#else
#include "dolphin.h"
typedef struct JMPBUF {
typedef struct jmp_buf {
u32 lr;
u32 cr;
u32 sp;
@ -11,9 +14,10 @@ typedef struct JMPBUF {
u32 pad;
u32 regs[19];
double flt_regs[19];
} JMPBUF;
} jmp_buf;
s32 gcsetjmp(JMPBUF *jump);
s32 gclongjmp(JMPBUF *jump, s32 status);
s32 gcsetjmp(jmp_buf *jump);
s32 gclongjmp(jmp_buf *jump, s32 status);
#endif
#endif