mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-30 15:26:54 -05:00
8e77d331be
This tab of the settings is already extremely bloated and the setting itself is quite useless. With a gamelist of almost 30 games, the cache directory is smaller than 1MB for me and therefore I don't see why it needs to be configurable.
42 lines
797 B
C++
42 lines
797 B
C++
// Copyright 2019 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <QWidget>
|
|
|
|
class QLineEdit;
|
|
|
|
namespace Ui {
|
|
class ConfigureFilesystem;
|
|
}
|
|
|
|
class ConfigureFilesystem : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ConfigureFilesystem(QWidget* parent = nullptr);
|
|
~ConfigureFilesystem() override;
|
|
|
|
void applyConfiguration();
|
|
void retranslateUi();
|
|
|
|
private:
|
|
void setConfiguration();
|
|
|
|
enum class DirectoryTarget {
|
|
NAND,
|
|
SD,
|
|
Gamecard,
|
|
Dump,
|
|
Load,
|
|
};
|
|
|
|
void SetDirectory(DirectoryTarget target, QLineEdit* edit);
|
|
void ResetMetadata();
|
|
void UpdateEnabledControls();
|
|
|
|
std::unique_ptr<Ui::ConfigureFilesystem> ui;
|
|
};
|