mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-25 23:43:17 +00:00
yuzu/compatdb: Rework compatibility submission system
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
This commit is contained in:
parent
252ae177ff
commit
8c677c24a5
5 changed files with 468 additions and 135 deletions
|
|
@ -12,12 +12,22 @@ namespace Ui {
|
|||
class CompatDB;
|
||||
}
|
||||
|
||||
enum class CompatibilityStatus {
|
||||
Perfect = 0,
|
||||
Playable = 1,
|
||||
// Unused: Okay = 2,
|
||||
Ingame = 3,
|
||||
IntroMenu = 4,
|
||||
WontBoot = 5,
|
||||
};
|
||||
|
||||
class CompatDB : public QWizard {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CompatDB(Core::TelemetrySession& telemetry_session_, QWidget* parent = nullptr);
|
||||
~CompatDB();
|
||||
int nextId() const override;
|
||||
|
||||
private:
|
||||
QFutureWatcher<bool> testcase_watcher;
|
||||
|
|
@ -25,6 +35,7 @@ private:
|
|||
std::unique_ptr<Ui::CompatDB> ui;
|
||||
|
||||
void Submit();
|
||||
CompatibilityStatus CalculateCompatibility() const;
|
||||
void OnTestcaseSubmitted();
|
||||
void EnableNext();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue