provider: Fixed applying of IPS patches. Handle applying asynchronously

This commit is contained in:
WerWolv
2022-01-09 21:27:59 +01:00
parent 4e636381fd
commit d38d261bbc
8 changed files with 149 additions and 51 deletions

View File

@@ -11,6 +11,7 @@ namespace hex {
Task(const std::string& unlocalizedName, u64 maxValue);
~Task();
void setMaxValue(u64 maxValue);
void update(u64 currValue);
void finish();
@@ -20,6 +21,9 @@ namespace hex {
[[nodiscard]]
const std::string& getName() const;
[[nodiscard]]
bool isPending() const;
private:
std::string m_name;
u64 m_maxValue, m_currValue;