Commit MetaInfo

Revision27341929f20173735232f3af6fe88a6176e2f7e6 (tree)
Time2021-09-30 22:04:35
Authorsparky4 <sparky4@cock...>
Commitersparky4

Log Message

added a file which explains something important

Change Summary

Incremental Difference

--- /dev/null
+++ b/fix_this.txt
@@ -0,0 +1,39 @@
1+DO NOT USE MALLOC() OUTSIDE OF 16_HC AND 16_MM USE THE MEMORY MANAGER
2+
3+
4+
5+src/0croll.c: result.data = malloc(sizeof(byte) * w * h);
6+src/0croll.c: map->tiles = malloc(sizeof(tiles_t));
7+src/0croll.c: map->tiles->data = malloc(sizeof(bitmap_t));
8+src/0croll.c: map->tiles->data->data = malloc((TILEWH*2)*TILEWH);
9+src/0tesuto.c: buffer = malloc(bufsz);
10+src/1croll.c: result.data = malloc(sizeof(byte) * w * h);
11+src/1croll.c: map->tiles = malloc(sizeof(tiles_t));
12+src/1croll.c: map->tiles->data = malloc(sizeof(bitmap_t));
13+src/1croll.c: map->tiles->data->data = malloc((TILEWH*2)*TILEWH);
14+src/tesuto.c: buffer = malloc(bufsz);
15+src/vrldbg.c: base = raw = malloc(rawlen);
16+src/vrstest.c: vrl_line_offsets = malloc(sizeof(vrl1_vgax_offset_t *)*num_of_vrl);
17+src/vrstest.c: enti.spri.sprite_vrl_cont = malloc(sizeof(struct vrl_container));*/
18+src/xcroll.c: //----gvar.player[0].enti.spri.spritesheet = malloc(sizeof(struct vrs_container));
19+src/lib/16_head.c: if ((retstr = malloc(strlen (mystr) + 1)) == NULL)
20+src/lib/16_map.c: map->layerdata[k].data = malloc(sizeof(byte) * t[i+1].size);//TODO: USE MM_ CA_ AND PM_
21+src/lib/16_map.c: //map->layerdata[k].layername = malloc(sizeof(byte) * MAPLNAMESIZE);//TODO: USE MM_ CA_ AND PM_
22+src/lib/16_map.c: map->tiles = malloc(sizeof(tiles_t));//TODO: USE MM_ CA_ AND PM_
23+src/lib/16_map.c: js = malloc(file_s);//TODO: USE MM_ CA_ AND PM_
24+src/lib/16_map.c: fprintf(stderr, "malloc(): errno = %d", 2);
25+src/lib/16_map.c: tok = malloc(tokcount*sizeof(jsmntok_t));//TODO: USE MM_ CA_ AND PM_
26+src/lib/16_map.c: tok = malloc(tokcount*sizeof(jsmntok_t));//TODO: USE MM_ CA_ AND PM_
27+src/lib/16_snd.c: gvar->ca.sd.imf_music = malloc(len);
28+src/lib/16_spri.c: vrl_line_offsets = malloc(sizeof(vrl1_vgax_offset_t *)*num_of_vrl);//TODO: USE MM_ CA_ AND PM_
29+src/lib/16_spri.c: line_offsets = malloc(sizeof(vrl1_vgax_offset_t *));//TODO: USE MM_ CA_ AND PM_
30+src/lib/bitmapl.c: ptr = _fmalloc(768);
31+src/lib/bitmapl.c: result.data = malloc(bufSize);
32+src/lib/bitmapl.c: ts.data = _fmalloc(sizeof(byte*) * ts.ntiles);
33+src/lib/bitmapl.c: ts.data[0] = _fmalloc(sizeof(byte) * ts.ntiles * twidth * theight);
34+src/lib/scroll16.c: map->tiles = malloc(sizeof(tiles_t));
35+src/lib/scroll16.c: map->tiles->spri = malloc(sizeof(sprite_t));
36+src/lib/scroll16.c: map->tiles->spri->sprite_vrl_cont.buffer = malloc((TILEWH*2)*TILEWH);
37+src/lib/vgmsnd/fmopl.c: ptr = (char *)malloc(state_size);
38+src/lib/vgmsnd/fmopl.c: Y8950->deltat->memory = (UINT8*)realloc(Y8950->deltat->memory, ROMSize);
39+src/lib/vgmsnd/vgmSnd.c: vgmFile->data = (UINT8*)malloc(vgmFile->dataLen);
Show on old repository browser