mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
nJoy and SerialInterface: Fixed the crashes with MAXPADS more than 1, the downside is that it doesn't work well one the second boot
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1980 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
189285f071
commit
e332e18ce6
9 changed files with 281 additions and 156 deletions
|
@ -70,25 +70,32 @@ void *CPlugin::LoadSymbol(const char *sym) {
|
|||
return m_hInstLib.Get(sym);
|
||||
}
|
||||
|
||||
|
||||
// ______________________________________________________________________________________
|
||||
// GetInfo: Get DLL info
|
||||
bool CPlugin::GetInfo(PLUGIN_INFO& _pluginInfo) {
|
||||
if (m_GetDllInfo != 0) {
|
||||
m_GetDllInfo(&_pluginInfo);
|
||||
return(true);
|
||||
if (m_GetDllInfo != 0)
|
||||
{
|
||||
m_GetDllInfo(&_pluginInfo);
|
||||
return(true);
|
||||
}
|
||||
|
||||
return(false);
|
||||
}
|
||||
|
||||
|
||||
void CPlugin::Config(HWND _hwnd) {
|
||||
if (m_DllConfig != 0)
|
||||
m_DllConfig(_hwnd);
|
||||
|
||||
// ______________________________________________________________________________________
|
||||
// Config: Open the Config window
|
||||
void CPlugin::Config(HWND _hwnd)
|
||||
{
|
||||
if (m_DllConfig != 0) m_DllConfig(_hwnd);
|
||||
}
|
||||
|
||||
void CPlugin::Debug(HWND _hwnd, bool Show) {
|
||||
if (m_DllDebugger != 0)
|
||||
m_DllDebugger(_hwnd, Show);
|
||||
|
||||
// ______________________________________________________________________________________
|
||||
// Debug: Open the Debugging window
|
||||
void CPlugin::Debug(HWND _hwnd, bool Show)
|
||||
{
|
||||
if (m_DllDebugger != 0) m_DllDebugger(_hwnd, Show);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue