mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Fixed a container overflow in ViewController that could lead to a rare crash when using an ARM processor
This commit is contained in:
parent
60b958665f
commit
f8dc7559ce
|
@ -885,7 +885,7 @@ std::shared_ptr<GamelistView> ViewController::getGamelistView(SystemData* system
|
|||
if (overrides.find(ThemeTriggers::TriggerType::NO_MEDIA) != overrides.end()) {
|
||||
noMediaTriggerType = ThemeTriggers::TriggerType::NO_MEDIA;
|
||||
|
||||
for (auto& imageType : overrides.at(ThemeTriggers::TriggerType::NO_MEDIA).second) {
|
||||
for (auto imageType : overrides.at(ThemeTriggers::TriggerType::NO_MEDIA).second) {
|
||||
for (auto it = files.cbegin(); it != files.cend(); ++it) {
|
||||
if (imageType == "miximage") {
|
||||
if (!(*it)->getMiximagePath().empty()) {
|
||||
|
|
Loading…
Reference in a new issue