Changed default dll behaviour to be compatiable with chusanApp games
This commit is contained in:
parent
8078821d7c
commit
c5f6496adf
@ -7,11 +7,6 @@ thanks to:
|
||||
- [**akiroz**](https://dev.s-ul.net/akiroz/chuniio-tasoller) for the original code and USB Protocol information
|
||||
- [**Dniel97**](https://gitea.tendokyu.moe/Dniel97) for rewritting my failed attempts at making this work
|
||||
|
||||
|
||||
the current implementation may not be fully arcade accurate, but should be visually acceptable during gameplay
|
||||
this should hopefully be addressed in the future
|
||||
|
||||
|
||||
Supported titles:
|
||||
- CHUNITHM
|
||||
- CHUNITHM NEW
|
||||
@ -20,7 +15,6 @@ Supported titles:
|
||||
- CHUNITHM SUN PLUS
|
||||
- CHUNITHM LUMINOUS
|
||||
|
||||
|
||||
## Configuration
|
||||
|
||||
- For modern CHUNITHM (NEW and above)
|
||||
@ -30,7 +24,6 @@ segatools.ini
|
||||
[chuniio]
|
||||
path32=chuniio_tasoller.dll
|
||||
path64=chuniio_tasoller_x64.dll
|
||||
chusan=1
|
||||
```
|
||||
|
||||
- For older CHUNITHM (PARADISE LOST and older)
|
||||
@ -39,6 +32,7 @@ segatools.ini
|
||||
```ini
|
||||
[chuniio]
|
||||
path=chuniio_tasoller.dll
|
||||
chusan=0
|
||||
```
|
||||
|
||||
## USB Protocol
|
||||
|
@ -201,10 +201,10 @@ pub export fn DllMain(hDllHandle: HANDLE, dwReason: DWORD, lpreserved: LPVOID) B
|
||||
const cfg_file = ".\\segatools.ini";
|
||||
std.log.info("[chuniio] Loading config from {s}", .{cfg_file});
|
||||
cfg = .{
|
||||
.test_key = @as(i32, @intCast(GetPrivateProfileIntA("io3", "test", 0x31, cfg_file))),
|
||||
.serv_key = @as(i32, @intCast(GetPrivateProfileIntA("io3", "service", 0x32, cfg_file))),
|
||||
.coin_key = @as(i32, @intCast(GetPrivateProfileIntA("io3", "coin", 0x33, cfg_file))),
|
||||
.chusan = @as(i32, @intCast(GetPrivateProfileIntA("chuniio", "chusan", 0, cfg_file))),
|
||||
.test_key = @as(i32, @intCast(GetPrivateProfileIntA("io3", "test", 0x70, cfg_file))),
|
||||
.serv_key = @as(i32, @intCast(GetPrivateProfileIntA("io3", "service", 0x71, cfg_file))),
|
||||
.coin_key = @as(i32, @intCast(GetPrivateProfileIntA("io3", "coin", 0x72, cfg_file))),
|
||||
.chusan = @as(i32, @intCast(GetPrivateProfileIntA("chuniio", "chusan", 1, cfg_file))),
|
||||
};
|
||||
|
||||
return win32.zig.TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user