mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 04:27:42 +00:00
fixed standalone game detection
This commit is contained in:
@@ -11,6 +11,13 @@ namespace Retro
|
||||
|
||||
struct SpecMP2 : SpecBase
|
||||
{
|
||||
bool checkStandaloneID(const char* id) const
|
||||
{
|
||||
if (!memcmp(id, "G2M", 3))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
struct DiscPAK
|
||||
{
|
||||
const NOD::DiscBase::IPartition::Node& node;
|
||||
@@ -133,7 +140,8 @@ struct SpecMP2 : SpecBase
|
||||
rep.desc = _S("Metroid Prime 2 ") + regstr;
|
||||
if (buildInfo)
|
||||
{
|
||||
HECL::SystemStringView buildView(buildInfo);
|
||||
std::string buildStr(buildInfo);
|
||||
HECL::SystemStringView buildView(buildStr);
|
||||
rep.desc += _S(" (") + buildView.sys_str() + _S(")");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user