diff options
author | midipix <writeonce@midipix.org> | 2019-01-26 13:52:26 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-01-26 13:52:26 -0500 |
commit | 62780c3eb8527fa8578cb86ad460e0da08c06358 (patch) | |
tree | d60c3677c34d9de965abf6979fcf108442320d38 | |
parent | 6c368a18680bb2d1625052f21de7eeacb640c8f1 (diff) | |
download | mmglue-62780c3eb8527fa8578cb86ad460e0da08c06358.tar.bz2 mmglue-62780c3eb8527fa8578cb86ad460e0da08c06358.tar.xz |
psxglue.h: updated struct __psx_vtbl to match libpsxscl.
-rw-r--r-- | arch/nt32/psxglue.h | 2 | ||||
-rw-r--r-- | arch/nt64/psxglue.h | 2 | ||||
-rw-r--r-- | src/arch/nt32/syscall_disp.c | 2 | ||||
-rw-r--r-- | src/arch/nt64/syscall_disp.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/arch/nt32/psxglue.h b/arch/nt32/psxglue.h index 1bf6ed3..b882fbc 100644 --- a/arch/nt32/psxglue.h +++ b/arch/nt32/psxglue.h @@ -22,7 +22,7 @@ struct __psx_vtbl { void (*do_global_dtors_fn) (); int (*start_main) (void *, int, char **, int (*)(void *, int, char **)); void (*convert_thread) (void); - void (*unmapself) (void *, void *); + void (*unmapself) (void *, size_t); ssize_t (*log_output) (void *, ssize_t); }; diff --git a/arch/nt64/psxglue.h b/arch/nt64/psxglue.h index 1bf6ed3..b882fbc 100644 --- a/arch/nt64/psxglue.h +++ b/arch/nt64/psxglue.h @@ -22,7 +22,7 @@ struct __psx_vtbl { void (*do_global_dtors_fn) (); int (*start_main) (void *, int, char **, int (*)(void *, int, char **)); void (*convert_thread) (void); - void (*unmapself) (void *, void *); + void (*unmapself) (void *, size_t); ssize_t (*log_output) (void *, ssize_t); }; diff --git a/src/arch/nt32/syscall_disp.c b/src/arch/nt32/syscall_disp.c index 9ea5966..31baddb 100644 --- a/src/arch/nt32/syscall_disp.c +++ b/src/arch/nt32/syscall_disp.c @@ -8,7 +8,7 @@ extern struct __psx_vtbl * __psx_vtbl; void __unmapself(void * base, size_t size) { - __psx_vtbl->unmapself(base,(void *)size); + __psx_vtbl->unmapself(base,size); } uintptr_t __syscall_disp(long n, diff --git a/src/arch/nt64/syscall_disp.c b/src/arch/nt64/syscall_disp.c index 9ea5966..31baddb 100644 --- a/src/arch/nt64/syscall_disp.c +++ b/src/arch/nt64/syscall_disp.c @@ -8,7 +8,7 @@ extern struct __psx_vtbl * __psx_vtbl; void __unmapself(void * base, size_t size) { - __psx_vtbl->unmapself(base,(void *)size); + __psx_vtbl->unmapself(base,size); } uintptr_t __syscall_disp(long n, |