mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 06:40:42 -07:00
4ea55a61b8
## Link to GitHub Issue or related Pull Request, if one exists #717 ## Description of change Add an option to override the ASIO device. By default the game will try to use any ASIO driver that contains the string `XONAR` in it. ## Testing Tested with FlexASIO.
13 lines
423 B
C++
13 lines
423 B
C++
#pragma once
|
|
|
|
namespace games::gitadora {
|
|
|
|
// installs IAT registry hooks in gfdm.dll that redirect the game's
|
|
// ASIO driver lookup (hard-coded "XONAR" substring) to a user-chosen
|
|
// driver name read from games::gitadora::ASIO_DRIVER.
|
|
//
|
|
// safe to call unconditionally; if ASIO_DRIVER is unset the hooks
|
|
// forward every call straight through to advapi32.
|
|
void asio_hook_init();
|
|
}
|