ignore .xmb files when reloading (not critical, just avoids output clutter)
This was SVN commit r890.
This commit is contained in:
parent
db702310d7
commit
f1c7af9a95
@ -44,11 +44,17 @@ int res_reload_changed_files()
|
||||
|
||||
const char* fn = vfs_path;
|
||||
|
||||
char* ext = strrchr(fn, '.');
|
||||
|
||||
// slight optimization (and reduces output clutter):
|
||||
// don't reload XMB output files
|
||||
if(ext && !strcmp(ext, ".xmb"))
|
||||
continue;
|
||||
|
||||
// many apps save by creating a temp file, deleting the original,
|
||||
// and renaming the temp file. that leads to 2 reloads, which is slow.
|
||||
// so:
|
||||
// .. ignore temp files,
|
||||
char* ext = strrchr(fn, '.');
|
||||
if(ext && !strcmp(ext, ".tmp"))
|
||||
continue;
|
||||
// .. and directory change (more info is upcoming anyway)
|
||||
|
Loading…
Reference in New Issue
Block a user