Fixed issue where Mame Plugins etc wouldnt work
This commit is contained in:
parent
bc0bc3543c
commit
44d31dcdb3
@ -1,5 +1,8 @@
|
|||||||
#include "IDirectInputDevice.h"
|
#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)
|
DirectInputDeviceWrapper::DirectInputDeviceWrapper(LPVOID device, bool unicode)
|
||||||
{
|
{
|
||||||
useUnicode = unicode;
|
useUnicode = unicode;
|
||||||
@ -81,8 +84,6 @@ HRESULT STDMETHODCALLTYPE DirectInputDeviceWrapper::Escape(LPDIEFFESCAPE pesc)
|
|||||||
|
|
||||||
HRESULT STDMETHODCALLTYPE DirectInputDeviceWrapper::GetCapabilities(LPDIDEVCAPS lpDIDevCaps)
|
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 (configGameId == 29)
|
||||||
{
|
{
|
||||||
if (pDeviceA) return pDeviceA->GetCapabilities(NULL);
|
if (pDeviceA) return pDeviceA->GetCapabilities(NULL);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
***FFB Arcade Plugin***
|
***FFB Arcade Plugin***
|
||||||
|
|
||||||
Version 0.9
|
Version 0.9a
|
||||||
|
|
||||||
Created by Boomslangnz, Ducon2016 & Spazzy.
|
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
|
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 :)
|
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***
|
***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
|
- Added scroll bar to MKDX and Road Fighters 3D input side as couldn't see all options unless very high resolution monitor on GUI
|
||||||
|
Loading…
x
Reference in New Issue
Block a user