diff options
author | midipix <writeonce@midipix.org> | 2019-05-30 18:53:02 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-06-02 00:39:02 +0000 |
commit | da370a47c267742ff52022f49a0a27475fad9193 (patch) | |
tree | d61a253c484fbeb95e17daeaf55fd43c90cee0ae /src/arch | |
parent | 11620137f8123afaa9a9a882839f8c7ac7509770 (diff) | |
download | mmglue-da370a47c267742ff52022f49a0a27475fad9193.tar.bz2 mmglue-da370a47c267742ff52022f49a0a27475fad9193.tar.xz |
psxglue.h: update struct __psx_vtbl (psxscl) to match member names in psxscl.
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/nt64/crt_glue.c | 2 | ||||
-rw-r--r-- | src/arch/nt64/syscall_disp.c | 2 | ||||
-rw-r--r-- | src/arch/nt64/vtbl.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/nt64/crt_glue.c b/src/arch/nt64/crt_glue.c index db5d3a6..cd35d52 100644 --- a/src/arch/nt64/crt_glue.c +++ b/src/arch/nt64/crt_glue.c @@ -95,7 +95,7 @@ void __libc_entry_routine( __global_dtors_fn = __psx_vtbl->do_global_dtors_fn; /* enter libc */ - __psx_vtbl->start_main(argc,argv,__libc_start_main); + __psx_vtbl->mm_start_main(argc,argv,__libc_start_main); /* guard */ a_crash(); diff --git a/src/arch/nt64/syscall_disp.c b/src/arch/nt64/syscall_disp.c index 31baddb..61ff807 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,size); + __psx_vtbl->mm_unmapself(base,size); } uintptr_t __syscall_disp(long n, diff --git a/src/arch/nt64/vtbl.c b/src/arch/nt64/vtbl.c index 751990b..ad0a0e9 100644 --- a/src/arch/nt64/vtbl.c +++ b/src/arch/nt64/vtbl.c @@ -19,7 +19,7 @@ long __syscall_alert(long n) __lmsg[35] = '0' + n % 10; n /= 10; __lmsg[34] = '0' + n % 10; - __psx_vtbl->log_output( + __psx_vtbl->mm_log_output( __lmsg, sizeof(__lmsg)); |