Process: remove duplicated function

git-svn-id: svn://kolibrios.org@7357 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2018-09-13 20:33:53 +00:00
parent 6928eaa581
commit 66c2b8b255

View File

@ -47,19 +47,12 @@ checkbox show_system = { T_SHOW_SYSTEM_PROCESSES, false };
// // // //
//===================================================// //===================================================//
void GetCpuFrequency() {
EAX = 18;
EBX = 5;
$int 0x40
maxcpu = EAX;
}
void main() void main()
{ {
int btn; int btn;
load_dll(boxlib, #box_lib_init,0); load_dll(boxlib, #box_lib_init,0);
SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE + EVM_MOUSE_FILTER); SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE + EVM_MOUSE_FILTER);
GetCpuFrequency(); maxcpu = GetCpuFrequency();
loop() loop()
{ {
WaitEventTimeout(50); WaitEventTimeout(50);