From 3d9e03af554814bee10f112c2efa0b7f0b722489 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 18 May 2019 13:26:57 -1000 Subject: GLK: TADS2: Soooo much more implementation --- engines/glk/tads/tads2/file_io.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/glk/tads/tads2/file_io.cpp') diff --git a/engines/glk/tads/tads2/file_io.cpp b/engines/glk/tads/tads2/file_io.cpp index d82f67abea..bef91f10d2 100644 --- a/engines/glk/tads/tads2/file_io.cpp +++ b/engines/glk/tads/tads2/file_io.cpp @@ -963,14 +963,14 @@ static void fiord1(mcmcxdef *mctx, voccxdef *vctx, tokcxdef *tctx, } /* read binary file */ -void fiord(mcmcxdef *mctx, voccxdef *vctx, tokcxdef *tctx, char *fname, - char *exename, fiolcxdef *setupctx, objnum *preinit, uint *flagp, +void fiord(mcmcxdef *mctx, voccxdef *vctx, tokcxdef *tctx, const char *fname, + const char *exename, fiolcxdef *setupctx, objnum *preinit, uint *flagp, tokpdef *path, uchar **fmtsp, uint *fmtlp, uint *pcntptr, int flags, struct appctxdef *appctx, char *argv0) { osfildef *fp; ulong startofs; - char *display_fname; + const char *display_fname; /* presume there will be no need to run preinit */ *preinit = MCMONINV; @@ -1034,7 +1034,7 @@ void fiord(mcmcxdef *mctx, voccxdef *vctx, tokcxdef *tctx, char *fname, char suffix_lc[4]; char suffix_uc[4]; int i; - char *base_name; + const char *base_name; /* use the game or executable filename, as appropriate */ base_name = display_fname; -- cgit v1.2.3