mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-25 06:44:59 +00:00
fixed compiling for windows... Please remove the SDL stuff from this plugin. Port njoy to linux (write your own GUI or disable the GUI)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@58 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
7f95ad831f
commit
5f7f75ea2e
1 changed files with 3 additions and 2 deletions
|
@ -218,6 +218,8 @@ void DllAbout(HWND _hParent)
|
||||||
aboutDlg.DoModal(_hParent);
|
aboutDlg.DoModal(_hParent);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef _WIN32
|
||||||
void SDL_Inputinit()
|
void SDL_Inputinit()
|
||||||
{
|
{
|
||||||
if ( SDL_Init(SDL_INIT_JOYSTICK) < 0 )
|
if ( SDL_Init(SDL_INIT_JOYSTICK) < 0 )
|
||||||
|
@ -243,9 +245,8 @@ void SDL_Inputinit()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
printf("Couldn't open Joystick 0\n");
|
printf("Couldn't open Joystick 0\n");
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void DllConfig(HWND _hParent)
|
void DllConfig(HWND _hParent)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue