1
0
Fork 0
segatools/board/sg-reader.h

21 lines
356 B
C
Raw Normal View History

#pragma once
#include <windows.h>
2019-11-06 00:40:00 +00:00
#include <stdbool.h>
2021-05-23 15:54:24 +00:00
#include "board/aime-dll.h"
2019-11-06 00:40:00 +00:00
struct aime_config {
2021-05-23 15:54:24 +00:00
struct aime_dll_config dll;
2019-11-06 00:40:00 +00:00
bool enable;
bool high_baudrate;
unsigned int gen;
2019-11-06 00:40:00 +00:00
};
HRESULT sg_reader_hook_init(
const struct aime_config *cfg,
2021-05-23 15:54:24 +00:00
unsigned int port_no,
unsigned int gen,
2021-05-23 15:54:24 +00:00
HINSTANCE self);