diff --git a/board/meson.build b/board/meson.build index 003b4f1..6bde450 100644 --- a/board/meson.build +++ b/board/meson.build @@ -9,8 +9,5 @@ board_lib = static_library( sources : [ 'io3.c', 'io3.h', - 'slider-cmd.h', - 'slider-frame.c', - 'slider-frame.h', ], ) diff --git a/chunihook/dllmain.c b/chunihook/dllmain.c index ad38482..b75ce35 100644 --- a/chunihook/dllmain.c +++ b/chunihook/dllmain.c @@ -4,7 +4,7 @@ #include #include "chunihook/jvs.h" -#include "chunihook/slider.h" +#include "chunihook/slider-hook.h" #include "hook/process.h" diff --git a/chunihook/meson.build b/chunihook/meson.build index 8c0772d..27f9190 100644 --- a/chunihook/meson.build +++ b/chunihook/meson.build @@ -19,7 +19,10 @@ shared_library( 'dllmain.c', 'jvs.c', 'jvs.h', - 'slider.c', - 'slider.h', + 'slider-cmd.h', + 'slider-frame.c', + 'slider-frame.h', + 'slider-hook.c', + 'slider-hook.h', ], ) diff --git a/board/slider-cmd.h b/chunihook/slider-cmd.h similarity index 95% rename from board/slider-cmd.h rename to chunihook/slider-cmd.h index 8a19ca7..5ba6afd 100644 --- a/board/slider-cmd.h +++ b/chunihook/slider-cmd.h @@ -1,6 +1,6 @@ #pragma once -#include "board/slider-frame.h" +#include "chunihook/slider-frame.h" enum { SLIDER_CMD_AUTO_SCAN = 0x01, diff --git a/board/slider-frame.c b/chunihook/slider-frame.c similarity index 99% rename from board/slider-frame.c rename to chunihook/slider-frame.c index c1409e8..1cb1091 100644 --- a/board/slider-frame.c +++ b/chunihook/slider-frame.c @@ -4,7 +4,7 @@ #include #include -#include "board/slider-frame.h" +#include "chunihook/slider-frame.h" #include "hook/iobuf.h" diff --git a/board/slider-frame.h b/chunihook/slider-frame.h similarity index 100% rename from board/slider-frame.h rename to chunihook/slider-frame.h diff --git a/chunihook/slider.c b/chunihook/slider-hook.c similarity index 98% rename from chunihook/slider.c rename to chunihook/slider-hook.c index 55fbf8a..46ba1c6 100644 --- a/chunihook/slider.c +++ b/chunihook/slider-hook.c @@ -9,8 +9,9 @@ #include "util/dprintf.h" #include "util/dump.h" -#include "board/slider-cmd.h" -#include "board/slider-frame.h" +#include "chunihook/slider-cmd.h" +#include "chunihook/slider-frame.h" +#include "chunihook/slider-hook.h" #include "hook/iobuf.h" #include "hook/iohook.h" diff --git a/chunihook/slider.h b/chunihook/slider-hook.h similarity index 100% rename from chunihook/slider.h rename to chunihook/slider-hook.h