mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-21 16:48:58 +02:00
Adds the capability to add DLC and Updates without installing them to NAND. This was tested on Windows only and needs Android integration. Co-authored-by: crueter <crueter@eden-emu.dev> Co-authored-by: wildcard <wildcard@eden-emu.dev> Co-authored-by: nekle <nekle@protonmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2862 Reviewed-by: DraVee <dravee@eden-emu.dev> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: Maufeat <sahyno1996@gmail.com> Co-committed-by: Maufeat <sahyno1996@gmail.com>
49 lines
1 KiB
C++
49 lines
1 KiB
C++
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#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();
|
|
|
|
private:
|
|
void changeEvent(QEvent* event) override;
|
|
|
|
void RetranslateUI();
|
|
void SetConfiguration();
|
|
|
|
enum class DirectoryTarget {
|
|
NAND,
|
|
SD,
|
|
Save,
|
|
Gamecard,
|
|
Dump,
|
|
Load,
|
|
};
|
|
|
|
void SetDirectory(DirectoryTarget target, QLineEdit* edit);
|
|
void SetSaveDirectory();
|
|
void PromptSaveMigration(const QString& from_path, const QString& to_path);
|
|
void ResetMetadata();
|
|
void UpdateEnabledControls();
|
|
|
|
std::unique_ptr<Ui::ConfigureFilesystem> ui;
|
|
};
|