예제 #1
0
파일: emu.c 프로젝트: gillotte/gxgeo
/* called after the rom is opened */
void init_neo(char *rom_name)
{
    cpu_68k_init();
    neogeo_init();
    pd4990a_init();
    setup_misc_patch(rom_name);
    if (conf.sound) {
        cpu_z80_init();
        ogc_init_audio();
        streams_sh_start();
        YM2610_sh_start();
        conf.snd_st_reg_create=1;
    }
    cpu_68k_reset();
    arcade = (conf.system != SYS_HOME);

}
예제 #2
0
파일: emu.c 프로젝트: tredpath/GnGeo-pb
void init_neo(char *rom_name)
{

    cpu_68k_init();
    neogeo_init();
    pd4990a_init();
    setup_misc_patch(rom_name);

    if (conf.sound) {
	cpu_z80_init();
	init_sdl_audio();
	streams_sh_start();
	YM2610_sh_start();
	SDL_PauseAudio(0);
	conf.snd_st_reg_create=1;
    }

    cpu_68k_reset();
}