1
0
mirror of synced 2024-11-24 15:00:12 +01:00
FFBArcadePlugin/Common Files/TeknoParrotGame.cpp

17 lines
539 B
C++
Raw Normal View History

2019-11-01 21:34:57 +01:00
#include "TeknoParrotGame.h"
TeknoParrotGame::TeknoParrotGame()
{
hSection = CreateFileMapping(INVALID_HANDLE_VALUE, nullptr, PAGE_READWRITE, 0, 64, L"TeknoParrot_JvsState");
secData = MapViewOfFile(hSection, FILE_MAP_ALL_ACCESS, 0, 0, 64);
ffbOffset = *((int *)secData + 2);
}
int TeknoParrotGame::GetTeknoParrotFFB()
{
ffbOffset = *((int *)secData + 2);
return ffbOffset;
}
void TeknoParrotGame::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers* triggers) {
helpers->log("TeknoParrot game not implemented");
}