mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Common/PointerWrap: Remove DoPOD
This was added in385d8e2b15
, but became somewhat redundant with Do in4c7bbd96e4
, and completely redundant now that std::is_trivially_copyable_v is well-supported.
This commit is contained in:
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user