forked from TeamTofuShop/segatools
Add dvd hook to allow hiding connected dvd drives
This commit is contained in:
parent
7123a9feff
commit
56a32fd80a
@ -7,6 +7,9 @@
|
||||
#include "board/config.h"
|
||||
#include "board/sg-reader.h"
|
||||
|
||||
#include "hooklib/config.h"
|
||||
#include "hooklib/dvd.h"
|
||||
|
||||
#include "idzhook/config.h"
|
||||
#include "idzhook/idz-dll.h"
|
||||
|
||||
@ -41,6 +44,7 @@ void idz_hook_config_load(
|
||||
aime_config_load(&cfg->aime, filename);
|
||||
idz_dll_config_load(&cfg->dll, filename);
|
||||
zinput_config_load(&cfg->zinput, filename);
|
||||
dvd_config_load(&cfg->dvd, filename);
|
||||
}
|
||||
|
||||
void zinput_config_load(struct zinput_config *cfg, const wchar_t *filename)
|
||||
|
@ -7,6 +7,8 @@
|
||||
|
||||
#include "board/sg-reader.h"
|
||||
|
||||
#include "hooklib/dvd.h"
|
||||
|
||||
#include "idzhook/idz-dll.h"
|
||||
#include "idzhook/zinput.h"
|
||||
|
||||
@ -16,6 +18,7 @@ struct idz_hook_config {
|
||||
struct platform_config platform;
|
||||
struct amex_config amex;
|
||||
struct aime_config aime;
|
||||
struct dvd_config dvd;
|
||||
struct idz_dll_config dll;
|
||||
struct zinput_config zinput;
|
||||
};
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include "hook/process.h"
|
||||
|
||||
#include "hooklib/gfx.h"
|
||||
#include "hooklib/dvd.h"
|
||||
#include "hooklib/serial.h"
|
||||
#include "hooklib/spike.h"
|
||||
|
||||
@ -39,6 +39,7 @@ static DWORD CALLBACK idz_pre_startup(void)
|
||||
|
||||
serial_hook_init();
|
||||
zinput_hook_init(&idz_hook_cfg.zinput);
|
||||
dvd_hook_init(&idz_hook_cfg.dvd, idz_hook_mod);
|
||||
|
||||
/* Initialize emulation hooks */
|
||||
|
||||
|
Reference in New Issue
Block a user