i forgot COPY_MODE_PRINT at FileCopy

This commit is contained in:
suchmememanyskill 2021-08-02 00:14:43 +02:00
parent c9bb7e7766
commit 2d6c6593af
1 changed files with 3 additions and 1 deletions

View File

@ -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 };