/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/ |
H A D | tceptor_vidhrdw.c | 281 int gfx_index = bg; in decode_bg() local 302 if (!Machine->gfx[gfx_index]) in decode_bg() 316 if (!Machine->gfx[gfx_index]) in decode_sprite() 445 int gfx_index; in VIDEO_START() local 448 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in VIDEO_START() 449 if (Machine->gfx[gfx_index] == 0) in VIDEO_START() 451 if (gfx_index + 4 > MAX_GFX_ELEMENTS) in VIDEO_START() 454 bg = gfx_index++; in VIDEO_START() 458 sprite16 = gfx_index++; in VIDEO_START() 462 sprite32 = gfx_index++; in VIDEO_START() [all …]
|
H A D | atarisy1_vidhrdw.c | 618 int bank_index, i, gfx_index; in get_bank() local 650 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in get_bank() 651 if (Machine->gfx[gfx_index] == NULL) in get_bank() 653 if (gfx_index == MAX_GFX_ELEMENTS) in get_bank() 662 …Machine->gfx[gfx_index] = decodegfx(&memory_region(REGION_GFX2)[bank_offset[bank_index]], &objlayo… in get_bank() 663 if (!Machine->gfx[gfx_index]) in get_bank() 667 Machine->gfx[gfx_index]->colortable = &Machine->remapped_colortable[256]; in get_bank() 668 Machine->gfx[gfx_index]->color_granularity = 8; in get_bank() 669 Machine->gfx[gfx_index]->total_colors = 0x40; in get_bank() 670 bank_color_shift[gfx_index] = bpp - 3; in get_bank() [all …]
|
H A D | konamiic.c | 1980 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K052109_vh_start() 2456 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K051960_vh_start() 2950 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K053245_vh_start() 3702 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K053247_vh_start() 3775 int gfx_index; in K055673_vh_start() local 3825 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K055673_vh_start() 4574 int gfx_index; in K051316_vh_start() local 4578 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K051316_vh_start() 5518 int gfx_index; in K054157_vh_start() local 5532 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K054157_vh_start() [all …]
|
H A D | taitoic.c | 1796 int gfx_index=0; in TC0080VCO_vh_start() local 1840 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in TC0080VCO_vh_start() 1848 if (!Machine->gfx[gfx_index]) in TC0080VCO_vh_start() 1854 TC0080VCO_tx_gfx = gfx_index; in TC0080VCO_vh_start() 2657 int gfx_index,gfxset_offs,i; in TC0100SCN_vh_start() local 2733 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in TC0100SCN_vh_start() 2741 if (!Machine->gfx[gfx_index]) in TC0100SCN_vh_start() 3536 int gfx_index; in TC0480SCP_vh_start() local 3584 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in TC0480SCP_vh_start() 3592 if (!Machine->gfx[gfx_index]) in TC0480SCP_vh_start() [all …]
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/ |
H A D | tceptor_vidhrdw.c | 281 int gfx_index = bg; in decode_bg() local 302 if (!Machine->gfx[gfx_index]) in decode_bg() 316 if (!Machine->gfx[gfx_index]) in decode_sprite() 445 int gfx_index; in VIDEO_START() local 448 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in VIDEO_START() 449 if (Machine->gfx[gfx_index] == 0) in VIDEO_START() 451 if (gfx_index + 4 > MAX_GFX_ELEMENTS) in VIDEO_START() 454 bg = gfx_index++; in VIDEO_START() 458 sprite16 = gfx_index++; in VIDEO_START() 462 sprite32 = gfx_index++; in VIDEO_START() [all …]
|
H A D | atarisy1_vidhrdw.c | 618 int bank_index, i, gfx_index; in get_bank() local 650 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in get_bank() 651 if (Machine->gfx[gfx_index] == NULL) in get_bank() 653 if (gfx_index == MAX_GFX_ELEMENTS) in get_bank() 662 …Machine->gfx[gfx_index] = decodegfx(&memory_region(REGION_GFX2)[bank_offset[bank_index]], &objlayo… in get_bank() 663 if (!Machine->gfx[gfx_index]) in get_bank() 667 Machine->gfx[gfx_index]->colortable = &Machine->remapped_colortable[256]; in get_bank() 668 Machine->gfx[gfx_index]->color_granularity = 8; in get_bank() 669 Machine->gfx[gfx_index]->total_colors = 0x40; in get_bank() 670 bank_color_shift[gfx_index] = bpp - 3; in get_bank() [all …]
|
H A D | konamiic.c | 1956 int gfx_index; in K052109_vh_start() local 1970 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K052109_vh_start() 2434 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K051960_vh_start() 2918 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K053245_vh_start() 3398 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K053247_vh_start() 3473 int gfx_index; in K055673_vh_start() local 3523 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K055673_vh_start() 4302 int gfx_index; in K051316_vh_start() local 4306 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K051316_vh_start() 5252 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K054157_vh_start() [all …]
|
H A D | taitoic.c | 1796 int gfx_index=0; in TC0080VCO_vh_start() local 1840 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in TC0080VCO_vh_start() 1848 if (!Machine->gfx[gfx_index]) in TC0080VCO_vh_start() 1854 TC0080VCO_tx_gfx = gfx_index; in TC0080VCO_vh_start() 2657 int gfx_index,gfxset_offs,i; in TC0100SCN_vh_start() local 2733 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in TC0100SCN_vh_start() 2741 if (!Machine->gfx[gfx_index]) in TC0100SCN_vh_start() 3536 int gfx_index; in TC0480SCP_vh_start() local 3584 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in TC0480SCP_vh_start() 3592 if (!Machine->gfx[gfx_index]) in TC0480SCP_vh_start() [all …]
|
/dports/emulators/mess/mame-mame0226/src/mame/video/ |
H A D | rungun.cpp | 85 int gfx_index; in video_start() local 91 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in video_start() 92 if (m_gfxdecode->gfx(gfx_index) == nullptr) in video_start() 95 assert(gfx_index != MAX_GFX_ELEMENTS); in video_start() 98 …m_gfxdecode->set_gfx(gfx_index, std::make_unique<gfx_element>(m_palette, charlayout, memregion("gf… in video_start() 99 m_ttl_gfx_index = gfx_index; in video_start()
|
H A D | tceptor.cpp | 236 int gfx_index = m_bg; in decode_bg() local 253 …m_gfxdecode->set_gfx(gfx_index, std::make_unique<gfx_element>(m_palette, bg_layout, memregion(regi… in decode_bg() 256 void tceptor_state::decode_sprite(int gfx_index, const gfx_layout *layout, const void *data) in decode_sprite() argument 259 …m_gfxdecode->set_gfx(gfx_index, std::make_unique<gfx_element>(m_palette, *layout, (const uint8_t *… in decode_sprite() 356 int gfx_index; in video_start() local 361 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in video_start() 362 if (m_gfxdecode->gfx(gfx_index) == nullptr) in video_start() 364 assert(gfx_index + 4 <= MAX_GFX_ELEMENTS); in video_start() 366 m_bg = gfx_index++; in video_start() 369 m_sprite16 = gfx_index++; in video_start() [all …]
|
H A D | atarisy1.cpp | 591 int bank_index, gfx_index; in get_bank() local 624 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in get_bank() 625 if (m_gfxdecode->gfx(gfx_index) == nullptr) in get_bank() 627 assert(gfx_index != MAX_GFX_ELEMENTS); in get_bank() 634 …m_gfxdecode->set_gfx(gfx_index,std::make_unique<gfx_element>(m_palette, objlayout_4bpp, srcdata, 0… in get_bank() 638 …m_gfxdecode->set_gfx(gfx_index,std::make_unique<gfx_element>(m_palette, objlayout_5bpp, srcdata, 0… in get_bank() 642 …m_gfxdecode->set_gfx(gfx_index,std::make_unique<gfx_element>(m_palette, objlayout_6bpp, srcdata, 0… in get_bank() 650 m_gfxdecode->gfx(gfx_index)->set_granularity(8); in get_bank() 651 m_bank_color_shift[gfx_index] = bpp - 3; in get_bank() 654 return m_bank_gfx[bpp - 4][bank_index] = gfx_index; in get_bank()
|
H A D | x68k.cpp | 597 int gfx_index; in video_start() local 599 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in video_start() 600 if (m_gfxdecode->gfx(gfx_index) == nullptr) in video_start() 604 …m_gfxdecode->set_gfx(gfx_index, std::make_unique<gfx_element>(m_pcgpalette, x68k_pcg_8, memregion(… in video_start() 606 gfx_index++; in video_start() 608 …m_gfxdecode->set_gfx(gfx_index, std::make_unique<gfx_element>(m_pcgpalette, x68k_pcg_16, memregion… in video_start() 609 m_gfxdecode->gfx(gfx_index)->set_colors(32); in video_start()
|
H A D | konami_helper.cpp | 8 void konami_decode_gfx(device_gfx_interface &gfxdecode, int gfx_index, uint8_t *data, uint32_t tota… in konami_decode_gfx() argument 15 …gfxdecode.set_gfx(gfx_index, std::make_unique<gfx_element>(&palette, gl, data, 0, palette.entries(… in konami_decode_gfx()
|
/dports/emulators/mame/mame-mame0226/src/mame/video/ |
H A D | rungun.cpp | 85 int gfx_index; in video_start() local 91 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in video_start() 92 if (m_gfxdecode->gfx(gfx_index) == nullptr) in video_start() 95 assert(gfx_index != MAX_GFX_ELEMENTS); in video_start() 98 …m_gfxdecode->set_gfx(gfx_index, std::make_unique<gfx_element>(m_palette, charlayout, memregion("gf… in video_start() 99 m_ttl_gfx_index = gfx_index; in video_start()
|
H A D | tceptor.cpp | 236 int gfx_index = m_bg; in decode_bg() local 253 …m_gfxdecode->set_gfx(gfx_index, std::make_unique<gfx_element>(m_palette, bg_layout, memregion(regi… in decode_bg() 256 void tceptor_state::decode_sprite(int gfx_index, const gfx_layout *layout, const void *data) in decode_sprite() argument 259 …m_gfxdecode->set_gfx(gfx_index, std::make_unique<gfx_element>(m_palette, *layout, (const uint8_t *… in decode_sprite() 356 int gfx_index; in video_start() local 361 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in video_start() 362 if (m_gfxdecode->gfx(gfx_index) == nullptr) in video_start() 364 assert(gfx_index + 4 <= MAX_GFX_ELEMENTS); in video_start() 366 m_bg = gfx_index++; in video_start() 369 m_sprite16 = gfx_index++; in video_start() [all …]
|
H A D | atarisy1.cpp | 591 int bank_index, gfx_index; in get_bank() local 624 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in get_bank() 625 if (m_gfxdecode->gfx(gfx_index) == nullptr) in get_bank() 627 assert(gfx_index != MAX_GFX_ELEMENTS); in get_bank() 634 …m_gfxdecode->set_gfx(gfx_index,std::make_unique<gfx_element>(m_palette, objlayout_4bpp, srcdata, 0… in get_bank() 638 …m_gfxdecode->set_gfx(gfx_index,std::make_unique<gfx_element>(m_palette, objlayout_5bpp, srcdata, 0… in get_bank() 642 …m_gfxdecode->set_gfx(gfx_index,std::make_unique<gfx_element>(m_palette, objlayout_6bpp, srcdata, 0… in get_bank() 650 m_gfxdecode->gfx(gfx_index)->set_granularity(8); in get_bank() 651 m_bank_color_shift[gfx_index] = bpp - 3; in get_bank() 654 return m_bank_gfx[bpp - 4][bank_index] = gfx_index; in get_bank()
|
H A D | x68k.cpp | 597 int gfx_index; in video_start() local 599 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in video_start() 600 if (m_gfxdecode->gfx(gfx_index) == nullptr) in video_start() 604 …m_gfxdecode->set_gfx(gfx_index, std::make_unique<gfx_element>(m_pcgpalette, x68k_pcg_8, memregion(… in video_start() 606 gfx_index++; in video_start() 608 …m_gfxdecode->set_gfx(gfx_index, std::make_unique<gfx_element>(m_pcgpalette, x68k_pcg_16, memregion… in video_start() 609 m_gfxdecode->gfx(gfx_index)->set_colors(32); in video_start()
|
H A D | konami_helper.cpp | 8 void konami_decode_gfx(device_gfx_interface &gfxdecode, int gfx_index, uint8_t *data, uint32_t tota… in konami_decode_gfx() argument 15 …gfxdecode.set_gfx(gfx_index, std::make_unique<gfx_element>(&palette, gl, data, 0, palette.entries(… in konami_decode_gfx()
|
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/vidhrdw/ |
H A D | konamiic.c | 1148 K007342_gfxnum = gfx_index; in K007342_vh_start() 1614 int gfx_index; in K052109_vh_start() local 1628 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K052109_vh_start() 2035 int gfx_index; in K051960_vh_start() local 2051 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K051960_vh_start() 2566 int gfx_index; in K053245_vh_start() local 2582 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K053245_vh_start() 3036 int gfx_index; in K053247_vh_start() local 3052 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in K053247_vh_start() 3636 int gfx_index; in K051316_vh_start() local [all …]
|
H A D | taitoic.c | 269 int gfx_index,i; in TC0100SCN_vh_start() local 305 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in TC0100SCN_vh_start() 306 if (Machine->gfx[gfx_index] == 0) in TC0100SCN_vh_start() 308 if (gfx_index == MAX_GFX_ELEMENTS) in TC0100SCN_vh_start() 316 if (!Machine->gfx[gfx_index]) in TC0100SCN_vh_start() 323 TC0100SCN_tx_gfx[i] = gfx_index; in TC0100SCN_vh_start() 804 int gfx_index; in TC0480SCP_vh_start() local 841 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in TC0480SCP_vh_start() 842 if (Machine->gfx[gfx_index] == 0) in TC0480SCP_vh_start() 852 if (!Machine->gfx[gfx_index]) in TC0480SCP_vh_start() [all …]
|
H A D | atarisy1.c | 952 int bank_index, i, gfx_index; in get_bank() local 984 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in get_bank() 985 if (Machine->gfx[gfx_index] == NULL) in get_bank() 987 if (gfx_index == MAX_GFX_ELEMENTS) in get_bank() 996 …Machine->gfx[gfx_index] = decodegfx(&memory_region(REGION_GFX2)[bank_offset[bank_index]], &objlayo… in get_bank() 997 if (!Machine->gfx[gfx_index]) in get_bank() 1001 Machine->gfx[gfx_index]->colortable = &Machine->remapped_colortable[256]; in get_bank() 1002 Machine->gfx[gfx_index]->total_colors = 48 >> (bpp - 4); in get_bank() 1005 return bank_gfx[bpp - 4][bank_index] = gfx_index; in get_bank()
|
/dports/emulators/mess/mame-mame0226/src/mame/machine/ |
H A D | st0016.cpp | 584 int gfx_index=0; in startup() local 592 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in startup() 593 if (gfx(gfx_index) == nullptr) in startup() 596 assert(gfx_index != MAX_GFX_ELEMENTS); in startup() 599 …set_gfx(gfx_index, std::make_unique<gfx_element>(&palette(), charlayout, m_charram.get(), 0, 0x40,… in startup() 600 ramgfx = gfx_index; in startup()
|
/dports/emulators/mame/mame-mame0226/src/mame/machine/ |
H A D | st0016.cpp | 584 int gfx_index=0; in startup() local 592 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in startup() 593 if (gfx(gfx_index) == nullptr) in startup() 596 assert(gfx_index != MAX_GFX_ELEMENTS); in startup() 599 …set_gfx(gfx_index, std::make_unique<gfx_element>(&palette(), charlayout, m_charram.get(), 0, 0x40,… in startup() 600 ramgfx = gfx_index; in startup()
|
/dports/emulators/mess/mame-mame0226/src/mame/drivers/ |
H A D | quickpick5.cpp | 261 int gfx_index; in video_start() local 264 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in video_start() 265 if (m_gfxdecode->gfx(gfx_index) == nullptr) in video_start() 268 assert(gfx_index != MAX_GFX_ELEMENTS); in video_start() 271 …m_gfxdecode->set_gfx(gfx_index, std::make_unique<gfx_element>(m_palette, charlayout, memregion("tt… in video_start() 272 m_ttl_gfx_index = gfx_index; in video_start()
|
/dports/emulators/mame/mame-mame0226/src/mame/drivers/ |
H A D | quickpick5.cpp | 261 int gfx_index; in video_start() local 264 for (gfx_index = 0; gfx_index < MAX_GFX_ELEMENTS; gfx_index++) in video_start() 265 if (m_gfxdecode->gfx(gfx_index) == nullptr) in video_start() 268 assert(gfx_index != MAX_GFX_ELEMENTS); in video_start() 271 …m_gfxdecode->set_gfx(gfx_index, std::make_unique<gfx_element>(m_palette, charlayout, memregion("tt… in video_start() 272 m_ttl_gfx_index = gfx_index; in video_start()
|