diff options
author | R. Belmont <rb6502@users.noreply.github.com> | 2009-10-02 02:23:29 +0000 |
---|---|---|
committer | R. Belmont <rb6502@users.noreply.github.com> | 2009-10-02 02:23:29 +0000 |
commit | 751581338b5325255c1eaf0bc679070896e9a6b1 (patch) | |
tree | f374b474544e5d20a283b3718ec1277a72d3ae18 /src/emu | |
parent | 06e1ebb63098426886da501355e66e1565cf2b38 (diff) |
Fix GCC compiler warning.
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/debug/debugcmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/debug/debugcmd.c b/src/emu/debug/debugcmd.c index 56c2404ad18..c327ae8c551 100644 --- a/src/emu/debug/debugcmd.c +++ b/src/emu/debug/debugcmd.c @@ -1730,6 +1730,8 @@ static void execute_cheatinit(running_machine *machine, int ref, int params, con address_map_entry *entry; cheat_region_map cheat_region[100]; + memset(cheat_region, 0, sizeof(cheat_region)); + /* validate parameters */ if (!debug_command_parameter_cpu_space(machine, (params > 3) ? param[3] : NULL, ADDRESS_SPACE_PROGRAM, &space)) return; |