mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 06:40:42 -07:00
07a0df5fdc
## Link to GitHub Issue, if one exists None ## Description of change - Added bi2x_hook - Added J32D (drum) and J33I (guitar) emulations - AMI2000 card reader (this game uses this instead of ICCA) ## Testing Played through a 15-minute session on Drummania. Guitar mode works with keyboard input.
25 lines
625 B
C++
25 lines
625 B
C++
#pragma once
|
|
|
|
#include "acioemu/acioemu.h"
|
|
#include "hooks/devicehook.h"
|
|
|
|
namespace games::gitadora {
|
|
|
|
class GitaDoraSerialHandle : public CustomHandle {
|
|
private:
|
|
acioemu::ACIOEmu acio_emu;
|
|
|
|
public:
|
|
bool open(LPCWSTR lpFileName) override;
|
|
|
|
int read(LPVOID lpBuffer, DWORD nNumberOfBytesToRead) override;
|
|
|
|
int write(LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite) override;
|
|
|
|
int device_io(DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer,
|
|
DWORD nOutBufferSize) override;
|
|
bool close() override;
|
|
|
|
};
|
|
}
|