mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-10 17:05:13 +00:00
0f27e0edf2
- Added a trophy viewer (right click on game ==> trophy viewer) - Enabled Run button. - Switched gui settings to toml. - Added recent files (6 max) - Applied @raphaelthegreat suggestions and corrections (Thanks a lot). - Fixed several bugs and crashes. - Full screen should disabled by default. - Added region in list mode. - Added a simple temp elf list widget. - Added messages when extracting pkg (ex: installing a patch before the game...etc)
19 lines
347 B
C++
19 lines
347 B
C++
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace Loader {
|
|
|
|
constexpr static u32 PkgMagic = 0x544e437f;
|
|
|
|
enum class FileTypes {
|
|
Unknown,
|
|
Pkg,
|
|
};
|
|
|
|
FileTypes DetectFileType(const std::filesystem::path& filepath);
|
|
} // namespace Loader
|