From: notaz Date: Thu, 30 Dec 2010 23:56:25 +0000 (+0200) Subject: gui/Plugin: don't open/close gpu X-Git-Tag: r3~17 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a255ce52a55a2065429b8baad000c72aed31e97;p=pcsx_rearmed.git gui/Plugin: don't open/close gpu this is handled by frontend, so prevent double open/close --- diff --git a/gui/Plugin.c b/gui/Plugin.c index 867fce03..72184167 100644 --- a/gui/Plugin.c +++ b/gui/Plugin.c @@ -289,8 +289,9 @@ int _OpenPlugins() { ret = SPU_open(); if (ret < 0) { SysMessage(_("Error opening SPU plugin!")); return -1; } SPU_registerCallback(SPUirq); - ret = GPU_open(&gpuDisp, "PCSX", NULL); - if (ret < 0) { SysMessage(_("Error opening GPU plugin!")); return -1; } + // pcsx-rearmed: we handle gpu elsewhere + //ret = GPU_open(&gpuDisp, "PCSX", NULL); + //if (ret < 0) { SysMessage(_("Error opening GPU plugin!")); return -1; } ret = PAD1_open(&gpuDisp); if (ret < 0) { SysMessage(_("Error opening Controller 1 plugin!")); return -1; } ret = PAD2_open(&gpuDisp); @@ -381,8 +382,9 @@ void ClosePlugins() { if (ret < 0) { SysMessage(_("Error closing Controller 1 Plugin!")); return; } ret = PAD2_close(); if (ret < 0) { SysMessage(_("Error closing Controller 2 plugin!")); return; } - ret = GPU_close(); - if (ret < 0) { SysMessage(_("Error closing GPU plugin!")); return; } + // pcsx-rearmed: we handle gpu elsewhere + //ret = GPU_close(); + //if (ret < 0) { SysMessage(_("Error closing GPU plugin!")); return; } if (Config.UseNet) { NET_pause();