i forgot COPY_MODE_PRINT at FileCopy
This commit is contained in:
@@ -274,7 +274,7 @@ ClassFunction(stdPause){
|
|||||||
|
|
||||||
// Takes [str, str]. Returns int (0=success). 0: src path, 1: dst path
|
// Takes [str, str]. Returns int (0=success). 0: src path, 1: dst path
|
||||||
ClassFunction(stdFileCopy){
|
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);
|
return newIntVariablePtr(e.err);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -507,6 +507,8 @@ STUBBED(stdGetCwd)
|
|||||||
STUBBED(stdPower)
|
STUBBED(stdPower)
|
||||||
STUBBED(stdSetPrintPos)
|
STUBBED(stdSetPrintPos)
|
||||||
STUBBED(stdSetPixels)
|
STUBBED(stdSetPixels)
|
||||||
|
STUBBED(stdIsPatched)
|
||||||
|
STUBBED(stdHwType)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
u8 oneIntoneFunction[] = { IntClass, FunctionClass };
|
u8 oneIntoneFunction[] = { IntClass, FunctionClass };
|
||||||
|
|||||||
Reference in New Issue
Block a user