summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-26 20:26:33 +0000
committermidipix <writeonce@midipix.org>2019-01-26 17:47:01 -0500
commit51a0100813ebf2f40177b6139cd1429d62535bdb (patch)
treea7f1d1512af888d28ff40f30044ab07566ba43c2 /src
parent62780c3eb8527fa8578cb86ad460e0da08c06358 (diff)
downloadmmglue-51a0100813ebf2f40177b6139cd1429d62535bdb.tar.bz2
mmglue-51a0100813ebf2f40177b6139cd1429d62535bdb.tar.xz
psxglue.h: struct __psx_context: renamed .refaddr --> .usrmain.
Diffstat (limited to 'src')
-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 a28273e..eb5cc6a 100644
--- a/src/arch/nt32/crt_glue.c
+++ b/src/arch/nt32/crt_glue.c
@@ -65,7 +65,7 @@ void __libc_entry_routine(
/* ctx init */
ctx.size = sizeof(ctx);
ctx.options = options;
- ctx.refaddr = __main;
+ ctx.usrmain = __main;
ctx.ldsoaddr = _init;
ctx.ctty = __ctty;
ctx.pthread_create_fn = pthread_create;
diff --git a/src/arch/nt64/crt_glue.c b/src/arch/nt64/crt_glue.c
index a28273e..eb5cc6a 100644
--- a/src/arch/nt64/crt_glue.c
+++ b/src/arch/nt64/crt_glue.c
@@ -65,7 +65,7 @@ void __libc_entry_routine(
/* ctx init */
ctx.size = sizeof(ctx);
ctx.options = options;
- ctx.refaddr = __main;
+ ctx.usrmain = __main;
ctx.ldsoaddr = _init;
ctx.ctty = __ctty;
ctx.pthread_create_fn = pthread_create;