Fix nowx build.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7003 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2011-01-31 03:15:14 +00:00
parent 8822674653
commit 1eac26e63f
1 changed files with 9 additions and 5 deletions

View File

@ -40,7 +40,7 @@
#include "PowerPC/PowerPC.h"
#include "HW/Wiimote.h"
#include "PluginManager.h"
#include "VideoBackendBase.h"
#include "ConfigManager.h"
#include "LogManager.h"
#include "BootManager.h"
@ -76,7 +76,10 @@ void Host_UpdateMainFrame()
void Host_UpdateBreakPointView(){}
bool Host_GetKeyState(int keycode){}
bool Host_GetKeyState(int keycode)
{
return false;
}
void Host_GetRenderWindowSize(int& x, int& y, int& width, int& height)
{
@ -292,8 +295,9 @@ int main(int argc, char* argv[])
updateMainFrameEvent.Init();
LogManager::Init();
SConfig::Init();
CPluginManager::Init();
CPluginManager::GetInstance().ScanForPlugins();
VideoBackend::PopulateList();
VideoBackend::ActivateBackend(SConfig::GetInstance().
m_LocalCoreStartupParameter.m_strVideoPlugin);
WiimoteReal::LoadSettings();
// No use running the loop when booting fails
@ -337,7 +341,7 @@ int main(int argc, char* argv[])
updateMainFrameEvent.Shutdown();
WiimoteReal::Shutdown();
CPluginManager::Shutdown();
VideoBackend::ClearList();
SConfig::Shutdown();
LogManager::Shutdown();