From 45dca4a25b814357cbd284e8d03d0c2a704ab199 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 7 Apr 2020 12:53:03 -0400 Subject: [PATCH] CStreamAudioManager: Always initialize x74_oneshot Provides deterministic consistent state when constructing the class. --- Runtime/Audio/CStreamAudioManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Audio/CStreamAudioManager.cpp b/Runtime/Audio/CStreamAudioManager.cpp index cf0b6b19b..51ee8d788 100644 --- a/Runtime/Audio/CStreamAudioManager.cpp +++ b/Runtime/Audio/CStreamAudioManager.cpp @@ -457,7 +457,7 @@ private: s8 x71_companionRight = -1; s8 x72_companionLeft = -1; float x73_volume = 0.f; - bool x74_oneshot; + bool x74_oneshot = false; s32 x78_handleId = -1; // arg2 s32 x7c_streamId = -1; std::shared_ptr m_dvdReq;