[Rpcemu] Patch: Make HostFS indicate *Opt is unimplemented.

Ralph Corderoy ralph at inputplus.co.uk
Sat May 29 15:44:07 PDT 2010


Hi,

HostFS doesn't implement setting the drive's boot option.  A patch from
last year to have HostFS say it isn't implemented doesn't seem to have
been applied.  Here it is again updated to match the latest code.

Cheers,
Ralph.


diff -r 02cb887ed259 src/hostfs.c
--- a/src/hostfs.c	Sat May 29 14:15:29 2010 +0100
+++ b/src/hostfs.c	Sat May 29 23:41:57 2010 +0100
@@ -1840,6 +1840,12 @@ hostfs_func(ARMul_State *state)
     hostfs_func_0_chdir(state);
     break;
 
+  case 7:
+    dbug_hostfs("\tSet boot option.  *Opt %d %d\n", state->Reg[1],
+        state->Reg[2]);
+    state->Reg[9] = NOT_IMPLEMENTED;
+    break;
+
   case 8:
     hostfs_func_8_rename(state);
     break;



More information about the Rpcemu mailing list