summaryrefslogtreecommitdiffhomepage
path: root/src/arch
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-26 13:46:58 -0500
committermidipix <writeonce@midipix.org>2019-01-26 13:46:58 -0500
commit6c368a18680bb2d1625052f21de7eeacb640c8f1 (patch)
tree6c7d5ce968a922814b7496ca236bbe0b98519cae /src/arch
parent0bbce13324169a3b87f36bcbdec311b4a227e6e2 (diff)
downloadmmglue-6c368a18680bb2d1625052f21de7eeacb640c8f1.tar.bz2
mmglue-6c368a18680bb2d1625052f21de7eeacb640c8f1.tar.xz
psxglue.h: updated struct __psx_context to match libpsxscl.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/nt32/crt_glue.c2
-rw-r--r--src/arch/nt64/crt_glue.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/nt32/crt_glue.c b/src/arch/nt32/crt_glue.c
index c5af4b0..a28273e 100644
--- a/src/arch/nt32/crt_glue.c
+++ b/src/arch/nt32/crt_glue.c
@@ -66,7 +66,7 @@ void __libc_entry_routine(
ctx.size = sizeof(ctx);
ctx.options = options;
ctx.refaddr = __main;
- ctx.libcaddr = _init;
+ ctx.ldsoaddr = _init;
ctx.ctty = __ctty;
ctx.pthread_create_fn = pthread_create;
ctx.pthread_surrogate_fn= __pthread_surrogate_init;
diff --git a/src/arch/nt64/crt_glue.c b/src/arch/nt64/crt_glue.c
index c5af4b0..a28273e 100644
--- a/src/arch/nt64/crt_glue.c
+++ b/src/arch/nt64/crt_glue.c
@@ -66,7 +66,7 @@ void __libc_entry_routine(
ctx.size = sizeof(ctx);
ctx.options = options;
ctx.refaddr = __main;
- ctx.libcaddr = _init;
+ ctx.ldsoaddr = _init;
ctx.ctty = __ctty;
ctx.pthread_create_fn = pthread_create;
ctx.pthread_surrogate_fn= __pthread_surrogate_init;