mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +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, '.');
|
const char *ld = (const char*)strrchr(path, '.');
|
||||||
if (ld) {
|
if (ld)
|
||||||
stream->ext = strdup(ld + 1);
|
stream->ext = strdup(ld + 1);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
filestream_set_size(stream);
|
filestream_set_size(stream);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user