2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 10:27:42 +00:00

fixed standalone game detection

This commit is contained in:
Jack Andersen
2015-07-13 15:07:15 -10:00
parent 31f77497fd
commit 91f5236109
5 changed files with 29 additions and 21 deletions

View File

@@ -11,6 +11,13 @@ namespace Retro
struct SpecMP1 : SpecBase
{
bool checkStandaloneID(const char* id) const
{
if (!memcmp(id, "GM8", 3))
return true;
return false;
}
struct DiscPAK
{
const NOD::DiscBase::IPartition::Node& node;
@@ -133,7 +140,8 @@ struct SpecMP1 : SpecBase
rep.desc = _S("Metroid Prime ") + regstr;
if (buildInfo)
{
HECL::SystemStringView buildView(buildInfo);
std::string buildStr(buildInfo);
HECL::SystemStringView buildView(buildStr);
rep.desc += _S(" (") + buildView.sys_str() + _S(")");
}