Add 'Set Up System Files' option (#642)
* Add 'Set Up System Files' option * Fix CIA installation and HLE module loading when no console unique data provided.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright 2014 Citra Emulator Project
|
||||
// Copyright Citra Emulator Project / Azahar Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
@@ -74,6 +74,8 @@ std::string_view GetTextureSamplingName(TextureSampling sampling) {
|
||||
|
||||
Values values = {};
|
||||
static bool configuring_global = true;
|
||||
bool is_temporary_frame_limit;
|
||||
double temporary_frame_limit;
|
||||
|
||||
void LogSettings() {
|
||||
const auto log_setting = [](std::string_view name, const auto& value) {
|
||||
@@ -247,5 +249,4 @@ void DeleteProfile(int index) {
|
||||
void RenameCurrentProfile(std::string new_name) {
|
||||
Settings::values.current_input_profile.name = std::move(new_name);
|
||||
}
|
||||
|
||||
} // namespace Settings
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2014 Citra Emulator Project
|
||||
// Copyright Citra Emulator Project / Azahar Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
@@ -618,4 +618,10 @@ void CreateProfile(std::string name);
|
||||
void DeleteProfile(int index);
|
||||
void RenameCurrentProfile(std::string new_name);
|
||||
|
||||
extern bool is_temporary_frame_limit;
|
||||
extern double temporary_frame_limit;
|
||||
static inline double GetFrameLimit() {
|
||||
return is_temporary_frame_limit ? temporary_frame_limit : values.frame_limit.GetValue();
|
||||
}
|
||||
|
||||
} // namespace Settings
|
||||
|
||||
Reference in New Issue
Block a user