mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 17:55:45 -04:00
Compile fixes for GCC
This commit is contained in:
@ -50,12 +50,13 @@ void Core::Initialize() {}
|
||||
|
||||
void Core::Reset()
|
||||
{
|
||||
m_regs = {};
|
||||
std::memset(&m_regs, 0, sizeof(m_regs));
|
||||
}
|
||||
|
||||
bool Core::DoState(StateWrapper& sw)
|
||||
{
|
||||
sw.DoPOD(&m_regs);
|
||||
sw.DoArray(m_regs.dr32, NUM_DATA_REGS);
|
||||
sw.DoArray(m_regs.cr32, NUM_CONTROL_REGS);
|
||||
return !sw.HasError();
|
||||
}
|
||||
|
||||
@ -1045,4 +1046,4 @@ void Core::Execute_GPF(Instruction inst)
|
||||
m_regs.FLAG.UpdateError();
|
||||
}
|
||||
|
||||
} // namespace GTE
|
||||
} // namespace GTE
|
||||
|
Reference in New Issue
Block a user