1
0
mirror of https://gitea.tendokyu.moe/Hay1tsme/segatools.git synced 2024-12-04 21:17:55 +01:00
Commit Graph

225 Commits

Author SHA1 Message Date
Tau
2ab3a353df hooklib/reg.c: Add registry hook mechanism 2019-05-17 23:07:20 -04:00
Tau
6d933eb8f4 amex/config.c: Rename from cfg.c
Easier to type and more consistent with its identifiers.
2019-05-17 23:07:20 -04:00
Tau
3e91ac2393 platform/amvideo.c: Add virtual amvideo.dll hook 2019-05-14 18:03:25 -04:00
Tau
96b1981e01 hooklib/dll.c: Add dynamic loader hook mechanism 2019-05-14 17:13:08 -04:00
Tau
1b93551a41 hooklib: Split out of util
This is distinct from capnhook's hooklib, although the intent is
the same. Hopefully these two libraries sharing a name won't get
too confusing...
2019-05-14 17:13:08 -04:00
Tau
07237730cd Use string equality wrappers 2019-05-14 17:13:08 -04:00
Tau
a96e625a36 util/str.c: Add string equality wrappers 2019-05-13 16:49:50 -04:00
Tau
9e3c70ad6b precompiled.h: Add <wchar.h>
This is basically inconsequential but whatever.
2019-05-13 16:49:50 -04:00
Tau
780ac90e4a Delete precompiled.c
Recent Meson no longer requires it.
2019-05-13 16:48:03 -04:00
Tau
03cace7785 util/fdshark.c: Add IO tracing utility 2019-05-09 16:49:18 -04:00
Tau
649e7d2b4e util/dump.c: Allow NULL ptr if size is zero 2019-05-09 16:49:00 -04:00
Tau
036730840d util/clock.c: Fix clock skew mod
Local time needs to be JST or some games (at least ID Zero) will
malfunction.
2019-05-04 17:45:35 -04:00
Tau
c19d140589 Wire up libamex config 2019-05-04 14:50:33 -04:00
Tau
68ec23e3c8 amex/cfg.c: Add libamex INI configuration system 2019-05-04 13:11:59 -04:00
Tau
364267ba66 Use amex_hook_init() 2019-05-04 12:04:53 -04:00
Tau
c5758ac374 amex/amex.c: Add amex_hook_init() helper 2019-05-04 12:04:38 -04:00
Tau
9603a528c6 idzio: Break out Initial D Zero IO DLL 2019-05-03 21:23:21 -04:00
Tau
b172c22322 board/sg-reader.c: Streamline further
Remove remaining pointless boilerplate, turn it into a free-
standing hook, since its aimeio.dll dependency forces it to be a
singleton anyway.
2019-05-03 21:23:21 -04:00
Tau
8158d01ed9 board/io3.c: Tweak ADC polling interface 2019-05-03 21:23:21 -04:00
Tau
5e823a9e22 Rename slider-hook files to slider 2019-05-03 15:59:51 -04:00
Tau
2405526f35 divaio: Break out Project Diva IO DLL 2019-05-03 15:50:37 -04:00
Tau
46ab6c3d96 chuniio: Break out Chunithm IO DLL 2019-05-03 14:46:58 -04:00
Tau
23257f272e board/slider-cmd: Simplify RGB message def 2019-05-02 22:11:54 -04:00
Tau
ee39a94bde board/io3.c: Add capabilities comment 2019-05-02 19:41:04 -04:00
Tau
0271abb21e board/io3.c: Fix JVS coin counter emulation 2019-05-02 19:38:39 -04:00
Tau
025102fc58 Remove PCH source files
Deprecated in newer versions of Meson.
2019-05-01 21:17:30 -04:00
Tau
a3aa3ed92a subprojects: Bump capnhook dependency
Upstream has been updated slightly to deal with newer Meson.
2019-05-01 21:16:51 -04:00
Tau
c42b70b2c2 util/clock.c: Block SetLocalTime 2019-05-01 21:12:13 -04:00
Tau
f6a2e64df2 amex/gpio.c: Make DIPSW configurable 2019-05-01 21:12:13 -04:00
Tau
706262ce37 idzhook: Steer with both sticks 2019-05-01 21:12:13 -04:00
Tau
821e7f0704 idzhook: Simulate six-speed shifter 2019-04-08 14:25:45 -04:00
Tau
2b50369ad2 platform/hwmon.c: Suppress logging
We don't really care exactly when the CPU temp gets checked.
2019-03-27 18:46:22 -04:00
Tau
2df92f7492 util/async.c: Small locking fix 2019-03-16 12:47:55 -04:00
Tau
657367c040 platform/pcbid.c: Add ALLS hostname hook 2019-03-16 12:17:41 -04:00
Tau
24b82b64e6 divahook: Add initial Project Diva hook 2019-03-16 12:17:41 -04:00
Tau
690f96f276 amex/ds.c: Rename ds.txt to pcbid.txt
ALLS hardware does not have a DS EEPROM or indeed even an AMEX. It
uses the Windows hostname instead. We'd like to use the same file
name for both use cases, so let's change the file name to be
something more generic.
2019-03-16 12:17:41 -04:00
Tau
9924bf6018 amex/ds.c: Remove redundant OVERLAPPED handling
capnhook handles this common case by itself.
2019-03-16 12:17:41 -04:00
Tau
27663b4b19 board/sg-reader.c: Push down aimeio.dll calls
This is kind of a layer break but the alternative is way too much
boilerplate to deal with.
2019-03-16 11:42:36 -04:00
Tau
458bf5b3de subprojects: Bump capnhook dep
Use a pre-release commit of capnhook that lets us hook HID.DLL
without getting blown up by apisets.
2019-03-15 22:17:00 -04:00
Tau
8f8d7c6a22 idzhook: Add initial XInput-backed IDZero hook 2019-03-08 10:07:48 -05:00
Tau
b550efd4a9 zinput: Add stub DirectInput implementation
Initial D Zero has some incomplete built-in PC input support, we
need to disable it so that it does not interfere with our JVS
emulation.
2019-03-08 10:07:48 -05:00
Tau
9ae07c6e49 Add xinput.h to PCH 2019-03-08 10:07:48 -05:00
Tau
463d55cddc board/io3.c: Use IO-4 GPIO output count
Supposedly the IO-4's JVS interface presents the exact same
capabilities as the IO-3 except that it purports to have a massive
number of GPIO outputs (20 ports, each port having 8 bits). So
we'll just make our emulated IO-3 look like an IO-4 then.
2019-03-08 10:07:48 -05:00
Tau
5eef0455a2 board/io3.c: Fix analog input endianness 2019-03-08 10:07:48 -05:00
Tau
72f28e40b0 amex/ds.c: Read optional region code 2019-03-04 18:39:37 -05:00
Tau
bc297b2480 Split libnu into libplatform, libamex
Going to add some ALLS stuff to libplatform and the ALLS hardware
does not contain an AMEX board.
2019-03-04 17:22:38 -05:00
Tau
727ce5171f Add XInput dependency 2019-03-04 16:47:32 -05:00
Tau
0806282bbf board/guid.c: Add HID class GUID 2019-03-04 16:47:32 -05:00
Tau
ba8b8e32fc util/async.c: Add async IO worker thread
Need this for IO4 USB emulation, might break it out and upstream it
to Capnhook at some point as well.
2019-03-04 16:47:32 -05:00
Tau
2be3647089 Enable Windows Vista+ Win32 APIs
I'd like to have condition variables.
2019-03-04 16:47:32 -05:00