rpcsx/rpcs3/Emu/GameInfo.h

47 lines
635 B
C
Raw Normal View History

2020-12-05 13:08:24 +01:00
#pragma once
2020-12-12 13:01:29 +01:00
#include "util/types.hpp"
2020-02-29 19:13:11 +01:00
#include <string>
struct GameInfo
{
2017-07-12 15:58:48 +02:00
std::string path;
2014-12-13 18:27:34 +01:00
std::string icon_path;
std::string name;
std::string serial;
std::string app_ver;
2019-08-20 20:21:06 +02:00
std::string version;
std::string category;
std::string fw;
2019-05-16 20:49:48 +02:00
u32 attr = 0;
u32 bootable = 0;
u32 parental_lvl = 0;
u32 sound_format = 0;
u32 resolution = 0;
GameInfo()
{
Reset();
}
void Reset()
{
path.clear();
name = "Unknown";
serial = "Unknown";
app_ver = "Unknown";
2019-08-20 20:21:06 +02:00
version = "Unknown";
category = "Unknown";
fw = "Unknown";
attr = 0;
bootable = 0;
parental_lvl = 0;
sound_format = 0;
resolution = 0;
}
};