forked from TeamTofuShop/segatools
board/io4.c: add configuration section to enable/disable emulation
This commit is contained in:
@ -16,13 +16,13 @@ static const struct io4_ops mu3_io4_ops = {
|
||||
.poll = mu3_io4_poll,
|
||||
};
|
||||
|
||||
HRESULT mu3_io4_hook_init(void)
|
||||
HRESULT mu3_io4_hook_init(const struct io4_config *cfg)
|
||||
{
|
||||
HRESULT hr;
|
||||
|
||||
assert(mu3_dll.init != NULL);
|
||||
|
||||
hr = io4_hook_init(&mu3_io4_ops, NULL);
|
||||
hr = io4_hook_init(cfg, &mu3_io4_ops, NULL);
|
||||
|
||||
if (FAILED(hr)) {
|
||||
return hr;
|
||||
|
Reference in New Issue
Block a user