From 2d6c6593af607aed76e0a9d4d908589490de4640 Mon Sep 17 00:00:00 2001 From: suchmememanyskill Date: Mon, 2 Aug 2021 00:14:43 +0200 Subject: [PATCH] i forgot COPY_MODE_PRINT at FileCopy --- source/script/standardLibrary.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/script/standardLibrary.c b/source/script/standardLibrary.c index 3f4022b..48b4f56 100644 --- a/source/script/standardLibrary.c +++ b/source/script/standardLibrary.c @@ -274,7 +274,7 @@ ClassFunction(stdPause){ // Takes [str, str]. Returns int (0=success). 0: src path, 1: dst path ClassFunction(stdFileCopy){ - ErrCode_t e = FileCopy(args[0]->string.value, args[1]->string.value, 0); + ErrCode_t e = FileCopy(args[0]->string.value, args[1]->string.value, COPY_MODE_PRINT); return newIntVariablePtr(e.err); } @@ -507,6 +507,8 @@ STUBBED(stdGetCwd) STUBBED(stdPower) STUBBED(stdSetPrintPos) STUBBED(stdSetPixels) +STUBBED(stdIsPatched) +STUBBED(stdHwType) #endif u8 oneIntoneFunction[] = { IntClass, FunctionClass };