summaryrefslogtreecommitdiffhomepage
path: root/arch
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-26 21:13:44 +0000
committermidipix <writeonce@midipix.org>2019-01-26 17:47:01 -0500
commitfaeb2359bdab1bfa37904d58cec35a8c1be1b983 (patch)
tree9c634df883af4a043dae1265720ea7693d00f55f /arch
parent613385c24db2aeb655a8b16eada8029677dcb108 (diff)
downloadmmglue-faeb2359bdab1bfa37904d58cec35a8c1be1b983.tar.bz2
mmglue-faeb2359bdab1bfa37904d58cec35a8c1be1b983.tar.xz
psxglue.h: struct __psx_context: re-define .usrmain as a function pointer.
Diffstat (limited to 'arch')
-rw-r--r--arch/nt32/psxglue.h2
-rw-r--r--arch/nt64/psxglue.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/nt32/psxglue.h b/arch/nt32/psxglue.h
index 30fb884..8e32aae 100644
--- a/arch/nt32/psxglue.h
+++ b/arch/nt32/psxglue.h
@@ -37,7 +37,6 @@ struct __tlca_abi {
struct __psx_context {
int size;
int options;
- void * usrmain;
void * ldsoaddr;
const unsigned short * ctty;
void ** sys_vtbl;
@@ -47,6 +46,7 @@ struct __psx_context {
unsigned int teb_libc_idx;
void * pthread_surrogate_fn;
void * pthread_create_fn;
+ int (*usrmain)();
};
typedef int __psx_init_routine(
diff --git a/arch/nt64/psxglue.h b/arch/nt64/psxglue.h
index 30fb884..8e32aae 100644
--- a/arch/nt64/psxglue.h
+++ b/arch/nt64/psxglue.h
@@ -37,7 +37,6 @@ struct __tlca_abi {
struct __psx_context {
int size;
int options;
- void * usrmain;
void * ldsoaddr;
const unsigned short * ctty;
void ** sys_vtbl;
@@ -47,6 +46,7 @@ struct __psx_context {
unsigned int teb_libc_idx;
void * pthread_surrogate_fn;
void * pthread_create_fn;
+ int (*usrmain)();
};
typedef int __psx_init_routine(