mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 18:37:01 +00:00
SCI32: Fix potentially uninitialized variable
This commit is contained in:
parent
97c50fcfb8
commit
e80f1bb115
@ -800,7 +800,7 @@ reg_t Audio32::kernelPlay(const bool autoPlay, const int argc, const reg_t *cons
|
||||
bool loop;
|
||||
int16 volume;
|
||||
bool monitor = false;
|
||||
reg_t soundNode;
|
||||
reg_t soundNode = NULL_REG;
|
||||
|
||||
if (argc >= 5) {
|
||||
resourceId = ResourceId(kResourceTypeAudio36, argv[0].toUint16(), argv[1].toUint16(), argv[2].toUint16(), argv[3].toUint16(), argv[4].toUint16());
|
||||
|
Loading…
x
Reference in New Issue
Block a user