loadPcxStage1(file, &result);
\r
/* allocate the buffer */\r
- bufSize = ((dword)result.width * result.height);
+ bufSize = (result.width * result.height);
result.data = malloc((bufSize));
/*0000printf("Size of block is %u bytes\n", _msize(result.data));
printf("Size of bufSize is %lu bytes\n", bufSize);
/* create the map */\r
//0000 printf("Total used @ before map load: %zu\n", oldfreemem-GetFreeSize());
fprintf(stderr, "testing~\n");\r
- loadmap("data/test.map", &map);\r
+ loadmap("data/test.map", &map);
+ fprintf(stderr, "yay map loaded~~\n");\r
//---- map = allocMap(map.width,map.height); //20x15 is the resolution of the screen you can make maps smaller than 20x15 but the null space needs to be drawn properly\r
//if(isEMS()) printf("%d tesuto\n", coretotalEMS());\r
//---- initMap(&map);\r