mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
voodoo: Address minor coverity complaints
This commit is contained in:
parent
7419700de0
commit
79c69f958d
@ -316,7 +316,9 @@ tmu_state::tmu_state() :
|
||||
m_ram(nullptr),
|
||||
m_mask(0),
|
||||
m_basemask(0xfffff),
|
||||
m_baseshift(3)
|
||||
m_baseshift(3),
|
||||
m_regdirty(true),
|
||||
m_texel_lookup(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
@ -578,6 +580,7 @@ void debug_stats::add_emulation_stats(thread_stats_block const &block)
|
||||
|
||||
void debug_stats::reset()
|
||||
{
|
||||
m_swaps = 0;
|
||||
m_stalls = 0;
|
||||
m_triangles = 0;
|
||||
m_pixels_in = 0;
|
||||
|
@ -1040,8 +1040,6 @@ s32 voodoo_banshee_device::internal_2d_w(offs_t offset, u32 data)
|
||||
default:
|
||||
if (offset >= 0x20 && offset < 0x40)
|
||||
execute_blit(data);
|
||||
else if (offset >= 0x40 && offset < 0x80)
|
||||
{} // TODO: colorPattern
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1001,7 +1001,13 @@ public:
|
||||
static constexpr u32 reg_nccTable = 0x324/4; // W F
|
||||
|
||||
// constructor
|
||||
voodoo_regs()
|
||||
voodoo_regs() :
|
||||
m_starts(0), m_startt(0),
|
||||
m_startw(0),
|
||||
m_dsdx(0), m_dtdx(0),
|
||||
m_dwdx(0),
|
||||
m_dsdy(0), m_dtdy(0),
|
||||
m_dwdy(0)
|
||||
{
|
||||
for (int index = 0; index < std::size(m_regs); index++)
|
||||
m_regs[index].u = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user