Skip to content

Commit

Permalink
Remove some unneeded logging (#16298)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonninnos authored Feb 27, 2024
1 parent a3fe9c0 commit 9dfa1df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 5 additions & 4 deletions command.c
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ void command_event_set_replay_auto_index(settings_t *settings)
struct string_list *dir_list = NULL;
unsigned max_idx = 0;
runloop_state_t *runloop_st = runloop_state_get_ptr();
bool replay_auto_index = settings->bools.replay_auto_index;
bool replay_auto_index = settings->bools.replay_auto_index;
bool show_hidden_files = settings->bools.show_hidden_files;

if (!replay_auto_index)
Expand Down Expand Up @@ -1609,9 +1609,10 @@ void command_event_set_replay_auto_index(settings_t *settings)

configuration_set_int(settings, settings->ints.replay_slot, max_idx);

RARCH_LOG("[Replay]: %s: #%d\n",
msg_hash_to_str(MSG_FOUND_LAST_REPLAY_SLOT),
max_idx);
if (max_idx)
RARCH_LOG("[Replay]: %s: #%d\n",
msg_hash_to_str(MSG_FOUND_LAST_REPLAY_SLOT),
max_idx);
}

void command_event_set_replay_garbage_collect(
Expand Down
4 changes: 0 additions & 4 deletions disk_control_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,10 +831,6 @@ bool disk_control_verify_initial_index(
disk_index_file_set(&disk_control->index_record, 0, NULL);
disk_index_file_save(&disk_control->index_record);
}
else if (!enabled)
{
RARCH_LOG("[Disc]: Initial disc index setting disabled.");
}

/* If current disk is correct and recorded image
* path is empty (i.e. first run), need to register
Expand Down

0 comments on commit 9dfa1df

Please sign in to comment.