chusan, fgo, mu3: fixed LED 15093 board

This commit is contained in:
2023-12-03 21:34:38 +01:00
parent 793417e891
commit 3dd6054a1e
15 changed files with 80 additions and 68 deletions

View File

@ -3,6 +3,7 @@
#include <stddef.h>
#include "board/config.h"
#include "board/led15093.h"
#include "gfxhook/gfx.h"
@ -18,6 +19,7 @@ struct mu3_hook_config {
struct dvd_config dvd;
struct io4_config io4;
struct gfx_config gfx;
struct led15093_config led15093;
struct mu3_dll_config dll;
};

View File

@ -61,7 +61,13 @@ static DWORD CALLBACK mu3_pre_startup(void)
goto fail;
}
hr = sg_reader_hook_init(&mu3_hook_cfg.aime, 1, mu3_hook_mod);
hr = led15093_hook_init(&mu3_hook_cfg.led15093, 3, 1, 1, 2);
if (FAILED(hr)) {
return hr;
}
hr = sg_reader_hook_init(&mu3_hook_cfg.aime, 1, 1, mu3_hook_mod);
if (FAILED(hr)) {
goto fail;