mirror of
https://github.com/0ldsk00l/nestopia.git
synced 2024-05-22 22:18:16 -04:00
Remove broken config option for storing most recently opened directory
This commit is contained in:
parent
e7ff6a4083
commit
70f71ca630
|
@ -128,10 +128,9 @@ void config_file_write(const char *nstdir) {
|
|||
fprintf(fp, "genie_distortion=%d\n", conf.misc_genie_distortion);
|
||||
fprintf(fp, "disable_cursor=%d\n", conf.misc_disable_cursor);
|
||||
fprintf(fp, "disable_cursor_special=%d\n", conf.misc_disable_cursor_special);
|
||||
fprintf(fp, "config_pause=%d\n", conf.misc_config_pause);
|
||||
fprintf(fp, "last_folder=%s\n", conf.misc_last_folder);
|
||||
fprintf(fp, "config_pause=%d\n\n", conf.misc_config_pause);
|
||||
fprintf(fp, "; 0=0x00, 1=0xFF, 2=Random\n");
|
||||
fprintf(fp, "power_state=%d\n", conf.misc_power_state);
|
||||
fprintf(fp, "power_state=%d\n\n", conf.misc_power_state);
|
||||
fprintf(fp, "; Valid values are -1 (disabled) or 0 to 65535.\n");
|
||||
fprintf(fp, "homebrew_exit=%d\n", conf.misc_homebrew_exit);
|
||||
fprintf(fp, "homebrew_stdout=%d\n", conf.misc_homebrew_stdout);
|
||||
|
@ -198,7 +197,6 @@ void config_set_default() {
|
|||
conf.misc_disable_cursor = false;
|
||||
conf.misc_disable_cursor_special = false;
|
||||
conf.misc_config_pause = false;
|
||||
conf.misc_last_folder = NULL;
|
||||
conf.misc_power_state = 0;
|
||||
conf.misc_homebrew_exit = -1;
|
||||
conf.misc_homebrew_stdout = -1;
|
||||
|
@ -261,7 +259,6 @@ static int config_match(void* user, const char* section, const char* name, const
|
|||
else if (MATCH("misc", "config_pause")) { pconfig->misc_config_pause = atoi(value); }
|
||||
else if (MATCH("misc", "disable_cursor")) { pconfig->misc_disable_cursor = atoi(value); }
|
||||
else if (MATCH("misc", "disable_cursor_special")) { pconfig->misc_disable_cursor_special = atoi(value); }
|
||||
else if (MATCH("misc", "last_folder")) { pconfig->misc_last_folder = strdup(value); }
|
||||
else if (MATCH("misc", "power_state")) { pconfig->misc_power_state = atoi(value); }
|
||||
else if (MATCH("misc", "homebrew_exit")) { pconfig->misc_homebrew_exit = atoi(value); }
|
||||
else if (MATCH("misc", "homebrew_stdout")) { pconfig->misc_homebrew_stdout = atoi(value); }
|
||||
|
|
|
@ -55,7 +55,6 @@ typedef struct {
|
|||
bool misc_disable_cursor;
|
||||
bool misc_disable_cursor_special;
|
||||
bool misc_config_pause;
|
||||
char* misc_last_folder;
|
||||
int misc_power_state;
|
||||
int misc_homebrew_exit;
|
||||
int misc_homebrew_stdout;
|
||||
|
|
Loading…
Reference in a new issue