Skip to content

Commit

Permalink
pc9801: fixed new compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbbert committed Mar 28, 2024
1 parent 21cf8e3 commit 67f6b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mame/nec/pc9801.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2069,7 +2069,7 @@ MACHINE_RESET_MEMBER(pc9801vm_state,pc9801rs)

m_dac1bit_disable = true;

memset(&m_egc, 0, sizeof(m_egc));
m_egc = {}; //memset(&m_egc, 0, sizeof(m_egc)); This gives warning "clearing an object of non-trivial type"
}

MACHINE_RESET_MEMBER(pc9801bx_state,pc9801bx2)
Expand Down

0 comments on commit 67f6b52

Please sign in to comment.