fix for prior rev
git-svn-id: svn://kolibrios.org@6980 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
9e8243ee10
commit
759ee15fdf
@ -41,7 +41,7 @@
|
||||
{
|
||||
debugln("Error: CopyFile->GetFileInfo");
|
||||
}
|
||||
else if (GetFreeRAM() < CopyFile_atr.sizelo)
|
||||
else if (GetFreeRAM()-1024*1024 < CopyFile_atr.sizelo) //GetFreeRam-1Mb and convert to bytes
|
||||
{
|
||||
debugln("Error: CopyFile->File size is bigger than RAM avilable");
|
||||
error = 30;
|
||||
|
@ -133,7 +133,7 @@ inline fastcall dword GetFreeRAM()
|
||||
$mov eax, 18
|
||||
$mov ebx, 16
|
||||
$int 0x40
|
||||
//return eax = ðàçìåð ñâîáîäíîé ïàìÿòè â êèëîáàéòàõ
|
||||
//return eax = free RAM in Kb
|
||||
}
|
||||
|
||||
inline fastcall dword LoadDriver(ECX) //ECX - èìÿ äðàéâåðà
|
||||
|
Loading…
Reference in New Issue
Block a user