Home
last modified time | relevance | path

Searched refs:auto_malloc (Results 1 – 25 of 532) sorted by relevance

12345678910>>...22

/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/
H A Dfromanc2_vidhrdw.c459 fromanc2_videoram[0][0] = auto_malloc((64 * 64) * sizeof(data16_t)); in VIDEO_START()
460 fromanc2_videoram[0][1] = auto_malloc((64 * 64) * sizeof(data16_t)); in VIDEO_START()
461 fromanc2_videoram[0][2] = auto_malloc((64 * 64) * sizeof(data16_t)); in VIDEO_START()
462 fromanc2_videoram[0][3] = auto_malloc((64 * 64) * sizeof(data16_t)); in VIDEO_START()
463 fromanc2_videoram[1][0] = auto_malloc((64 * 64) * sizeof(data16_t)); in VIDEO_START()
468 fromanc2_paletteram[0] = auto_malloc(0x800 * 2); in VIDEO_START()
469 fromanc2_paletteram[1] = auto_malloc(0x800 * 2); in VIDEO_START()
522 fromanc2_paletteram[0] = auto_malloc(0x800 * 2); in VIDEO_START()
523 fromanc2_paletteram[1] = auto_malloc(0x800 * 2); in VIDEO_START()
571 fromanc2_paletteram[0] = auto_malloc(0x800 * 2); in VIDEO_START()
[all …]
H A Ddynax_vidhrdw.c549 if (!(dynax_pixmap[0][0] = auto_malloc(256*256))) return 1; in VIDEO_START()
550 if (!(dynax_pixmap[0][1] = auto_malloc(256*256))) return 1; in VIDEO_START()
551 if (!(dynax_pixmap[1][0] = auto_malloc(256*256))) return 1; in VIDEO_START()
552 if (!(dynax_pixmap[1][1] = auto_malloc(256*256))) return 1; in VIDEO_START()
553 if (!(dynax_pixmap[2][0] = auto_malloc(256*256))) return 1; in VIDEO_START()
554 if (!(dynax_pixmap[2][1] = auto_malloc(256*256))) return 1; in VIDEO_START()
555 if (!(dynax_pixmap[3][0] = auto_malloc(256*256))) return 1; in VIDEO_START()
556 if (!(dynax_pixmap[3][1] = auto_malloc(256*256))) return 1; in VIDEO_START()
566 if (!(dynax_pixmap[0][0] = auto_malloc(256*256))) return 1; in VIDEO_START()
567 if (!(dynax_pixmap[0][1] = auto_malloc(256*256))) return 1; in VIDEO_START()
[all …]
H A Dnmk16_vidhrdw.c91 spriteram_old = auto_malloc(spriteram_size); in VIDEO_START()
92 spriteram_old2 = auto_malloc(spriteram_size); in VIDEO_START()
116 spriteram_old = auto_malloc(spriteram_size); in VIDEO_START()
117 spriteram_old2 = auto_malloc(spriteram_size); in VIDEO_START()
137 spriteram_old = auto_malloc(spriteram_size); in VIDEO_START()
138 spriteram_old2 = auto_malloc(spriteram_size); in VIDEO_START()
158 spriteram_old = auto_malloc(spriteram_size); in VIDEO_START()
159 spriteram_old2 = auto_malloc(spriteram_size); in VIDEO_START()
181 spriteram_old = auto_malloc(spriteram_size); in VIDEO_START()
202 spriteram_old = auto_malloc(spriteram_size); in VIDEO_START()
[all …]
H A Dojankohs_vidhrdw.c297 ojankohs_videoram = auto_malloc(0x2000); in VIDEO_START()
298 ojankohs_colorram = auto_malloc(0x1000); in VIDEO_START()
299 ojankohs_paletteram = auto_malloc(0x800); in VIDEO_START()
309 ojankohs_videoram = auto_malloc(0x2000); in VIDEO_START()
310 ojankohs_colorram = auto_malloc(0x1000); in VIDEO_START()
311 ojankohs_paletteram = auto_malloc(0x800); in VIDEO_START()
321 ojankohs_videoram = auto_malloc(0x8000); in VIDEO_START()
322 ojankohs_paletteram = auto_malloc(0x20); in VIDEO_START()
H A Dnbmj9195_vidhrdw.c693 …if ((sailorws_videoram0 = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height * s… in VIDEO_START()
694 …if ((sailorws_videoram1 = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height * s… in VIDEO_START()
695 if ((sailorws_palette = auto_malloc(0x200 * sizeof(char))) == 0) return 1; in VIDEO_START()
696 if ((sailorws_paltbl0 = auto_malloc(0x1000 * sizeof(char))) == 0) return 1; in VIDEO_START()
697 if ((sailorws_paltbl1 = auto_malloc(0x1000 * sizeof(char))) == 0) return 1; in VIDEO_START()
710 …if ((sailorws_videoram0 = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height * s… in VIDEO_START()
711 if ((sailorws_palette = auto_malloc(0x200 * sizeof(char))) == 0) return 1; in VIDEO_START()
712 if ((sailorws_paltbl0 = auto_malloc(0x1000 * sizeof(char))) == 0) return 1; in VIDEO_START()
729 if ((mscoutm_palette = auto_malloc(0xc00 * sizeof(char))) == 0) return 1; in VIDEO_START()
730 if ((sailorws_paltbl0 = auto_malloc(0x1000 * sizeof(char))) == 0) return 1; in VIDEO_START()
[all …]
H A Dnemesis_vidhrdw.c281 char_dirty = auto_malloc(2048); in VIDEO_START()
286 sprite_dirty = auto_malloc(512); in VIDEO_START()
291 sprite3216_dirty = auto_malloc(256); in VIDEO_START()
296 sprite1632_dirty = auto_malloc(256); in VIDEO_START()
301 sprite3232_dirty = auto_malloc(128); in VIDEO_START()
306 sprite168_dirty = auto_malloc(1024); in VIDEO_START()
311 sprite816_dirty = auto_malloc(1024); in VIDEO_START()
316 sprite6464_dirty = auto_malloc(32); in VIDEO_START()
324 blank_characterdata = auto_malloc(32*8/8*(2048+1)); in VIDEO_START()
H A Dsuperqix_vidhrdw.c132 if ((paletteram = auto_malloc(256 * sizeof(UINT8))) == 0) in VIDEO_START()
135 if ((superqix_bitmapram = auto_malloc(0x7000 * sizeof(UINT8))) == 0) in VIDEO_START()
138 if ((superqix_bitmapram2 = auto_malloc(0x7000 * sizeof(UINT8))) == 0) in VIDEO_START()
141 if ((superqix_bitmapram_dirty = auto_malloc(0x7000 * sizeof(UINT8))) == 0) in VIDEO_START()
146 if ((superqix_bitmapram2_dirty = auto_malloc(0x7000 * sizeof(UINT8))) == 0) in VIDEO_START()
H A Dstactics_vidhrdw.c243 if ((dirty_videoram_b = (unsigned char *)auto_malloc(videoram_size)) == 0) return 1; in VIDEO_START()
244 if ((dirty_videoram_d = (unsigned char *)auto_malloc(videoram_size)) == 0) return 1; in VIDEO_START()
245 if ((dirty_videoram_e = (unsigned char *)auto_malloc(videoram_size)) == 0) return 1; in VIDEO_START()
246 if ((dirty_videoram_f = (unsigned char *)auto_malloc(videoram_size)) == 0) return 1; in VIDEO_START()
247 if ((dirty_chardata_b = (unsigned char *)auto_malloc(DIRTY_CHARDATA_SIZE)) == 0) return 1; in VIDEO_START()
248 if ((dirty_chardata_d = (unsigned char *)auto_malloc(DIRTY_CHARDATA_SIZE)) == 0) return 1; in VIDEO_START()
249 if ((dirty_chardata_e = (unsigned char *)auto_malloc(DIRTY_CHARDATA_SIZE)) == 0) return 1; in VIDEO_START()
250 if ((dirty_chardata_f = (unsigned char *)auto_malloc(DIRTY_CHARDATA_SIZE)) == 0) return 1; in VIDEO_START()
299 if ((beamdata = (unsigned char *)auto_malloc(BEAMDATA_SIZE)) == 0) return 1; in VIDEO_START()
H A Dnbmj8891_vidhrdw.c398 …if ((gionbana_videoram0 = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height * s… in VIDEO_START()
399 …if ((gionbana_videoram1 = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height * s… in VIDEO_START()
400 if ((gionbana_palette = auto_malloc(0x200 * sizeof(char))) == 0) return 1; in VIDEO_START()
401 if ((gionbana_paltbl = auto_malloc(0x800 * sizeof(char))) == 0) return 1; in VIDEO_START()
411 …if ((gionbana_videoram0 = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height * s… in VIDEO_START()
412 if ((gionbana_palette = auto_malloc(0x200 * sizeof(char))) == 0) return 1; in VIDEO_START()
413 if ((gionbana_paltbl = auto_malloc(0x800 * sizeof(char))) == 0) return 1; in VIDEO_START()
H A Dfromance_vidhrdw.c81 local_videoram[0] = auto_malloc(0x1000 * 3); in VIDEO_START()
82 local_videoram[1] = auto_malloc(0x1000 * 3); in VIDEO_START()
85 local_paletteram = auto_malloc(0x800 * 2); in VIDEO_START()
106 local_videoram[0] = auto_malloc(0x1000 * 3); in VIDEO_START()
107 local_videoram[1] = auto_malloc(0x1000 * 3); in VIDEO_START()
110 local_paletteram = auto_malloc(0x800 * 2); in VIDEO_START()
H A Dtaotaido_vidhrdw.c201 taotaido_spriteram_old = auto_malloc(0x2000); in VIDEO_START()
202 taotaido_spriteram_older = auto_malloc(0x2000); in VIDEO_START()
204 taotaido_spriteram2_old = auto_malloc(0x10000); in VIDEO_START()
205 taotaido_spriteram2_older = auto_malloc(0x10000); in VIDEO_START()
H A Dpunchout_vidhrdw.c231 if ((dirtybuffer = auto_malloc(videoram_size)) == 0) in VIDEO_START()
235 if ((dirtybuffer2 = auto_malloc(punchout_videoram2_size)) == 0) in VIDEO_START()
242 if ((bs1dirtybuffer = auto_malloc(punchout_bigsprite1ram_size)) == 0) in VIDEO_START()
249 if ((bs2dirtybuffer = auto_malloc(punchout_bigsprite2ram_size)) == 0) in VIDEO_START()
261 if ((dirtybuffer = auto_malloc(videoram_size)) == 0) in VIDEO_START()
265 if ((dirtybuffer2 = auto_malloc(punchout_videoram2_size)) == 0) in VIDEO_START()
272 if ((bs1dirtybuffer = auto_malloc(punchout_bigsprite1ram_size)) == 0) in VIDEO_START()
279 if ((bs2dirtybuffer = auto_malloc(punchout_bigsprite2ram_size)) == 0) in VIDEO_START()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/
H A Dfromanc2_vidhrdw.c459 fromanc2_videoram[0][0] = auto_malloc((64 * 64) * sizeof(data16_t)); in VIDEO_START()
460 fromanc2_videoram[0][1] = auto_malloc((64 * 64) * sizeof(data16_t)); in VIDEO_START()
461 fromanc2_videoram[0][2] = auto_malloc((64 * 64) * sizeof(data16_t)); in VIDEO_START()
462 fromanc2_videoram[0][3] = auto_malloc((64 * 64) * sizeof(data16_t)); in VIDEO_START()
463 fromanc2_videoram[1][0] = auto_malloc((64 * 64) * sizeof(data16_t)); in VIDEO_START()
468 fromanc2_paletteram[0] = auto_malloc(0x800 * 2); in VIDEO_START()
469 fromanc2_paletteram[1] = auto_malloc(0x800 * 2); in VIDEO_START()
522 fromanc2_paletteram[0] = auto_malloc(0x800 * 2); in VIDEO_START()
523 fromanc2_paletteram[1] = auto_malloc(0x800 * 2); in VIDEO_START()
571 fromanc2_paletteram[0] = auto_malloc(0x800 * 2); in VIDEO_START()
[all …]
H A Ddynax_vidhrdw.c518 if (!(dynax_pixmap[0][0] = auto_malloc(256*256))) return 1; in VIDEO_START()
519 if (!(dynax_pixmap[0][1] = auto_malloc(256*256))) return 1; in VIDEO_START()
520 if (!(dynax_pixmap[1][0] = auto_malloc(256*256))) return 1; in VIDEO_START()
521 if (!(dynax_pixmap[1][1] = auto_malloc(256*256))) return 1; in VIDEO_START()
522 if (!(dynax_pixmap[2][0] = auto_malloc(256*256))) return 1; in VIDEO_START()
523 if (!(dynax_pixmap[2][1] = auto_malloc(256*256))) return 1; in VIDEO_START()
524 if (!(dynax_pixmap[3][0] = auto_malloc(256*256))) return 1; in VIDEO_START()
525 if (!(dynax_pixmap[3][1] = auto_malloc(256*256))) return 1; in VIDEO_START()
535 if (!(dynax_pixmap[0][0] = auto_malloc(256*256))) return 1; in VIDEO_START()
536 if (!(dynax_pixmap[0][1] = auto_malloc(256*256))) return 1; in VIDEO_START()
[all …]
H A Dnmk16_vidhrdw.c102 spriteram_old = auto_malloc(0x1000); in VIDEO_START()
103 spriteram_old2 = auto_malloc(0x1000); in VIDEO_START()
127 spriteram_old = auto_malloc(0x1000); in VIDEO_START()
128 spriteram_old2 = auto_malloc(0x1000); in VIDEO_START()
148 spriteram_old = auto_malloc(0x1000); in VIDEO_START()
149 spriteram_old2 = auto_malloc(0x1000); in VIDEO_START()
169 spriteram_old = auto_malloc(0x1000); in VIDEO_START()
170 spriteram_old2 = auto_malloc(0x1000); in VIDEO_START()
192 spriteram_old = auto_malloc(0x1000); in VIDEO_START()
213 spriteram_old = auto_malloc(0x1000); in VIDEO_START()
[all …]
H A Dojankohs_vidhrdw.c297 ojankohs_videoram = auto_malloc(0x2000); in VIDEO_START()
298 ojankohs_colorram = auto_malloc(0x1000); in VIDEO_START()
299 ojankohs_paletteram = auto_malloc(0x800); in VIDEO_START()
309 ojankohs_videoram = auto_malloc(0x2000); in VIDEO_START()
310 ojankohs_colorram = auto_malloc(0x1000); in VIDEO_START()
311 ojankohs_paletteram = auto_malloc(0x800); in VIDEO_START()
321 ojankohs_videoram = auto_malloc(0x8000); in VIDEO_START()
322 ojankohs_paletteram = auto_malloc(0x20); in VIDEO_START()
H A Dnbmj9195_vidhrdw.c693 …if ((sailorws_videoram0 = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height * s… in VIDEO_START()
694 …if ((sailorws_videoram1 = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height * s… in VIDEO_START()
695 if ((sailorws_palette = auto_malloc(0x200 * sizeof(char))) == 0) return 1; in VIDEO_START()
696 if ((sailorws_paltbl0 = auto_malloc(0x1000 * sizeof(char))) == 0) return 1; in VIDEO_START()
697 if ((sailorws_paltbl1 = auto_malloc(0x1000 * sizeof(char))) == 0) return 1; in VIDEO_START()
710 …if ((sailorws_videoram0 = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height * s… in VIDEO_START()
711 if ((sailorws_palette = auto_malloc(0x200 * sizeof(char))) == 0) return 1; in VIDEO_START()
712 if ((sailorws_paltbl0 = auto_malloc(0x1000 * sizeof(char))) == 0) return 1; in VIDEO_START()
729 if ((mscoutm_palette = auto_malloc(0xc00 * sizeof(char))) == 0) return 1; in VIDEO_START()
730 if ((sailorws_paltbl0 = auto_malloc(0x1000 * sizeof(char))) == 0) return 1; in VIDEO_START()
[all …]
H A Dsuperqix_vidhrdw.c132 if ((paletteram = auto_malloc(256 * sizeof(UINT8))) == 0) in VIDEO_START()
135 if ((superqix_bitmapram = auto_malloc(0x7000 * sizeof(UINT8))) == 0) in VIDEO_START()
138 if ((superqix_bitmapram2 = auto_malloc(0x7000 * sizeof(UINT8))) == 0) in VIDEO_START()
141 if ((superqix_bitmapram_dirty = auto_malloc(0x7000 * sizeof(UINT8))) == 0) in VIDEO_START()
146 if ((superqix_bitmapram2_dirty = auto_malloc(0x7000 * sizeof(UINT8))) == 0) in VIDEO_START()
H A Dstactics_vidhrdw.c243 if ((dirty_videoram_b = (unsigned char *)auto_malloc(videoram_size)) == 0) return 1; in VIDEO_START()
244 if ((dirty_videoram_d = (unsigned char *)auto_malloc(videoram_size)) == 0) return 1; in VIDEO_START()
245 if ((dirty_videoram_e = (unsigned char *)auto_malloc(videoram_size)) == 0) return 1; in VIDEO_START()
246 if ((dirty_videoram_f = (unsigned char *)auto_malloc(videoram_size)) == 0) return 1; in VIDEO_START()
247 if ((dirty_chardata_b = (unsigned char *)auto_malloc(DIRTY_CHARDATA_SIZE)) == 0) return 1; in VIDEO_START()
248 if ((dirty_chardata_d = (unsigned char *)auto_malloc(DIRTY_CHARDATA_SIZE)) == 0) return 1; in VIDEO_START()
249 if ((dirty_chardata_e = (unsigned char *)auto_malloc(DIRTY_CHARDATA_SIZE)) == 0) return 1; in VIDEO_START()
250 if ((dirty_chardata_f = (unsigned char *)auto_malloc(DIRTY_CHARDATA_SIZE)) == 0) return 1; in VIDEO_START()
299 if ((beamdata = (unsigned char *)auto_malloc(BEAMDATA_SIZE)) == 0) return 1; in VIDEO_START()
H A Dnemesis_vidhrdw.c281 char_dirty = auto_malloc(2048); in VIDEO_START()
286 sprite_dirty = auto_malloc(512); in VIDEO_START()
291 sprite3216_dirty = auto_malloc(256); in VIDEO_START()
296 sprite1632_dirty = auto_malloc(256); in VIDEO_START()
301 sprite3232_dirty = auto_malloc(128); in VIDEO_START()
306 sprite168_dirty = auto_malloc(1024); in VIDEO_START()
311 sprite816_dirty = auto_malloc(1024); in VIDEO_START()
316 sprite6464_dirty = auto_malloc(32); in VIDEO_START()
324 blank_characterdata = auto_malloc(32*8/8*(2048+1)); in VIDEO_START()
H A Dnbmj8891_vidhrdw.c398 …if ((gionbana_videoram0 = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height * s… in VIDEO_START()
399 …if ((gionbana_videoram1 = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height * s… in VIDEO_START()
400 if ((gionbana_palette = auto_malloc(0x200 * sizeof(char))) == 0) return 1; in VIDEO_START()
401 if ((gionbana_paltbl = auto_malloc(0x800 * sizeof(char))) == 0) return 1; in VIDEO_START()
411 …if ((gionbana_videoram0 = auto_malloc(Machine->drv->screen_width * Machine->drv->screen_height * s… in VIDEO_START()
412 if ((gionbana_palette = auto_malloc(0x200 * sizeof(char))) == 0) return 1; in VIDEO_START()
413 if ((gionbana_paltbl = auto_malloc(0x800 * sizeof(char))) == 0) return 1; in VIDEO_START()
H A Dfromance_vidhrdw.c81 local_videoram[0] = auto_malloc(0x1000 * 3); in VIDEO_START()
82 local_videoram[1] = auto_malloc(0x1000 * 3); in VIDEO_START()
85 local_paletteram = auto_malloc(0x800 * 2); in VIDEO_START()
106 local_videoram[0] = auto_malloc(0x1000 * 3); in VIDEO_START()
107 local_videoram[1] = auto_malloc(0x1000 * 3); in VIDEO_START()
110 local_paletteram = auto_malloc(0x800 * 2); in VIDEO_START()
H A Dtaotaido_vidhrdw.c201 taotaido_spriteram_old = auto_malloc(0x2000); in VIDEO_START()
202 taotaido_spriteram_older = auto_malloc(0x2000); in VIDEO_START()
204 taotaido_spriteram2_old = auto_malloc(0x10000); in VIDEO_START()
205 taotaido_spriteram2_older = auto_malloc(0x10000); in VIDEO_START()
H A Dpunchout_vidhrdw.c231 if ((dirtybuffer = auto_malloc(videoram_size)) == 0) in VIDEO_START()
235 if ((dirtybuffer2 = auto_malloc(punchout_videoram2_size)) == 0) in VIDEO_START()
242 if ((bs1dirtybuffer = auto_malloc(punchout_bigsprite1ram_size)) == 0) in VIDEO_START()
249 if ((bs2dirtybuffer = auto_malloc(punchout_bigsprite2ram_size)) == 0) in VIDEO_START()
261 if ((dirtybuffer = auto_malloc(videoram_size)) == 0) in VIDEO_START()
265 if ((dirtybuffer2 = auto_malloc(punchout_videoram2_size)) == 0) in VIDEO_START()
272 if ((bs1dirtybuffer = auto_malloc(punchout_bigsprite1ram_size)) == 0) in VIDEO_START()
279 if ((bs2dirtybuffer = auto_malloc(punchout_bigsprite2ram_size)) == 0) in VIDEO_START()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/drivers/
H A Dbackfire.c59 deco16_pf1_data = auto_malloc(0x2000); in VIDEO_START()
60 deco16_pf2_data = auto_malloc(0x2000); in VIDEO_START()
61 deco16_pf3_data = auto_malloc(0x2000); in VIDEO_START()
62 deco16_pf4_data = auto_malloc(0x2000); in VIDEO_START()
63 deco16_pf1_rowscroll = auto_malloc(0x0800); in VIDEO_START()
64 deco16_pf2_rowscroll = auto_malloc(0x0800); in VIDEO_START()
65 deco16_pf3_rowscroll = auto_malloc(0x0800); in VIDEO_START()
66 deco16_pf4_rowscroll = auto_malloc(0x0800); in VIDEO_START()
67 deco16_pf12_control = auto_malloc(0x10); in VIDEO_START()
68 deco16_pf34_control = auto_malloc(0x10); in VIDEO_START()

12345678910>>...22