Common/PointerWrap: Remove DoPOD

This was added in 385d8e2b15, but became somewhat redundant with Do in 4c7bbd96e4, and completely redundant now that std::is_trivially_copyable_v is well-supported.
This commit is contained in:
Pokechu22
2022-10-05 22:58:10 -07:00
parent 7498eb1e6c
commit e8221d7948
14 changed files with 30 additions and 36 deletions

View File

@ -107,9 +107,9 @@ void SCPFifoStruct::DoState(PointerWrap& p)
void DoState(PointerWrap& p)
{
p.DoPOD(m_CPStatusReg);
p.DoPOD(m_CPCtrlReg);
p.DoPOD(m_CPClearReg);
p.Do(m_CPStatusReg);
p.Do(m_CPCtrlReg);
p.Do(m_CPClearReg);
p.Do(m_bboxleft);
p.Do(m_bboxtop);
p.Do(m_bboxright);

View File

@ -169,7 +169,7 @@ void DoState(PointerWrap& p)
p.Do(m_DstAlphaConf);
p.Do(m_AlphaModeConf);
p.Do(m_AlphaRead);
p.DoPOD(m_Control);
p.Do(m_Control);
p.Do(s_token);
p.Do(s_token_pending);

View File

@ -440,7 +440,7 @@ void TextureCacheBase::SerializeTexture(AbstractTexture* tex, const TextureConfi
{
// If we're in measure mode, skip the actual readback to save some time.
const bool skip_readback = p.IsMeasureMode();
p.DoPOD(config);
p.Do(config);
if (skip_readback || CheckReadbackTexture(config.width, config.height, config.format))
{