1
0
mirror of synced 2025-02-21 04:26:35 +01:00

cleanup some code

This commit is contained in:
Aaron M 2019-09-28 08:37:01 +12:00
parent b0fa1e290b
commit d5cc6fe642
2 changed files with 1 additions and 11 deletions

View File

@ -125,13 +125,6 @@ void Daytona3::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTrigg
helpers->log((char *)ffs.c_str());
while (SDL_WaitEvent(&e) != 0)
{
/* if (e.type == SDL_KEYDOWN)
{
if (e.key.keysym.sym == SDLK_ESCAPE)
{
MessageBoxA(NULL, "test", "", 0);
}
} */
myTriggers = triggers;
myConstants = constants;
myHelpers = helpers;

View File

@ -41,10 +41,7 @@ static int Gear6 = GetPrivateProfileInt(TEXT("Settings"), TEXT("Gear6"), 0, sett
void SendForceFeedback(__int8 force)
{
float ffspeed = myHelpers->ReadFloat32(0x08273DF0, /* isRelativeOffset */ false); //speedo
/*char gay[256];
memset(gay, 0, 256);
sprintf(gay, "hex print: %08X", force);
OutputDebugStringA(gay);*/
if ((force == 0x10) || (force == 0x0B) || (force == 0x04))
{
double percentForce = SpeedStrength / 100.0;