mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
gitadora: (arena model) flip realtek option (#733)
## Link to GitHub Issue or related Pull Request, if one exists #730 ## Description of change Flip the option - enable the Realtek hack by default, unless the user chooses not to. ## Testing Tested ASIO path and WASAPI path. WASAPI path should be unaffected as the game just picks the default audio device.
This commit is contained in:
@@ -687,8 +687,8 @@ int main_implementation(int argc, char *argv[]) {
|
||||
if (options[launcher::Options::GitaDoraArenaAsioDriver].is_active()) {
|
||||
games::gitadora::ASIO_DRIVER = options[launcher::Options::GitaDoraArenaAsioDriver].value_text();
|
||||
}
|
||||
if (options[launcher::Options::GitaDoraArenaFakeRealtekDevice].value_bool()) {
|
||||
hooks::audio::FAKE_REALTEK_RENDER_DEVICE = true;
|
||||
if (options[launcher::Options::GitaDoraArenaRealtekAccess].value_bool()) {
|
||||
games::gitadora::ALLOW_REALTEK_AUDIO = true;
|
||||
}
|
||||
if (options[launcher::Options::LoadNostalgiaModule].value_bool()) {
|
||||
attach_nostalgia = true;
|
||||
|
||||
@@ -1215,12 +1215,13 @@ static const std::vector<OptionDefinition> OPTION_DEFINITIONS = {
|
||||
.picker = OptionPickerType::AsioDriver,
|
||||
},
|
||||
{
|
||||
// GitaDoraArenaFakeRealtekDevice
|
||||
.title = "GitaDora Arena Fake Realtek Device",
|
||||
.name = "gdafakerealtek",
|
||||
.desc = "For Arena Model: inject a fake \"Realtek\" audio render device that discards all "
|
||||
"audio sent to it. This is needed as the game crashes when ASIO is in use but Realtek "
|
||||
"audio is not available. On an arcade cabinet, Realtek is used for headphone output.",
|
||||
// GitaDoraArenaRealtekAccess
|
||||
.title = "GitaDora Arena ASIO Allow Headphones",
|
||||
.name = "gdarealtek",
|
||||
.desc = "For Arena Model: allow the game to access the Realtek audio for headphone output.\n\n"
|
||||
"After opening ASIO device, the game then tries to look for audio devices named Realtek to open "
|
||||
"a second audio stream. For compatibility, spice prevents the game from doing this, but enabling "
|
||||
"this option will allow the game to access the Realtek audio device again.",
|
||||
.type = OptionType::Bool,
|
||||
.game_name = "GitaDora",
|
||||
.category = "Game Options",
|
||||
|
||||
@@ -117,7 +117,7 @@ namespace launcher {
|
||||
GitaDoraArenaSingleWindow,
|
||||
GitaDoraArenaWindowLayout,
|
||||
GitaDoraArenaAsioDriver,
|
||||
GitaDoraArenaFakeRealtekDevice,
|
||||
GitaDoraArenaRealtekAccess,
|
||||
LoadJubeatModule,
|
||||
LoadReflecBeatModule,
|
||||
LoadShogikaiModule,
|
||||
|
||||
Reference in New Issue
Block a user