mirror of
https://github.com/RetroPie/RetroPie-Setup.git
synced 2025-04-02 10:51:41 -04:00
Crash seems reproducible only on gcc 6.3.0 via Rasbian stretch, but the workaround should not negatively impact other systems. See: https://github.com/gonetz/GLideN64/issues/1665
13 lines
438 B
Diff
13 lines
438 B
Diff
diff --git a/GLideN64/src/Combiner.cpp b/GLideN64/src/Combiner.cpp
|
|
index f724cc0..0141f6c 100644
|
|
--- a/GLideN64/src/Combiner.cpp
|
|
+++ b/GLideN64/src/Combiner.cpp
|
|
@@ -295,7 +295,7 @@ void CombinerInfo::setCombine(u64 _mux )
|
|
} else {
|
|
m_pCurrent = Combiner_Compile(key);
|
|
m_pCurrent->update(true);
|
|
- m_combiners[m_pCurrent->getKey()] = m_pCurrent;
|
|
+ m_combiners.emplace(m_pCurrent->getKey(), m_pCurrent);
|
|
}
|
|
m_bChanged = true;
|
|
}
|