Skip to content

Commit

Permalink
make Alternate_Init enabled by default again
Browse files Browse the repository at this point in the history
  • Loading branch information
somewhatlurker committed Jul 5, 2019
1 parent 5f8a745 commit 4ce9179
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DivaSound/src/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ void loadConfig()
if (nPeriods < 1) nPeriods = 1;


useOldInit = GetPrivateProfileIntW(L"general", L"alternate_init", 0, CONFIG_FILE) == 0 ? true : false;
useOldInit = GetPrivateProfileIntW(L"general", L"alternate_init", 0, CONFIG_FILE) > 0 ? false : true;


GetPrivateProfileStringW(L"general", L"backend", L"wasapi", backendName, 32, CONFIG_FILE);
Expand Down
4 changes: 2 additions & 2 deletions data/plugins/DivaSound.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Bit_Depth=16
# ASIO doesn't use the buffer settings. Use ASIO config instead.
Backend=WASAPI

# If you get no audio or the game crashes when loading, try setting this to 1.
Alternate_Init=0
# If the game crashes when loading, try setting this to 1.
Alternate_Init=1

[Buffer]
# Sets the requested buffer size in milliseconds.
Expand Down

0 comments on commit 4ce9179

Please sign in to comment.