mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 13:55:38 +00:00
Model3.cpp: avoid usage of uninitialized memory
``` ==213531== Thread 20 SoundBoardNoSyn: ==213531== Conditional jump or move depends on uninitialised value(s) ==213531== at 0x1A1D1E: CModel3::RunSoundBoardThread() (Model3.cpp:2607) ==213531== by 0x49BECEA: UnknownInlinedFun (SDL_thread.c:292) ==213531== by 0x49BECEA: RunThread.lto_priv.0 (SDL_systhread.c:76) ==213531== by 0x4F719EA: start_thread (pthread_create.c:444) ==213531== by 0x4FF5653: clone (clone.S:100) ```
This commit is contained in:
parent
5332d8f945
commit
71e5baa61b
|
@ -3205,6 +3205,7 @@ CModel3::CModel3(Util::Config::Node &config)
|
|||
: m_config(config),
|
||||
m_multiThreaded(config["MultiThreaded"].ValueAs<bool>()),
|
||||
m_gpuMultiThreaded(config["GPUMultiThreaded"].ValueAs<bool>()),
|
||||
sndBrdWakeNotify(false),
|
||||
TileGen(config),
|
||||
GPU(config),
|
||||
SoundBoard(config),
|
||||
|
|
Loading…
Reference in a new issue