From 804fc2b49bc95fae30b412035b7359d9cf5f0646 Mon Sep 17 00:00:00 2001 From: Godzil Date: Fri, 27 May 2022 11:21:02 +0100 Subject: [PATCH] Setting the memoryOffset for the memory backend could be useful... --- platform/memory.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/memory.c b/platform/memory.c index c9e9b3d..7e8e55b 100644 --- a/platform/memory.c +++ b/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: