1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2024-11-28 08:20:51 +01:00

ddrhook: move common hooks to ddrhook-util

This commit is contained in:
Will Xyen 2021-08-30 18:49:45 -07:00 committed by 6fe20d9b80a9661a09ef66dfd58832d49592386b
parent 1477480836
commit c929141e71
14 changed files with 25 additions and 13 deletions

View File

@ -91,6 +91,7 @@ include src/main/camhook/Module.mk
include src/main/cconfig/Module.mk include src/main/cconfig/Module.mk
include src/main/config/Module.mk include src/main/config/Module.mk
include src/main/d3d9exhook/Module.mk include src/main/d3d9exhook/Module.mk
include src/main/ddrhook-util/Module.mk
include src/main/ddrhook/Module.mk include src/main/ddrhook/Module.mk
include src/main/ddrio-mm/Module.mk include src/main/ddrio-mm/Module.mk
include src/main/ddrio-smx/Module.mk include src/main/ddrio-smx/Module.mk

View File

@ -0,0 +1,13 @@
libs += ddrhook-util
libs_ddrhook-util := \
hook \
hooklib \
util \
src_ddrhook-util := \
dinput.c \
gfx.c \
guid.c \
misc.c \
monitor.c \

View File

@ -1,4 +1,4 @@
#include <initguid.h> #include <initguid.h>
#include <windows.h> #include <windows.h>
#include "ddrhook/monitor.h" #include "ddrhook-util/monitor.h"

View File

@ -2,7 +2,7 @@
#include <stdint.h> #include <stdint.h>
#include "ddrhook/gfx.h" #include "ddrhook-util/gfx.h"
#include "hook/pe.h" #include "hook/pe.h"
#include "hook/table.h" #include "hook/table.h"

View File

@ -7,7 +7,7 @@
#include <stdbool.h> #include <stdbool.h>
#include <wchar.h> #include <wchar.h>
#include "ddrhook/monitor.h" #include "ddrhook-util/monitor.h"
#include "hook/table.h" #include "hook/table.h"

View File

@ -5,6 +5,7 @@ deplibs_ddrhook := \
libs_ddrhook := \ libs_ddrhook := \
acioemu \ acioemu \
ddrhook-util \
p3ioemu \ p3ioemu \
p3io \ p3io \
hook \ hook \
@ -17,12 +18,7 @@ src_ddrhook := \
extio.c \ extio.c \
dllmain.c \ dllmain.c \
_com4.c \ _com4.c \
dinput.c \
gfx.c \
guid.c \
master.c \ master.c \
misc.c \
monitor.c \
p3io.c \ p3io.c \
usbmem.c \ usbmem.c \
spike.c spike.c

View File

@ -5,9 +5,10 @@
#include "bemanitools/ddrio.h" #include "bemanitools/ddrio.h"
#include "bemanitools/eamio.h" #include "bemanitools/eamio.h"
#include "ddrhook-util/gfx.h"
#include "ddrhook/_com4.h" #include "ddrhook/_com4.h"
#include "ddrhook/extio.h" #include "ddrhook/extio.h"
#include "ddrhook/gfx.h"
#include "ddrhook/master.h" #include "ddrhook/master.h"
#include "ddrhook/p3io.h" #include "ddrhook/p3io.h"
#include "ddrhook/spike.h" #include "ddrhook/spike.h"

View File

@ -1,8 +1,9 @@
#include "ddrhook/master.h" #include "ddrhook/master.h"
#include "ddrhook/dinput.h"
#include "ddrhook/gfx.h" #include "ddrhook-util/dinput.h"
#include "ddrhook/misc.h" #include "ddrhook-util/gfx.h"
#include "ddrhook/monitor.h" #include "ddrhook-util/misc.h"
#include "ddrhook-util/monitor.h"
#include "hook/table.h" #include "hook/table.h"