1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-12-02 16:37:17 +01:00
Commit Graph

355 Commits

Author SHA1 Message Date
Shiz
ad24fe10bb build: enable "secure" CRT headers on MinGW
Some distributions of MinGW, recent builds included, require
`MINGW_HAS_SECURE_API` to be defined in order to expose `_s` variants of
functions, as defined by Annex K of the C standard, in the headers.

Omitting this definition leads to a bunch of compiler warnings clobbering
the build output, as well as possibly incorrect inference of argument and
return types by the compiler.

It needs to be set to `1` as opposed to simply defined as per
https://sourceforge.net/p/mingw-w64/bugs/714/.
2019-12-22 21:55:55 +01:00
Shiz
0d8dd05ceb platform/vfs.c: add option path redirection
Optional for now, since not all games or configurations may need it.
It may be better eventually to refactor hooklib/path.c to allow for
static path remapping, to minimize boilerplate code around the functions.
2019-12-22 18:27:19 +01:00
Shiz
a31557c5cd hooklib/path.c: add slash-insensitive path comparison API 2019-12-19 08:31:44 +01:00
Shiz
28e9594b98 hooklib/path.c: add support for FindFirstFile{A,W} 2019-12-18 20:23:35 +01:00
Tau
83afa0a423 Add INI comments for Chunithm IO config 2019-11-27 21:14:44 -05:00
Tau
97cfa2289e Simplify configurable GetAsyncKeyState
Setting the VK code to zero effectively disables these anyway.
2019-11-27 21:02:51 -05:00
Tau
388ba0b4a4 chuniio: Add input config 2019-11-27 21:02:51 -05:00
Tau
e6c792787b chuniio: Increase touch pressure
The touch pressure threshold is configurable, probably best not to
set this to the bare minimum.
2019-11-24 18:44:39 -05:00
Tau
2402e6cb88 idzio: Adjust and document [io3] restrict= setting 2019-11-24 18:44:39 -05:00
Tau
eb58c0ef23 Uncomment default subnet INI setting
The default value being commented out is no doubt a great source
of confusion whenever somebody attempts to edit it without
realizing that it is a comment.
2019-11-24 12:46:40 -05:00
Bemani Witch
27db92c0bf Added more controller options to idzio
Add axis reversal for dinput and single stick steering for xinput.
2019-11-22 00:59:08 +00:00
Will Toohey
e15a61a7d0 Allow dns hook to fail a resolve and add domains
This lets people with crap ISPs that resolve domains
that they shouldn't to use the game without
changing their DNS server
2019-11-17 15:08:25 +10:00
Will Toohey
5ab159c972 Fix compile due to undefined CERT_NAME_BLOB
mingw-w64 bug 523 means that compile fails with missing type CERT_NAME_BLOB
Pulling in wincrypt.h solves this
2019-11-17 14:31:23 +10:00
Sam Sun
33621dd1e8 Fix build on msbuild 2019-11-09 15:44:46 -07:00
Shiz
1cf9e1a1b0 build: don't hardcode cross-toolchain path
It doesn't seem to be needed, and this makes the build work for
environments where MinGW-w64 cross-toolchains get installed someplace
else (e.g. macOS with Homebrew to /usr/local).
2019-11-09 13:42:15 +00:00
James Liu
40e2b03766 Update start.bat make it convenient for everyone to run it as Administrator 2019-11-08 10:54:59 +08:00
Tau
7d34d9f915 Add initial distribution packaging script 2019-11-07 18:18:40 -05:00
Tau
0317a48280 platform/netenv.c: Fix GetIfTable() for idz 2019-11-07 18:11:26 -05:00
Tau
898476432c Add a sorry excuse for a README 2019-11-06 22:20:07 -05:00
Tau
391b6f7770 Add sample config files and startup scripts 2019-11-06 22:20:07 -05:00
Tau
0cb804d5ca Add reference PKI 2019-11-06 21:02:49 -05:00
Tau
7f05295b2e platform/config.c: Fix sscanf() format string 2019-11-06 20:18:56 -05:00
Tau
a2b202c8e4 aimeio/aimeio.c: Add card autogen
Also took a wrecking ball to the poll implementation in general.
2019-11-05 21:42:48 -05:00
Tau
4b45e105a7 aimeio/aimeio.h: Add API stability warning 2019-11-05 21:42:38 -05:00
Tau
48721f5418 platform/vfs.c: Abort if VFS is misconfigured 2019-11-05 20:44:00 -05:00
Tau
a94772b0c4 Shift hook DLL config structs around 2019-11-05 20:11:25 -05:00
Tau
f11a3cb657 board: Shift config structs around 2019-11-05 19:40:00 -05:00
Tau
f8289689f0 amex: Shift config structs around 2019-11-05 19:36:35 -05:00
Tau
8485879ff7 hooklib: Shift config structs around 2019-11-05 19:31:51 -05:00
Tau
8b8656c9d2 platform: Shift config structs around 2019-11-05 19:31:11 -05:00
Tau
a87b8f72fa Abort hook DLLs on startup error 2019-11-05 18:03:24 -05:00
Tau
bf90450539 divahook/slider.c: Propagate HRESULT 2019-11-05 18:03:16 -05:00
Tau
dcdc19086d platform/config.c: Set sensible default keychip subnet 2019-11-04 21:47:41 -05:00
Tau
b23ff704be Fix various MU3 input issues
Too much hurried copy-pasting.
2019-11-03 19:55:02 -05:00
Tau
f76ddf2103 platform/amvideo.c: Trim debug log
We don't really need to dump all those hex memory addresses.
2019-11-03 19:54:41 -05:00
Tau
c7255e3ebb platform/pcbid.c: Return HRESULT for consistency 2019-11-03 19:54:31 -05:00
Tau
a5a42c3326 idzhook/zinput.c: Clean up some clutter 2019-11-03 16:14:26 -05:00
Tau
59ad491d08 idzhook: Fold zinput into idzhook 2019-11-03 16:12:58 -05:00
Tau
dfc1e13397 cardhook: Fold back into chunihook
And so the cycle goes on.
2019-11-03 15:38:15 -05:00
Tau
fc345a46a7 board/sg-reader.c: Improve life cycle 2019-11-03 15:37:29 -05:00
Tau
0e1cfb66db Improve JVS bus life cycle handling 2019-11-03 13:01:38 -05:00
Tau
93fcdf8f6d board/io3.c: Add io3_to_jvs_node() accessor 2019-11-03 13:00:55 -05:00
Tau
879dc0bfb4 Use new iohook_open_nul_fd() API
Makes error handling more consistent
2019-11-03 11:02:54 -05:00
Tau
7ee74214f7 subprojects: Bump Capnhook dependency 2019-11-03 11:02:46 -05:00
Tau
3d6669dff1 platform: Re-fuse Nu and ALLS platforms
There's basically no difference at the platform level except for
the addition of the ALLS PCBID hook, which is harmless on Nu.
2019-11-03 09:52:33 -05:00
Tau
06df306c52 Fix some dprintf() message prefixes 2019-11-03 09:44:40 -05:00
Tau
46e5c6127d Fix function pointer calling convention syntax
Fixes MSVC build
2019-11-03 08:36:37 -05:00
Tau
de134877a6 platform/netenv.c: Virualize LAN configuration 2019-11-02 23:10:27 -04:00
Tau
2b5bde7742 board: Naming convention change for "sg" bus 2019-10-26 18:25:04 -04:00
Tau
ff14fd7fac idzio: Restrict maximum wheel ADC abs. value 2019-10-21 22:12:05 -04:00