Skip to content

Commit

Permalink
(task_content_disc.c) Use fill_pathname
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Dec 30, 2024
1 parent b4cf279 commit 707f196
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tasks/task_content_disc.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,9 @@ static void task_cdrom_dump_handler(retro_task_t *task)

filestream_close(state->file);

_len = strlcpy(cue_filename,
state->title, sizeof(cue_filename));
strlcpy(cue_filename + _len,
".cue",
sizeof(cue_filename) - _len);
_len = fill_pathname(cue_filename,
state->title,
".cue", sizeof(cue_filename));

fill_pathname_join_special(output_file,
directory_core_assets, cue_filename, sizeof(output_file));
Expand Down

0 comments on commit 707f196

Please sign in to comment.