mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-02-02 17:32:36 +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…
x
Reference in New Issue
Block a user