1
0
mirror of synced 2024-11-12 01:20:49 +01:00

Fixed issue where Mame Plugins etc wouldnt work

This commit is contained in:
Aaron M 2019-06-17 17:40:19 +12:00
parent bc0bc3543c
commit 44d31dcdb3
2 changed files with 8 additions and 3 deletions

View File

@ -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);

View File

@ -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