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:
Tau
2019-05-03 17:21:38 -04:00
parent 8158d01ed9
commit b172c22322
14 changed files with 50 additions and 209 deletions

View File

@ -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__);