changeset 16:46fbd218a689 src

Fix a const problem.
author jcdutton
date Wed, 10 Apr 2002 16:40:52 +0000
parents 74aee0b81da0
children a68c6da98b73
files vm.c vm.h
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vm.c	Wed Apr 10 13:33:12 2002 +0000
+++ b/vm.c	Wed Apr 10 16:40:52 2002 +0000
@@ -162,7 +162,7 @@
   return vm->dvd;
 }
 
-int vm_reset(vm_t *vm, char *dvdroot) /*  , register_t regs) */ { 
+int vm_reset(vm_t *vm, const char *dvdroot) /*  , register_t regs) */ { 
   /*  Setup State */
   memset((vm->state).registers.SPRM, 0, sizeof(uint16_t)*24);
   memset((vm->state).registers.GPRM, 0, sizeof((vm->state).registers.GPRM));
@@ -1569,6 +1569,9 @@
 
 /*
  * $Log$
+ * Revision 1.8  2002/04/10 16:40:52  jcdutton
+ * Fix a const problem.
+ *
  * Revision 1.7  2002/04/10 13:09:40  jcdutton
  * Some improvements to decoder.c
  * Registers should be updated correctly now, but still needs checking.
--- a/vm.h	Wed Apr 10 13:33:12 2002 +0000
+++ b/vm.h	Wed Apr 10 16:40:52 2002 +0000
@@ -105,7 +105,7 @@
 int vm_jump_prog(vm_t *vm, int pr);
 
 /* Other calls */
-int vm_reset(vm_t *vm, char *dvdroot); /*  , register_t regs); */
+int vm_reset(vm_t *vm, const char *dvdroot); /*  , register_t regs); */
 int vm_start(vm_t *vm);
 int vm_eval_cmd(vm_t *vm, vm_cmd_t *cmd);
 int vm_get_next_cell(vm_t *vm);