1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-30 23:57:15 +01:00
segatools-dniel97/board/sg-reader.h

21 lines
356 B
C
Raw Permalink Normal View History

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