forked from TeamTofuShop/segatools
board/sg-reader.c: Streamline further
Remove remaining pointless boilerplate, turn it into a free- standing hook, since its aimeio.dll dependency forces it to be a singleton anyway.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
#include <windows.h>
|
||||
|
||||
#include "cardhook/_com12.h"
|
||||
#include "board/sg-reader.h"
|
||||
|
||||
#include "hook/process.h"
|
||||
|
||||
@ -15,9 +15,10 @@ static DWORD CALLBACK app_pre_startup(void)
|
||||
{
|
||||
dprintf("--- Begin %s ---\n", __func__);
|
||||
|
||||
serial_hook_init();
|
||||
spike_hook_init("cardspike.txt");
|
||||
com12_hook_init();
|
||||
|
||||
serial_hook_init();
|
||||
sg_reader_hook_init(12);
|
||||
|
||||
dprintf("--- End %s ---\n", __func__);
|
||||
|
||||
|
Reference in New Issue
Block a user