* Update RT64 to correctly report errors for shader model 5.1 GPUs

* Fixed Windows filesystem error crash

* Force audio driver selection to wasapi on Windows to prevent audio issue
This commit is contained in:
Wiseguy
2024-05-26 14:24:13 -04:00
committed by GitHub
parent 4ebe71bfcc
commit 1ea7d4ebe9
5 changed files with 34 additions and 23 deletions
+4
View File
@@ -323,6 +323,10 @@ int main(int argc, char** argv) {
SetCurrentConsoleFontEx(GetStdHandle(STD_OUTPUT_HANDLE), FALSE, &cfi);
#endif
#ifdef _WIN32
// Force wasapi on Windows, as there seems to be some issue with sample queueing with directsound currently.
SDL_setenv("SDL_AUDIODRIVER", "wasapi", true);
#endif
//printf("Current dir: %ls\n", std::filesystem::current_path().c_str());
// Initialize SDL audio and set the output frequency.