Merge pull request #17728 from pstef/signed-slot

This commit is contained in:
LibretroAdmin 2025-03-25 04:39:59 -07:00 committed by GitHub
commit 873c467240
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -7320,7 +7320,7 @@ bool runloop_get_savestate_path(char *s, size_t len, int state_slot)
return true; return true;
} }
bool runloop_get_replay_path(char *s, size_t len, unsigned slot) bool runloop_get_replay_path(char *s, size_t len, int slot)
{ {
size_t _len; size_t _len;
runloop_state_t *runloop_st = &runloop_state; runloop_state_t *runloop_st = &runloop_state;
@ -7335,7 +7335,7 @@ bool runloop_get_replay_path(char *s, size_t len, unsigned slot)
_len = strlcpy(s, name_replay, len); _len = strlcpy(s, name_replay, len);
if (slot >= 0) if (slot >= 0)
snprintf(s + _len, len - _len, "%d", slot); snprintf(s + _len, len - _len, "%d", slot);
return true; return true;
} }

View File

@ -431,7 +431,7 @@ bool runloop_get_current_savestate_path(char *path, size_t len);
bool runloop_get_savestate_path(char *path, size_t len, int slot); bool runloop_get_savestate_path(char *path, size_t len, int slot);
bool runloop_get_replay_path(char *path, size_t len, unsigned slot); bool runloop_get_replay_path(char *path, size_t len, int slot);
void runloop_state_free(runloop_state_t *runloop_st); void runloop_state_free(runloop_state_t *runloop_st);