\r
== near ==\r
\r
- USED block at 12c6:c706 of size 12\r
- USED block at 12c6:c712 of size 322\r
- USED block at 12c6:c854 of size 52\r
- USED block at 12c6:c888 of size 20\r
- USED block at 12c6:c89c of size 20\r
- USED block at 12c6:c8b0 of size 20\r
- USED block at 12c6:c8c4 of size 20\r
- USED block at 12c6:c8d8 of size 20\r
- FREE block at 12c6:c8ec of size 14096\r
+ USED block at 1e27:da06 of size 12\r
+ USED block at 1e27:da12 of size 320\r
+ USED block at 1e27:db52 of size 52\r
+ USED block at 1e27:db86 of size 20\r
+ USED block at 1e27:db9a of size 20\r
+ USED block at 1e27:dbae of size 20\r
+ USED block at 1e27:dbc2 of size 20\r
+ USED block at 1e27:dbd6 of size 20\r
+ FREE block at 1e27:dbea of size 9234\r
OK - end of heap\r
\r
== far ==\r
\r
- USED block at 22c7:0016 of size 136\r
- FREE block at 22c7:009e of size 48840\r
- USED block at 22c7:bf66 of size 20\r
- FREE block at 22c7:bf7a of size 16514\r
- FREE block at 32c8:0016 of size 65510\r
- FREE block at 42c9:0016 of size 65510\r
- FREE block at 52ca:0016 of size 65510\r
- FREE block at 62cb:0016 of size 65510\r
- FREE block at 72cc:0016 of size 65510\r
- FREE block at 82cd:0016 of size 65510\r
- FREE block at 92ce:0016 of size 49174\r
-OK - end of heap\r
+ USED block at 2e28:0016 of size 65342\r
+ USED block at 2e28:ff54 of size 20\r
+ USED block at 2e28:ff68 of size 136\r
+ FREE block at 2e28:fff0 of size 12\r
+ USED block at 3e29:0016 of size 66\r
+ USED block at 3e29:0058 of size 50\r
+ USED block at 3e29:008a of size 50\r
+ USED block at 3e29:00bc of size 50\r
+ USED block at 3e29:00ee of size 50\r
+ USED block at 3e29:0120 of size 50\r
+ USED block at 3e29:0152 of size 50\r
+ USED block at 3e29:0184 of size 50\r
+ USED block at 3e29:01b6 of size 50\r
+ USED block at 3e29:01e8 of size 50\r
+ USED block at 3e29:021a of size 50\r
+ USED block at 3e29:024c of size 50\r
+ USED block at 3e29:027e of size 50\r
+ FREE block at 3e29:02b0 of size 29552\r
+ USED block at 3e29:7620 of size 1202\r
+ USED block at 3e29:7ad2 of size 1202\r
+ USED block at 3e29:7f84 of size 1202\r
+ USED block at 3e29:8436 of size 22\r
+ FREE block at 3e29:844c of size 8202\r
+ FREE block at 3e29:a456 of size 3148\r
+ FREE block at 3e29:b0a2 of size 0\r
+ERROR - bad node in heap\r
\r
Memory Type Total Used Free\r
---------------- -------- -------- --------\r
-Near 14582 486 14096\r
-Far 48992 156 48836\r
+Near 9718 484 9234\r
+Far 45170 4256 40914\r
---------------- -------- -------- --------\r
-HC_coreleft = 14094\r
-HC_farcoreleft = 521664\r
-HC_GetNearFreeSize = 14096\r
-HC_GetFarFreeSize = 507588\r
-coreleft = 14094\r
-farcoreleft = 521664\r
+HC_coreleft = 9232\r
+HC_farcoreleft = 396888\r
+HC_GetNearFreeSize = 9234\r
+HC_GetFarFreeSize = 40914\r
+coreleft = 9232\r
+farcoreleft = 396888\r
stackavail = 23262\r
CAL_ExpandGrChunk (chunk,source);\r
\r
if (compressed>BUFFERSIZE)\r
- MM_FreePtr(&bigbufferseg);\r
+ MM_FreePtr (MEMPTRCONV bigbufferseg);\r
}\r
*/\r
\r
source = gvar->mm.bufferseg;\r
else\r
{\r
- MM_GetPtr(&bigbufferseg,compressed, gvar);\r
- MM_SetLock (&bigbufferseg,true, gvar);\r
+ MM_GetPtr(MEMPTRCONV bigbufferseg,compressed, gvar);\r
+ MM_SetLock (MEMPTRCONV bigbufferseg,true, gvar);\r
source = bigbufferseg;\r
}\r
\r
#endif\r
\r
if (compressed>BUFFERSIZE)\r
- MM_FreePtr(&bigbufferseg, gvar);\r
+ MM_FreePtr(MEMPTRCONV bigbufferseg, gvar);\r
}\r
}\r
\r
#ifndef VRS_USECAMMPM\r
vrl_line_offsets[i] = vrl1_vgax_genlineoffsets(curr_vrl, (byte *)curr_vrl + sizeof(struct vrl1_vgax_header), vrl_size);\r
#else\r
- enti->spri.spritesheet.vrl_line_offsets[i] = vrl1_vgax_genlineoffsets(curr_vrl, (byte *)curr_vrl + sizeof(struct vrl1_vgax_header), vrl_size);\r
+ enti->spri.spritesheet.vrl_line_offsets[i] = vrl1_vgax_genlineoffsets((struct vrl1_vgax_header *)curr_vrl, (byte *)curr_vrl + sizeof(struct vrl1_vgax_header), vrl_size);\r
#endif\r
}\r
#ifndef VRS_USECAMMPM\r
spri->curr_spri_id = anim_list[0].sprite_id;\r
spri->delay = anim_list[0].delay;\r
\r
- spri->curr_anim_list = anim_list;\r
+ spri->curr_anim_list = (struct vrs_animation_list_entry_t *)anim_list;\r
}\r
\r
int set_anim_by_id(struct sprite *spri, int anim_id)\r