This PR adds everything that's needed on the segatools side to add E-Money support regarding Thinca authentication cards. I've also included set-up documentation (with a network side bonus which was as far as I could figure out so far, but I'm pretty certain no more changes to segatools will be needed) Due to the nature of a custom protcol called TCAP that Thinca uses for networking (see docs), I can't fully test that everything works as I haven't yet bothered to figure that protocol out. Tested with both APMv3 and FGO.  Reviewed-on: TeamTofuShop/segatools#35 Co-authored-by: Haruka <haruka@noreply.gitea.tendokyu.moe> Co-committed-by: Haruka <haruka@noreply.gitea.tendokyu.moe>
24 lines
456 B
C
24 lines
456 B
C
#pragma once
|
|
|
|
#include <windows.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "board/aime-dll.h"
|
|
|
|
struct aime_config {
|
|
struct aime_dll_config dll;
|
|
bool enable;
|
|
unsigned int port_no;
|
|
bool high_baudrate;
|
|
unsigned int gen;
|
|
unsigned int proxy_flag;
|
|
wchar_t authdata_path[MAX_PATH];
|
|
};
|
|
|
|
HRESULT sg_reader_hook_init(
|
|
const struct aime_config *cfg,
|
|
unsigned int default_port_no,
|
|
unsigned int gen,
|
|
HINSTANCE self);
|