diff options
author | midipix <writeonce@midipix.org> | 2019-01-26 21:13:44 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-01-26 17:47:01 -0500 |
commit | faeb2359bdab1bfa37904d58cec35a8c1be1b983 (patch) | |
tree | 9c634df883af4a043dae1265720ea7693d00f55f /arch/nt32 | |
parent | 613385c24db2aeb655a8b16eada8029677dcb108 (diff) | |
download | mmglue-faeb2359bdab1bfa37904d58cec35a8c1be1b983.tar.bz2 mmglue-faeb2359bdab1bfa37904d58cec35a8c1be1b983.tar.xz |
psxglue.h: struct __psx_context: re-define .usrmain as a function pointer.
Diffstat (limited to 'arch/nt32')
-rw-r--r-- | arch/nt32/psxglue.h | 2 |
1 files changed, 1 insertions, 1 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( |