mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-16 02:49:17 +01:00
Force flush when dirty refresh returns true
This commit is contained in:
parent
ec4ea5c5d7
commit
302b2fcc3f
@ -222,7 +222,8 @@ namespace skyline::dirty {
|
|||||||
dirty = false;
|
dirty = false;
|
||||||
value.Flush(std::forward<Args>(args)...);
|
value.Flush(std::forward<Args>(args)...);
|
||||||
} else if constexpr (std::is_base_of_v<RefreshableManualDirty, T>) {
|
} else if constexpr (std::is_base_of_v<RefreshableManualDirty, T>) {
|
||||||
value.Refresh(std::forward<Args>(args)...);
|
if (value.Refresh(std::forward<Args>(args)...))
|
||||||
|
value.Flush(std::forward<Args>(args)...);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user