mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 11:35:45 +00:00
Update src/core/loader.cpp
Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>
This commit is contained in:
parent
cc48df327e
commit
c9895326e2
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@
|
|||
#include "loader.h"
|
||||
|
||||
FileTypes DetectFileType(const std::string& filepath) {
|
||||
if (filepath.size() == 0) // no file loaded
|
||||
{
|
||||
// No file loaded
|
||||
if (filepath.empty()) {
|
||||
return FileTypes::Unknown;
|
||||
}
|
||||
Common::FS::IOFile file;
|
||||
|
|
Loading…
Add table
Reference in a new issue