diff --git a/data/common/lib/fs.obj b/data/common/lib/fs.obj index cd3e8721f9..41891db76b 100644 Binary files a/data/common/lib/fs.obj and b/data/common/lib/fs.obj differ diff --git a/programs/cmm/lib/obj/fs.h b/programs/cmm/lib/obj/fs.h index 6e961a5f25..5214e05fd4 100644 --- a/programs/cmm/lib/obj/fs.h +++ b/programs/cmm/lib/obj/fs.h @@ -18,6 +18,9 @@ dword read_pointer; dword read(dword path); + dword run_pointer; + dword run(dword path,arg); + dword move_pointer; byte move(dword path1,path2); @@ -42,6 +45,14 @@ return EAX; } +:dword FILE_SYSTEM_FUNCTION::run(dword path,arg) +{ + dword tmp1 = path1; + dword tmp2 = arg; + run_pointer stdcall(tmp1,tmp2); + return EAX; +} + :qword FILE_SYSTEM_FUNCTION::get_size(dword path) { dword tmp = path; @@ -75,6 +86,7 @@ fs.move_pointer = library.get("fs.move"); fs.copy_pointer = library.get("fs.copy"); fs.read_pointer = library.get("fs.read"); + fs.run_pointer = library.get("fs.execute"); __CHECK_FS__ = true; }