From 27484f074f950077be8796093d20e8e57feecff2 Mon Sep 17 00:00:00 2001 From: riccardom Date: Fri, 29 Jan 2010 11:14:35 +0000 Subject: [PATCH] Iniatilize _spu_advanced othwerise we read uninitialized memory as reported by valgrind. --- desmume/src/commandline.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desmume/src/commandline.cpp b/desmume/src/commandline.cpp index e195512ef..e0d96bdcb 100644 --- a/desmume/src/commandline.cpp +++ b/desmume/src/commandline.cpp @@ -45,6 +45,7 @@ CommandLine::CommandLine() , _bios_arm9(NULL) , _bios_arm7(NULL) , _bios_swi(0) +, _spu_advanced(0) , _num_cores(-1) { load_slot = 0;