mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-04 10:36:50 +00:00
Cleanup
This commit is contained in:
parent
e7188d9444
commit
0703615bf5
@ -330,9 +330,8 @@ RFILE *filestream_open(const char *path, unsigned mode, ssize_t len)
|
||||
|
||||
{
|
||||
const char *ld = (const char*)strrchr(path, '.');
|
||||
if (ld) {
|
||||
if (ld)
|
||||
stream->ext = strdup(ld + 1);
|
||||
}
|
||||
}
|
||||
|
||||
filestream_set_size(stream);
|
||||
|
Loading…
x
Reference in New Issue
Block a user