No gui fix in linux.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5201 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-03-16 03:34:27 +00:00
parent 172cc24f32
commit 6723a91664
2 changed files with 20 additions and 10 deletions

View File

@ -32,6 +32,10 @@
#include <sys/param.h>
#endif
#if defined HAVE_X11 && HAVE_X11
#include <X11/Xlib.h>
#endif
#if defined(HAVE_COCOA) && HAVE_COCOA
#import "cocoaApp.h"
#endif
@ -228,6 +232,10 @@ int main(int argc, char* argv[])
CPluginManager::GetInstance().ScanForPlugins();
#if defined HAVE_X11 && HAVE_X11
XInitThreads();
#endif
if (BootManager::BootCore(bootFile)) //no use running the loop when booting fails
{
while (PowerPC::GetState() != PowerPC::CPU_POWERDOWN)