diff --git a/IDirectInputDevice.cpp b/IDirectInputDevice.cpp index a2e50a2..e7fe7ed 100644 --- a/IDirectInputDevice.cpp +++ b/IDirectInputDevice.cpp @@ -1,5 +1,8 @@ #include "IDirectInputDevice.h" +wchar_t *settingsFilenameA = TEXT(".\\FFBPlugin.ini"); +static int configGameId = GetPrivateProfileInt(TEXT("Settings"), TEXT("GameId"), 1, settingsFilenameA); + DirectInputDeviceWrapper::DirectInputDeviceWrapper(LPVOID device, bool unicode) { useUnicode = unicode; @@ -81,8 +84,6 @@ HRESULT STDMETHODCALLTYPE DirectInputDeviceWrapper::Escape(LPDIEFFESCAPE pesc) HRESULT STDMETHODCALLTYPE DirectInputDeviceWrapper::GetCapabilities(LPDIDEVCAPS lpDIDevCaps) { - wchar_t *settingsFilenameA = TEXT(".\\FFBPlugin.ini"); - int configGameId = GetPrivateProfileInt(TEXT("Settings"), TEXT("GameId"), 1, settingsFilenameA); if (configGameId == 29) { if (pDeviceA) return pDeviceA->GetCapabilities(NULL); diff --git a/Includes/FFBPlugin.txt b/Includes/FFBPlugin.txt index 28b96fa..e21a803 100644 --- a/Includes/FFBPlugin.txt +++ b/Includes/FFBPlugin.txt @@ -1,6 +1,6 @@ ***FFB Arcade Plugin*** -Version 0.9 +Version 0.9a Created by Boomslangnz, Ducon2016 & Spazzy. @@ -10,6 +10,10 @@ While best efforts were made to try to resemble the real arcade force feedback, in some cases eg Mario Kart GP DX, Pokken Tournament and Battle Gear 4,effects were created entirely from scratch so are not using real force feedback values. Most games use correct ffb values however :) +***0.9a Changes*** + +- Fixed issue where MAME plugins would not load + ***0.9 Changes*** - Added scroll bar to MKDX and Road Fighters 3D input side as couldn't see all options unless very high resolution monitor on GUI