mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1799 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
790ee70b36
commit
25842deac5
@ -20,11 +20,12 @@ EventHandler::~EventHandler() {
|
||||
}
|
||||
|
||||
EventHandler *EventHandler::GetInstance() {
|
||||
fprintf(stderr, "handler instance %p\n", m_Instance);
|
||||
static EventHandler* m_Instance2 = 0;
|
||||
fprintf(stderr, "handler instance %p\n", m_Instance2);
|
||||
|
||||
if (! m_Instance)
|
||||
m_Instance = new EventHandler();
|
||||
return m_Instance;
|
||||
if (! m_Instance2)
|
||||
m_Instance2 = new EventHandler();
|
||||
return m_Instance2;
|
||||
}
|
||||
|
||||
void EventHandler::Destroy() {
|
||||
|
@ -13,10 +13,10 @@ files = [
|
||||
'nJoy.cpp',
|
||||
]
|
||||
|
||||
if not env['HAVE_WX']
|
||||
files.Append('GUI/AboutBox.cpp',
|
||||
'GUI/ConfigBox.cpp',
|
||||
)
|
||||
if env['HAVE_WX']:
|
||||
files +=[ 'GUI/AboutBox.cpp',
|
||||
'GUI/ConfigBox.cpp',
|
||||
]
|
||||
|
||||
padenv = env.Clone()
|
||||
padenv.Append(
|
||||
|
Loading…
Reference in New Issue
Block a user