diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-09 20:29:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-09 22:40:55 +0300 |
commit | 5e5f81a700017f9ef042afec38187ef490ef7e90 (patch) | |
tree | ef43204737b62cc8349834ee30cf946896dc7dd7 | |
parent | 6a7003cec451a20e22d74ebeb48a0e50d1f73309 (diff) | |
download | manaplus-5e5f81a700017f9ef042afec38187ef490ef7e90.tar.gz manaplus-5e5f81a700017f9ef042afec38187ef490ef7e90.tar.bz2 manaplus-5e5f81a700017f9ef042afec38187ef490ef7e90.tar.xz manaplus-5e5f81a700017f9ef042afec38187ef490ef7e90.zip |
Enable sound by default after auto detection tests.
Sound test ignored.
-rw-r--r-- | src/graphicsmanager.cpp | 1 | ||||
-rw-r--r-- | src/test/testmain.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 1a1876bf0..f9a9b4b71 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -1516,6 +1516,7 @@ void GraphicsManager::detectVideoSettings() config.setValue("textureSize", conf.getValue("textureSize", "1024,1024,1024,1024,1024,1024")); config.setValue("testInfo", conf.getValue("testInfo", "")); + config.setValue("sound", conf.getValue("sound", 0)); delete test; } } diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp index c2fcc75f9..fad34dbb0 100644 --- a/src/test/testmain.cpp +++ b/src/test/testmain.cpp @@ -101,7 +101,7 @@ int TestMain::exec(const bool testAudio) if (testAudio) soundTest = invokeTest4(); else - soundTest = 1; + soundTest = 0; info.append(strprintf("%d.%d,%d,%d,%d.", soundTest, softwareTest, normalOpenGLTest, safeOpenGLTest, modernOpenGLTest)); |