From f7800ece1e67606c78686e3a7f535edae8f748c9 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Sun, 17 Feb 2013 15:45:47 -0500 Subject: [PATCH] fix mpw - dev ptr is needed in MacProgramInfo --- mpw/mpw.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mpw/mpw.cpp b/mpw/mpw.cpp index 52be834..8e692c6 100644 --- a/mpw/mpw.cpp +++ b/mpw/mpw.cpp @@ -286,6 +286,9 @@ namespace MPW // io table - stdin/stdout/stderr memoryWriteLong(ioptr, mpi + 0x1c); + // device table + memoryWriteLong(devptr, mpi + 0x20); + return 0; }