forked from TeamTofuShop/segatools
chuni/chusan: added LED output to DLLs (will break most DLLs)
Credits: somewhatlurker, skogaby https://dev.s-ul.net/skogaby/segatools/-/blob/ongeki-15093/
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
#include <stddef.h>
|
||||
|
||||
#include "board/config.h"
|
||||
#include "board/led15093.h"
|
||||
// #include "board/led15093.h"
|
||||
|
||||
#include "gfxhook/gfx.h"
|
||||
|
||||
@ -19,7 +19,7 @@ struct mu3_hook_config {
|
||||
struct dvd_config dvd;
|
||||
struct io4_config io4;
|
||||
struct gfx_config gfx;
|
||||
struct led15093_config led15093;
|
||||
// struct led15093_config led15093;
|
||||
struct mu3_dll_config dll;
|
||||
};
|
||||
|
||||
|
@ -61,11 +61,14 @@ static DWORD CALLBACK mu3_pre_startup(void)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
/*
|
||||
// Does not work, Unity moment
|
||||
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);
|
||||
|
||||
|
Reference in New Issue
Block a user