mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
23 lines
443 B
C++
23 lines
443 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include "filesystem_def.h"
|
|
|
|
namespace BootableUtils
|
|
{
|
|
enum BOOTABLE_TYPE
|
|
{
|
|
UNKNOWN = 0,
|
|
PS2_DISC = 1 << 0,
|
|
PS2_ARCADE = 1 << 1,
|
|
PS2_ELF = 1 << 2,
|
|
};
|
|
|
|
bool TryGetDiskId(const fs::path&, std::string*);
|
|
|
|
bool IsBootableExecutablePath(const fs::path&);
|
|
bool IsBootableDiscImagePath(const fs::path&);
|
|
bool IsBootableArcadeDefPath(const fs::path&);
|
|
|
|
BOOTABLE_TYPE GetBootableType(const fs::path&);
|
|
}
|