mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
srmp2: initalized a couple variables to avoid asserts in drvnoclear debug builds
This commit is contained in:
parent
40bf25b8e4
commit
aa4451f31d
@ -66,7 +66,6 @@ Note:
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "sound/ay8910.h"
|
||||
#include "sound/msm5205.h"
|
||||
#include "screen.h"
|
||||
#include "speaker.h"
|
||||
|
||||
@ -79,6 +78,9 @@ Note:
|
||||
|
||||
void srmp2_state::machine_start()
|
||||
{
|
||||
m_adpcm_sptr = 0;
|
||||
m_adpcm_eptr = 0;
|
||||
|
||||
save_item(NAME(m_adpcm_bank));
|
||||
save_item(NAME(m_adpcm_data));
|
||||
save_item(NAME(m_adpcm_sptr));
|
||||
|
@ -41,10 +41,10 @@ private:
|
||||
required_region_ptr<uint8_t> m_adpcm_rom;
|
||||
optional_memory_bank m_mainbank;
|
||||
|
||||
int m_color_bank;
|
||||
int m_gfx_bank;
|
||||
int m_adpcm_bank;
|
||||
int m_adpcm_data;
|
||||
uint8_t m_color_bank;
|
||||
uint8_t m_gfx_bank;
|
||||
uint8_t m_adpcm_bank;
|
||||
uint8_t m_adpcm_data;
|
||||
uint32_t m_adpcm_sptr;
|
||||
uint32_t m_adpcm_eptr;
|
||||
iox_t m_iox;
|
||||
|
Loading…
Reference in New Issue
Block a user