mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
patch_manager: Add dropdown labels
This commit is contained in:
parent
080737fd1f
commit
f2ded2fdb7
3 changed files with 37 additions and 14 deletions
|
@ -78,13 +78,24 @@ public:
|
|||
mutable u32 alloc_addr = 0; // Used to save optional allocation address (if occured)
|
||||
};
|
||||
|
||||
struct patch_allowed_value
|
||||
{
|
||||
std::string label;
|
||||
f64 value{};
|
||||
|
||||
bool operator==(const patch_allowed_value& other) const
|
||||
{
|
||||
return value == other.value && label == other.label;
|
||||
}
|
||||
};
|
||||
|
||||
struct patch_dynamic_value
|
||||
{
|
||||
f64 value{};
|
||||
f64 min{};
|
||||
f64 max{};
|
||||
patch_dynamic_type type{};
|
||||
std::vector<f64> allowed_values;
|
||||
std::vector<patch_allowed_value> allowed_values;
|
||||
|
||||
bool operator==(const patch_dynamic_value& other) const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue