void ResetPlugins() { long ret; CDR_shutdown(); GPU_shutdown(); SPU_shutdown(); PAD1_shutdown(); PAD2_shutdown(); #ifdef ENABLE_SIO1API SIO1_shutdown(); #endif if (Config.UseNet) NET_shutdown(); ret = CDR_init(); if (ret < 0) { SysMessage(_("CDRinit error: %d"), ret); return; } ret = GPU_init(); if (ret < 0) { SysMessage(_("GPUinit error: %d"), ret); return; } ret = SPU_init(); if (ret < 0) { SysMessage(_("SPUinit error: %d"), ret); return; } ret = PAD1_init(1); if (ret < 0) { SysMessage(_("PAD1init error: %d"), ret); return; } ret = PAD2_init(2); if (ret < 0) { SysMessage(_("PAD2init error: %d"), ret); return; } #ifdef ENABLE_SIO1API ret = SIO1_init(); if (ret < 0) { SysMessage(_("SIO1init error: %d!"), ret); return; } #endif if (Config.UseNet) { ret = NET_init(); if (ret < 0) { SysMessage(_("NETinit error: %d"), ret); return; } } NetOpened = FALSE; }
void ResetPlugins() { int ret; CDR_shutdown(); GPU_shutdown(); SPU_shutdown(); PAD1_shutdown(); PAD2_shutdown(); if (Config.UseNet) NET_shutdown(); ret = CDR_init(); if (ret != 0) { SysMessage (_("CDRinit error: %d"), ret); return; } ret = GPU_init(); if (ret != 0) { SysMessage (_("GPUinit error: %d"), ret); return; } ret = SPU_init(); if (ret != 0) { SysMessage (_("SPUinit error: %d"), ret); return; } ret = PAD1_init(1); if (ret != 0) { SysMessage (_("PAD1init error: %d"), ret); return; } ret = PAD2_init(2); if (ret != 0) { SysMessage (_("PAD2init error: %d"), ret); return; } if (Config.UseNet) { ret = NET_init(); if (ret < 0) { SysMessage (_("NETinit error: %d"), ret); return; } } NetOpened = 0; }
void ResetPlugins() { int ret; CDR_shutdown(); GPU_shutdown(); SPU_shutdown(); PAD1_shutdown(); PAD2_shutdown(); ret = CDR_init(); if (ret != 0) { SysMessage ("CDRinit error : %d\n",ret); exit(1); } ret = GPU_init(); if (ret != 0) { SysMessage ("GPUinit error : %d\n",ret); exit(1); } ret = SPU_init(); if (ret != 0) { SysMessage ("SPUinit error : %d\n",ret); exit(1); } ret = PAD1_init(1); if (ret != 0) { SysMessage ("PAD1init error : %d\n",ret); exit(1); } ret = PAD2_init(2); if (ret != 0) { SysMessage ("PAD2init error : %d\n",ret); exit(1); } }
void ResetPlugins() { int ret; CDR_shutdown(); GPU_shutdown(); SPU_shutdown(); PAD1_shutdown(); PAD2_shutdown(); ret = CDR_init(); if (ret != 0) { SysMessage(_("CDRinit error: %d"), ret); return; } ret = GPU_init(); if (ret != 0) { SysMessage(_("GPUinit error: %d"), ret); return; } ret = SPU_init(); if (ret != 0) { SysMessage(_("SPUinit error: %d"), ret); return; } ret = PAD1_init(1); if (ret != 0) { SysMessage(_("PAD1init error: %d"), ret); return; } ret = PAD2_init(2); if (ret != 0) { SysMessage(_("PAD2init error: %d"), ret); return; } NetOpened = FALSE; }