Created a whitelist of system archives to prevent false positives creating dialogs.
This commit is contained in:
parent
0409bdfea5
commit
a8aef599e0
9 changed files with 70 additions and 35 deletions
|
@ -6,9 +6,6 @@
|
|||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
#include "common/common_types.h"
|
||||
#include "core/memory.h"
|
||||
#include "core/perf_stats.h"
|
||||
|
@ -117,13 +114,10 @@ public:
|
|||
|
||||
void SetStatus(ResultStatus new_status, std::string details = std::string()) {
|
||||
status = new_status;
|
||||
if (details == std::string())
|
||||
status_details = boost::none;
|
||||
else
|
||||
status_details = details;
|
||||
status_details = details;
|
||||
}
|
||||
|
||||
boost::optional<std::string> GetStatusDetails() {
|
||||
std::string GetStatusDetails() {
|
||||
return status_details;
|
||||
}
|
||||
|
||||
|
@ -154,7 +148,7 @@ private:
|
|||
static System s_instance;
|
||||
|
||||
ResultStatus status;
|
||||
boost::optional<std::string> status_details;
|
||||
std::string status_details;
|
||||
};
|
||||
|
||||
inline ARM_Interface& CPU() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue