aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/tads/tads2/file_io.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-05-18 13:26:57 -1000
committerPaul Gilbert2019-05-24 18:21:06 -0700
commit3d9e03af554814bee10f112c2efa0b7f0b722489 (patch)
treef174c8004d0c554dae124df63d874f78d2e88e5d /engines/glk/tads/tads2/file_io.cpp
parentfcb2592ec24f983c49f1e2e1b4f41cc9659a9229 (diff)
downloadscummvm-rg350-3d9e03af554814bee10f112c2efa0b7f0b722489.tar.gz
scummvm-rg350-3d9e03af554814bee10f112c2efa0b7f0b722489.tar.bz2
scummvm-rg350-3d9e03af554814bee10f112c2efa0b7f0b722489.zip
GLK: TADS2: Soooo much more implementation
Diffstat (limited to 'engines/glk/tads/tads2/file_io.cpp')
-rw-r--r--engines/glk/tads/tads2/file_io.cpp8
1 files changed, 4 insertions, 4 deletions
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;