Browse Source

Setting the memoryOffset for the memory backend could be useful...

Godzil 1 year ago
parent
commit
804fc2b49b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      platform/memory.c

+ 2 - 0
platform/memory.c

@@ -37,6 +37,8 @@ miniffs_t *miniffs_openfs(uintptr_t address)
         goto free_and_exit;
     }
 
+    fs->memoryOffset = (void *)address;
+
     goto exit;
 
 free_and_exit: