ddrhook: move common hooks to ddrhook-util

This commit is contained in:
Will Xyen
2021-09-13 02:51:19 +00:00
committed by Xyen
parent 78c7d959e6
commit 8f46a08ea2
14 changed files with 25 additions and 13 deletions
+1
View File
@@ -91,6 +91,7 @@ include src/main/camhook/Module.mk
include src/main/cconfig/Module.mk
include src/main/config/Module.mk
include src/main/d3d9exhook/Module.mk
include src/main/ddrhook-util/Module.mk
include src/main/ddrhook/Module.mk
include src/main/ddrio-mm/Module.mk
include src/main/ddrio-smx/Module.mk
+13
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 \
@@ -1,4 +1,4 @@
#include <initguid.h>
#include <windows.h>
#include "ddrhook/monitor.h"
#include "ddrhook-util/monitor.h"
@@ -2,7 +2,7 @@
#include <stdint.h>
#include "ddrhook/gfx.h"
#include "ddrhook-util/gfx.h"
#include "hook/pe.h"
#include "hook/table.h"
@@ -7,7 +7,7 @@
#include <stdbool.h>
#include <wchar.h>
#include "ddrhook/monitor.h"
#include "ddrhook-util/monitor.h"
#include "hook/table.h"
+1 -5
View File
@@ -5,6 +5,7 @@ deplibs_ddrhook := \
libs_ddrhook := \
acioemu \
ddrhook-util \
p3ioemu \
p3io \
hook \
@@ -17,12 +18,7 @@ src_ddrhook := \
extio.c \
dllmain.c \
_com4.c \
dinput.c \
gfx.c \
guid.c \
master.c \
misc.c \
monitor.c \
p3io.c \
usbmem.c \
spike.c
+2 -1
View File
@@ -5,9 +5,10 @@
#include "bemanitools/ddrio.h"
#include "bemanitools/eamio.h"
#include "ddrhook-util/gfx.h"
#include "ddrhook/_com4.h"
#include "ddrhook/extio.h"
#include "ddrhook/gfx.h"
#include "ddrhook/master.h"
#include "ddrhook/p3io.h"
#include "ddrhook/spike.h"
+5 -4
View File
@@ -1,8 +1,9 @@
#include "ddrhook/master.h"
#include "ddrhook/dinput.h"
#include "ddrhook/gfx.h"
#include "ddrhook/misc.h"
#include "ddrhook/monitor.h"
#include "ddrhook-util/dinput.h"
#include "ddrhook-util/gfx.h"
#include "ddrhook-util/misc.h"
#include "ddrhook-util/monitor.h"
#include "hook/table.h"