forked from KolibriOS/kolibrios
Process: remove duplicated function
git-svn-id: svn://kolibrios.org@7357 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
6928eaa581
commit
66c2b8b255
@ -47,19 +47,12 @@ checkbox show_system = { T_SHOW_SYSTEM_PROCESSES, false };
|
||||
// //
|
||||
//===================================================//
|
||||
|
||||
void GetCpuFrequency() {
|
||||
EAX = 18;
|
||||
EBX = 5;
|
||||
$int 0x40
|
||||
maxcpu = EAX;
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
int btn;
|
||||
load_dll(boxlib, #box_lib_init,0);
|
||||
SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE + EVM_MOUSE_FILTER);
|
||||
GetCpuFrequency();
|
||||
maxcpu = GetCpuFrequency();
|
||||
loop()
|
||||
{
|
||||
WaitEventTimeout(50);
|
||||
|
Loading…
Reference in New Issue
Block a user