From 126f88b4ce78f32656421b8d82a11deef7491e89 Mon Sep 17 00:00:00 2001 From: Pieter Hulshoff Date: Wed, 7 Jun 2017 16:37:59 +0200 Subject: [PATCH] Fixed highlight sound effect when using multiple menus. --- RetroFE/Source/Database/MetadataDatabase.cpp | 2 +- RetroFE/Source/Graphics/Page.cpp | 5 ++++- RetroFE/Source/Version.cpp | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/RetroFE/Source/Database/MetadataDatabase.cpp b/RetroFE/Source/Database/MetadataDatabase.cpp index f6a6b81..41abf74 100644 --- a/RetroFE/Source/Database/MetadataDatabase.cpp +++ b/RetroFE/Source/Database/MetadataDatabase.cpp @@ -159,7 +159,7 @@ bool MetadataDatabase::importDirectory() if(dp == NULL) { - Logger::write(Logger::ZONE_ERROR, "CollectionInfoBuilder", "Could not read directory \"" + mameListPath + "\""); + Logger::write(Logger::ZONE_INFO, "CollectionInfoBuilder", "Could not read directory \"" + mameListPath + "\""); } else { diff --git a/RetroFE/Source/Graphics/Page.cpp b/RetroFE/Source/Graphics/Page.cpp index 4a844de..ac7adb8 100644 --- a/RetroFE/Source/Graphics/Page.cpp +++ b/RetroFE/Source/Graphics/Page.cpp @@ -1149,8 +1149,11 @@ void Page::scroll(bool forward) if(menu) { menu->scroll(forward); - highlightSoundChunk_->play(); } } + if(highlightSoundChunk_) + { + highlightSoundChunk_->play(); + } return; } diff --git a/RetroFE/Source/Version.cpp b/RetroFE/Source/Version.cpp index 82addf8..90e9539 100644 --- a/RetroFE/Source/Version.cpp +++ b/RetroFE/Source/Version.cpp @@ -20,7 +20,7 @@ std::string retrofe_version_major = "0"; std::string retrofe_version_minor = "8"; -std::string retrofe_version_build = "6"; +std::string retrofe_version_build = "7"; std::string Version::getString()