Make enabling game crops more seamless

This commit is contained in:
Lorenzooone
2024-06-25 00:28:50 +02:00
parent 781d7e28e7
commit e899286865
8 changed files with 19 additions and 28 deletions

View File

@@ -12,8 +12,6 @@ struct ScreenInfo {
bool is_blurred;
int crop_kind;
int crop_kind_ds;
int crop_kind_games;
int crop_kind_ds_games;
bool allow_games_crops;
double scaling;
bool is_fullscreen;

View File

@@ -212,7 +212,7 @@ private:
void fast_poll_change();
void padding_change();
void game_crop_enable_change();
void crop_value_change(int new_crop_value);
void crop_value_change(int new_crop_value, bool do_print_notification = true, bool do_cycle = true);
void par_value_change(int new_par_value, bool is_top);
void offset_change(float &value, float change);
void menu_scaling_change(bool positive);

View File

@@ -24,7 +24,7 @@
#define SIMPLE_RESET_DATA_INDEX -2
#define CREATE_NEW_FILE_INDEX -3
std::string get_version_string();
std::string get_version_string(bool get_letter = true);
std::string LayoutNameGenerator(int index);
std::string LayoutPathGenerator(int index);
std::string load_layout_name(int index, bool &success);