Fix NAND file moves across filesystems

This commit is contained in:
patchzyy
2026-09-07 22:33:52 +02:00
parent a135beb201
commit 58bfd32022
4 changed files with 205 additions and 1 deletions
+2 -1
View File
@@ -3,6 +3,7 @@
// Shared state and helpers live in nand_internal.h.
#include "nand_internal.h"
#include "nand_move.h"
// ============================================================================
// Local helpers
@@ -378,7 +379,7 @@ extern "C" int32_t NANDMove_HLE(uint32_t srcPathPtr, uint32_t dstPathPtr) {
}
std::error_code ec;
std::filesystem::rename(srcHost, dstHost, ec);
RuntimeNandMove::Move(srcHost, dstHost, ec);
if (!ec) {
return NAND_RESULT_OK;
}