Home
last modified time | relevance | path

Searched refs:memory_region_length (Results 1 – 25 of 498) sorted by relevance

12345678910>>...20

/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/drivers/
H A Ddarkmist.c372 size = memory_region_length(REGION_GFX1); in MDRV_CPU_MEMORY()
395 size = memory_region_length(REGION_GFX2); in MDRV_CPU_MEMORY()
418 size = memory_region_length(REGION_GFX3); in MDRV_CPU_MEMORY()
493 memcpy( buffer, ROM, memory_region_length(REGION_USER1) ); in DRIVER_INIT()
495 for(i=0;i<memory_region_length(REGION_USER1);i++) in DRIVER_INIT()
501 memcpy( buffer, ROM, memory_region_length(REGION_USER2) ); in DRIVER_INIT()
502 for(i=0;i<memory_region_length(REGION_USER2);i++) in DRIVER_INIT()
508 memcpy( buffer, ROM, memory_region_length(REGION_USER3) ); in DRIVER_INIT()
509 for(i=0;i<memory_region_length(REGION_USER3);i++) in DRIVER_INIT()
515 memcpy( buffer, ROM, memory_region_length(REGION_USER4) ); in DRIVER_INIT()
[all …]
H A Dsuperqix.c310 len = memory_region_length(REGION_CPU1); in MDRV_CPU_FLAGS()
330 len = memory_region_length(REGION_GFX1); in MDRV_CPU_FLAGS()
341 len = memory_region_length(REGION_GFX2); in MDRV_CPU_FLAGS()
352 len = memory_region_length(REGION_GFX3); in MDRV_CPU_FLAGS()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/machine/
H A Dscramble_machine.c726 for (i = 0;i < memory_region_length(REGION_CPU1);i++) in DRIVER_INIT()
741 offs_t diff = memory_region_length(REGION_CPU1) / 2; in DRIVER_INIT()
803 for (i = 0; i < memory_region_length(REGION_CPU1); i++) in DRIVER_INIT()
837 for (i = 0; i < memory_region_length(REGION_CPU1); i++)
1146 scratch = malloc(memory_region_length(REGION_GFX1)); in DRIVER_INIT()
1152 for (i = 0; i < memory_region_length(REGION_GFX1); i++) in DRIVER_INIT()
1185 scratch = malloc(memory_region_length(REGION_GFX1)); in DRIVER_INIT()
1191 for (i = 0; i < memory_region_length(REGION_GFX1); i++) in DRIVER_INIT()
1223 scratch = malloc(memory_region_length(REGION_GFX1)); in DRIVER_INIT()
1229 for (i = 0; i < memory_region_length(REGION_GFX1); i++) in DRIVER_INIT()
[all …]
H A Dsegacrpt.c257 int diff = memory_region_length(REGION_CPU1) / 2; in sega_decode()
989 int diff = memory_region_length(REGION_CPU1) / 2; in fdwarrio_decode()
1101 int diff = memory_region_length(REGION_CPU1) / 2; in astrofl_decode()
1197 int diff = memory_region_length(REGION_CPU1) / 2; in wboy2_decode()
1278 int diff = memory_region_length(REGION_CPU1) / 2; in spcpostn_decode()
1391 int diff = memory_region_length(REGION_CPU1) / 2; in gardia_decode()
1504 int diff = memory_region_length(REGION_CPU1) / 2; in gardiab_decode()
H A Ddecocrpt.c604 int len = memory_region_length(mem_region)/2; in deco_decrypt()
789 int size = memory_region_length(REGION_CPU1); in deco102_decrypt_cpu()
795 memory_set_encrypted_opcode_range(0,0,memory_region_length(REGION_CPU1)); in deco102_decrypt_cpu()
832 int length = memory_region_length(REGION_CPU1); in deco156_decrypt()
H A Dmidwunit_machine.c384 memcpy(midyunit_code_rom, memory_region(REGION_USER1), memory_region_length(REGION_USER1)); in init_wunit_generic()
388 for (i = 0; i < memory_region_length(REGION_GFX1) / 0x400000; i++) in init_wunit_generic()
620 memcpy(midyunit_code_rom, memory_region(REGION_USER1), memory_region_length(REGION_USER1)); in DRIVER_INIT()
624 for (i = 0; i < memory_region_length(REGION_GFX1) / 0x200000; i++) in DRIVER_INIT()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/machine/
H A Dscramble_machine.c726 for (i = 0;i < memory_region_length(REGION_CPU1);i++) in DRIVER_INIT()
741 offs_t diff = memory_region_length(REGION_CPU1) / 2; in DRIVER_INIT()
803 for (i = 0; i < memory_region_length(REGION_CPU1); i++) in DRIVER_INIT()
837 for (i = 0; i < memory_region_length(REGION_CPU1); i++)
1146 scratch = malloc(memory_region_length(REGION_GFX1)); in DRIVER_INIT()
1152 for (i = 0; i < memory_region_length(REGION_GFX1); i++) in DRIVER_INIT()
1185 scratch = malloc(memory_region_length(REGION_GFX1)); in DRIVER_INIT()
1191 for (i = 0; i < memory_region_length(REGION_GFX1); i++) in DRIVER_INIT()
1223 scratch = malloc(memory_region_length(REGION_GFX1)); in DRIVER_INIT()
1229 for (i = 0; i < memory_region_length(REGION_GFX1); i++) in DRIVER_INIT()
[all …]
H A Ddecocrpt.c604 int len = memory_region_length(mem_region)/2; in deco_decrypt()
789 int size = memory_region_length(REGION_CPU1); in deco102_decrypt_cpu()
795 memory_set_encrypted_opcode_range(0,0,memory_region_length(REGION_CPU1)); in deco102_decrypt_cpu()
832 int length = memory_region_length(REGION_CPU1); in deco156_decrypt()
H A Dneocrypt.c523 rom_size = memory_region_length(REGION_GFX3); in neogeo_gfx_decrypt()
576 int tx_size = memory_region_length(REGION_GFX1); in neogeo_gfx_decrypt()
592 rom_size = memory_region_length(REGION_GFX3); in neogeo_gfx_decrypt_for_mc50()
777 int size = memory_region_length(REGION_SOUND1); in neo_pcm2_snk_1999()
926 int sx_size = memory_region_length( REGION_GFX1 ); in neogeo_bootleg_sx_decrypt()
952 int cx_size = memory_region_length( REGION_GFX3 ); in neogeo_bootleg_cx_decrypt()
2072 int size = memory_region_length( REGION_CPU1 ); in svcboot_px_decrypt()
2101 int size = memory_region_length( REGION_GFX3 ); in svcboot_cx_decrypt()
2552 int size = memory_region_length( REGION_CPU1 ); in svcplus_px_decrypt()
2593 int size = memory_region_length( REGION_CPU1 ); in svcplusa_px_decrypt()
[all …]
H A Dsegacrpt.c254 int diff = memory_region_length(REGION_CPU1) / 2; in sega_decode()
986 int diff = memory_region_length(REGION_CPU1) / 2; in fdwarrio_decode()
1098 int diff = memory_region_length(REGION_CPU1) / 2; in astrofl_decode()
1194 int diff = memory_region_length(REGION_CPU1) / 2; in wboy2_decode()
1244 int diff = memory_region_length(REGION_CPU1) / 2; in sega_decode_2()
H A Dmidwunit_machine.c383 memcpy(midyunit_code_rom, memory_region(REGION_USER1), memory_region_length(REGION_USER1)); in init_wunit_generic()
387 for (i = 0; i < memory_region_length(REGION_GFX1) / 0x400000; i++) in init_wunit_generic()
619 memcpy(midyunit_code_rom, memory_region(REGION_USER1), memory_region_length(REGION_USER1)); in DRIVER_INIT()
623 for (i = 0; i < memory_region_length(REGION_GFX1) / 0x200000; i++) in DRIVER_INIT()
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/sound/
H A D2610intf.c118 pcmsizea[i] = memory_region_length(intf->pcmroma[i]); in YM2610_sh_start()
120 pcmsizeb[i] = memory_region_length(intf->pcmromb[i]); in YM2610_sh_start()
168 pcmsizea[i] = memory_region_length(intf->pcmroma[i]); in YM2610B_sh_start()
170 pcmsizeb[i] = memory_region_length(intf->pcmromb[i]); in YM2610B_sh_start()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/sndhrdw/
H A Dbosco_sndhrdw.c20 speech = auto_malloc(2*memory_region_length(REGION_SOUND2)); in bosco_sh_start()
25 for (i = 0;i < memory_region_length(REGION_SOUND2);i++) in bosco_sh_start()
H A Dpbillian_sndhrdw.c12 samplebuf = auto_malloc(memory_region_length(REGION_SOUND1)); in pbillian_sh_start()
13 for(i=0;i<memory_region_length(REGION_SOUND1);i++)samplebuf[i]=ROM[i]-0x80; in pbillian_sh_start()
H A Dcclimber_sndhrdw.c23 samplebuf = auto_malloc(2*memory_region_length(REGION_SOUND1)); in cclimber_sh_start()
42 while (start + len < memory_region_length(REGION_SOUND1) && rom[start+len] != 0x70) in cclimber_play_sample()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sndhrdw/
H A Dpbillian_sndhrdw.c12 samplebuf = auto_malloc(memory_region_length(REGION_SOUND1)); in pbillian_sh_start()
13 for(i=0;i<memory_region_length(REGION_SOUND1);i++)samplebuf[i]=ROM[i]-0x80; in pbillian_sh_start()
H A Dcclimber_sndhrdw.c23 samplebuf = auto_malloc(2*memory_region_length(REGION_SOUND1)); in cclimber_sh_start()
42 while (start + len < memory_region_length(REGION_SOUND1) && rom[start+len] != 0x70) in cclimber_play_sample()
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/sndhrdw/
H A Dbosco.c20 speech = (signed char*)malloc(2*memory_region_length(REGION_SOUND2)); in bosco_sh_start()
25 for (i = 0;i < memory_region_length(REGION_SOUND2);i++) in bosco_sh_start()
H A Dcclimber.c23 samplebuf = (signed char*)malloc(2*memory_region_length(REGION_SOUND1)); in cclimber_sh_start()
50 while (start + len < memory_region_length(REGION_SOUND1) && rom[start+len] != 0x70) in cclimber_play_sample()
/dports/emulators/gngeo/gngeo-gngeo_0.8/src/
H A Dneoboot.c26 int cx_size = memory_region_length( machine, "sprites" ); in neogeo_bootleg_cx_decrypt()
42 int sx_size = memory_region_length( machine, "fixed" ); in neogeo_bootleg_sx_decrypt()
530 int rom_size = memory_region_length( machine, "fixed" ); in ct2k3sp_sx_decrypt()
748 int size = memory_region_length( machine, "maincpu" ); in svcboot_px_decrypt()
777 int size = memory_region_length( machine, "sprites" ); in svcboot_cx_decrypt()
804 int size = memory_region_length( machine, "maincpu" ); in svcplus_px_decrypt()
849 int size = memory_region_length( machine, "maincpu" ); in svcplusa_px_decrypt()
868 int size = memory_region_length( machine, "maincpu" ); in svcsplus_px_decrypt()
1046 int px_size = memory_region_length( machine, "maincpu" ); in samsho5b_px_decrypt()
1073 int vx_size = memory_region_length( machine, "ym" ); in samsho5b_vx_decrypt()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sound/
H A D2610intf.c113 pcmsizea[i] = memory_region_length(intf->pcmroma[i]); in YM2610_sh_start()
115 pcmsizeb[i] = memory_region_length(intf->pcmromb[i]); in YM2610_sh_start()
163 pcmsizea[i] = memory_region_length(intf->pcmroma[i]); in YM2610B_sh_start()
165 pcmsizeb[i] = memory_region_length(intf->pcmromb[i]); in YM2610B_sh_start()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/sound/
H A D2610intf.c113 pcmsizea[i] = memory_region_length(intf->pcmroma[i]); in YM2610_sh_start()
115 pcmsizeb[i] = memory_region_length(intf->pcmromb[i]); in YM2610_sh_start()
163 pcmsizea[i] = memory_region_length(intf->pcmroma[i]); in YM2610B_sh_start()
165 pcmsizeb[i] = memory_region_length(intf->pcmromb[i]); in YM2610B_sh_start()
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/machine/
H A Dsegacrpt.c200 int diff = memory_region_length(REGION_CPU1) / 2; in sega_decode()
803 int diff = memory_region_length(REGION_CPU1) / 2; in fdwarrio_decode()
1002 int diff = memory_region_length(REGION_CPU1) / 2; in wboy4_decode()
H A Dstfight.c40 int diff = memory_region_length(REGION_CPU1) / 2; in init_empcity()
71 int diff = memory_region_length(REGION_CPU1) / 2; in init_stfight()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/drivers/
H A Dsuperqix.c310 len = memory_region_length(REGION_CPU1); in MDRV_CPU_FLAGS()
330 len = memory_region_length(REGION_GFX1); in MDRV_CPU_FLAGS()
341 len = memory_region_length(REGION_GFX2); in MDRV_CPU_FLAGS()
352 len = memory_region_length(REGION_GFX3); in MDRV_CPU_FLAGS()

12345678910>>...20