Hoist slider from board into chunihook

Diva slider uses the quasi-JVS framing used by all other SEGA
boards, the Chunithm slider is a special case.
This commit is contained in:
Tau 2018-11-13 19:36:34 -05:00
parent 78e7de613f
commit 9f43f9f397
8 changed files with 11 additions and 10 deletions

View File

@ -9,8 +9,5 @@ board_lib = static_library(
sources : [
'io3.c',
'io3.h',
'slider-cmd.h',
'slider-frame.c',
'slider-frame.h',
],
)

View File

@ -4,7 +4,7 @@
#include <stdlib.h>
#include "chunihook/jvs.h"
#include "chunihook/slider.h"
#include "chunihook/slider-hook.h"
#include "hook/process.h"

View File

@ -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',
],
)

View File

@ -1,6 +1,6 @@
#pragma once
#include "board/slider-frame.h"
#include "chunihook/slider-frame.h"
enum {
SLIDER_CMD_AUTO_SCAN = 0x01,

View File

@ -4,7 +4,7 @@
#include <stddef.h>
#include <stdint.h>
#include "board/slider-frame.h"
#include "chunihook/slider-frame.h"
#include "hook/iobuf.h"

View File

@ -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"