forked from KolibriOS/kolibrios
mem_Init() initialized default
git-svn-id: svn://kolibrios.org@5651 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
11ba643c80
commit
1589fb5312
@ -127,7 +127,6 @@ void main()
|
||||
strcpy(#menu_text_area1.sub_menu4, MENU1_SUBMENU4);
|
||||
menu_text_area1.end = 0;
|
||||
|
||||
mem_Init();
|
||||
load_dll(boxlib, #box_lib_init,0);
|
||||
load_dll(libio, #libio_init,1);
|
||||
load_dll(Proc_lib, #OpenDialog_init,0);
|
||||
|
@ -164,7 +164,6 @@ void main()
|
||||
{
|
||||
int id, key, mouse_clicked;
|
||||
|
||||
mem_Init();
|
||||
SetEventMask(0x27);
|
||||
load_dll(boxlib, #box_lib_init,0);
|
||||
list[SKINS].current = list[WALLPAPERS].current = -1;
|
||||
|
@ -122,7 +122,6 @@ void main()
|
||||
int half_scroll_size;
|
||||
int scroll_used=0, show_menu;
|
||||
|
||||
mem_Init();
|
||||
CursorPointer.Load(#CursorFile);
|
||||
load_dll(boxlib, #box_lib_init,0);
|
||||
load_dll(libio, #libio_init,1);
|
||||
|
@ -34,7 +34,7 @@ edit_box edit1= {200,20,16,0xffffff,0x94AECE,0x94AECE,0x94AECE,0,248,#edword,#mo
|
||||
void main()
|
||||
{
|
||||
int id, key;
|
||||
mem_Init();
|
||||
|
||||
load_dll(boxlib, #box_lib_init,0);
|
||||
|
||||
dict_folder = abspath(DICT_DIRECROTY);
|
||||
|
@ -48,7 +48,6 @@ void main()
|
||||
char filepath[4096];
|
||||
char notify_message[4296];
|
||||
|
||||
mem_Init();
|
||||
load_dll(boxlib, #box_lib_init,0);
|
||||
load_dll(libio, #libio_init,1);
|
||||
load_dll(libHTTP, #http_lib_init,1);
|
||||
|
@ -52,7 +52,6 @@ void main()
|
||||
int key;
|
||||
dword s1,s2, s3, s4, sides_w,i;
|
||||
|
||||
mem_Init();
|
||||
WIN_SIZE_X=GetScreenWidth()+1;
|
||||
WIN_SIZE_Y=GetScreenHeight()+1;
|
||||
PANEL_X=WIN_SIZE_X-PANEL_SIZE_X/2;
|
||||
|
@ -179,7 +179,7 @@ void main()
|
||||
char IPC_BUF[10];
|
||||
dword tmp;
|
||||
rand_n = random(40);
|
||||
mem_Init();
|
||||
|
||||
load_dll(boxlib, #box_lib_init,0);
|
||||
load_dll(libini, #lib_init,1);
|
||||
eolite_ini_path = abspath("Eolite.ini");
|
||||
|
@ -6,7 +6,7 @@ void main()
|
||||
{
|
||||
int id, key, i;
|
||||
dword file;
|
||||
mem_Init();
|
||||
|
||||
io.dir.load(0,DIR_ONLYREAL);
|
||||
loop()
|
||||
{
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
mem_Init();
|
||||
|
||||
SetAddApplDir("kolibrios", abspath("kolibrios")+1);
|
||||
RunProgram("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/In the wind there is longing.png");
|
||||
copyf(abspath("tmp"), "/tmp0/1");
|
||||
|
@ -12,7 +12,6 @@ void main()
|
||||
char install_path[4096];
|
||||
signed int result;
|
||||
|
||||
mem_Init();
|
||||
pause(200);
|
||||
GetDir(#dirbuf, #fcount, "/", DIRS_ONLYREAL);
|
||||
|
||||
|
@ -959,7 +959,14 @@ void ______INIT______()
|
||||
//program_path_length = strlen(I_Path);
|
||||
MOUSE_TIME = 50; //Default 500 ms.
|
||||
__generator = GetStartTime();
|
||||
//mem_Init();
|
||||
|
||||
$push ebx
|
||||
$mov eax, 68
|
||||
$mov ebx, 11
|
||||
$int 0x40
|
||||
|
||||
$pop ebx
|
||||
|
||||
main();
|
||||
}
|
||||
______STOP______:
|
||||
|
@ -100,7 +100,7 @@ char version[]=" WebView 0.1";
|
||||
#include "parselist.c"
|
||||
|
||||
void main() {
|
||||
mem_Init();
|
||||
|
||||
CursorPointer.Load(#CursorFile);
|
||||
load_dll(boxlib, #box_lib_init,0);
|
||||
load_dll(network_lib, #network_lib_init,0);
|
||||
|
@ -56,7 +56,6 @@ struct mouse_cfg1 {
|
||||
void main() {
|
||||
char id, old_button_clicked;
|
||||
|
||||
mem_Init();
|
||||
load_dll(boxlib, #box_lib_init,0);
|
||||
|
||||
LoadCfg();
|
||||
|
@ -118,7 +118,6 @@ void main()
|
||||
//emulate multithread :)
|
||||
while (GetPixelColor(SCREEN_SIZE_X-1, SCREEN_SIZE_X, WIN_Y)==0x333333) WIN_Y+=WIN_SIZE_Y+17;
|
||||
|
||||
mem_Init();
|
||||
shadow_buf_24 = malloc(WIN_SIZE_X*WIN_SIZE_Y*3);
|
||||
shadow_buf_32 = malloc(WIN_SIZE_X*WIN_SIZE_Y*4+8);
|
||||
lighter_pixel1 = malloc(3);
|
||||
|
@ -92,7 +92,6 @@ void main()
|
||||
{
|
||||
dword id, key;
|
||||
|
||||
mem_Init();
|
||||
load_dll(libini, #lib_init,1);
|
||||
load_dll(boxlib, #box_lib_init,0);
|
||||
|
||||
|
@ -63,7 +63,7 @@ void load_config()
|
||||
void main()
|
||||
{
|
||||
dword id, key;
|
||||
mem_Init();
|
||||
|
||||
load_dll(libio, #libio_init,1);
|
||||
load_dll(libimg, #libimg_init,1);
|
||||
load_dll(libini, #lib_init,1);
|
||||
|
@ -38,7 +38,6 @@ void main()
|
||||
{
|
||||
int id, key;
|
||||
|
||||
mem_Init();
|
||||
load_dll(libtruetype, #truetype, 1);
|
||||
load_dll(Proc_lib, #OpenDialog_init,0);
|
||||
OpenDialog_init stdcall (#o_dialog);
|
||||
|
Loading…
Reference in New Issue
Block a user