1
0
mirror of synced 2024-11-27 23:10:49 +01:00
bananatools/tekkenhook/tekken-dll.h
Kevin Trocolli cd10a98dcc tekken: fix io
platform: add gethostbyname hook
2023-11-12 05:13:44 -05:00

21 lines
436 B
C

#pragma once
#include <windows.h>
#include "tekkenio/tekkenio.h"
struct tekken_dll {
uint16_t api_version;
HRESULT (*jvs_init)(void);
HRESULT (*jvs_poll)(uint8_t *opbtn, uint16_t *gamebtn);
void (*jvs_read_coin_counter)(uint16_t *coins);
};
struct tekken_dll_config {
wchar_t path[MAX_PATH];
};
extern struct tekken_dll tekken_dll;
HRESULT tekken_dll_init(const struct tekken_dll_config *cfg, HINSTANCE self);