mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
マジックナンバーの除去とインデント調整
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@564 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
a5045a5376
commit
f5c1b8b781
@ -6,17 +6,18 @@
|
|||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
const wchar_t dash[] = {0x2014, 0x0000};
|
const wchar_t dash[] =
|
||||||
|
{ 0x2014, 0x0000 };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class RegionIdModifierId: public RegionIdModifier
|
class RegionIdModifierId: public RegionIdModifier
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
RegionIdModifierId(u16 id);
|
RegionIdModifierId(u16 id);
|
||||||
};
|
};
|
||||||
|
|
||||||
RegionIdModifierId::RegionIdModifierId(u16 id) : RegionIdModifier(id, 0, 0, NULL)
|
RegionIdModifierId::RegionIdModifierId(u16 id) :
|
||||||
|
RegionIdModifier(id, 0, 0, NULL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,10 +52,11 @@ public:
|
|||||||
const wchar_t* GetPath(u8 index);
|
const wchar_t* GetPath(u8 index);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
PathList m_DirPath[3];
|
PathList m_DirPath[nn::cfg::CTR::CFG_REGION_EUROPE + 1];
|
||||||
};
|
};
|
||||||
|
|
||||||
RegionIdModifierDirPath::RegionIdModifierDirPath(u8 nupVersion, u8 regionCode) : RegionIdModifier(0, nupVersion, regionCode, NULL)
|
RegionIdModifierDirPath::RegionIdModifierDirPath(u8 nupVersion, u8 regionCode) :
|
||||||
|
RegionIdModifier(0, nupVersion, regionCode, NULL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -201,7 +203,8 @@ public:
|
|||||||
RegionIdModifierPathNum(u8 nupVersion);
|
RegionIdModifierPathNum(u8 nupVersion);
|
||||||
};
|
};
|
||||||
|
|
||||||
RegionIdModifierPathNum::RegionIdModifierPathNum(u8 nupVersion) : RegionIdModifier(0, nupVersion, 0, NULL)
|
RegionIdModifierPathNum::RegionIdModifierPathNum(u8 nupVersion) :
|
||||||
|
RegionIdModifier(0, nupVersion, 0, NULL)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -277,10 +280,11 @@ public:
|
|||||||
const wchar_t* GetPath(u8 index);
|
const wchar_t* GetPath(u8 index);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
PathList m_FilePath[3];
|
PathList m_FilePath[nn::cfg::CTR::CFG_REGION_EUROPE + 1];
|
||||||
};
|
};
|
||||||
|
|
||||||
RegionIdModifierFilePath::RegionIdModifierFilePath(u16 id, u8 nupVersion, u8 regionCode) : RegionIdModifier(id, nupVersion, regionCode, NULL)
|
RegionIdModifierFilePath::RegionIdModifierFilePath(u16 id, u8 nupVersion, u8 regionCode) :
|
||||||
|
RegionIdModifier(id, nupVersion, regionCode, NULL)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -319,10 +323,12 @@ public:
|
|||||||
const wchar_t* GetPath(u8 index);
|
const wchar_t* GetPath(u8 index);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
PathList m_FilePath[3];
|
PathList m_FilePath[nn::cfg::CTR::CFG_REGION_EUROPE + 1];
|
||||||
};
|
};
|
||||||
|
|
||||||
RegionIdModifierGetValidRegionId::RegionIdModifierGetValidRegionId(u16 id, u8 nupVersion, u8 regionCode, const wchar_t* regionName) : RegionIdModifier(id, nupVersion, regionCode, regionName)
|
RegionIdModifierGetValidRegionId::RegionIdModifierGetValidRegionId(u16 id, u8 nupVersion, u8 regionCode,
|
||||||
|
const wchar_t* regionName) :
|
||||||
|
RegionIdModifier(id, nupVersion, regionCode, regionName)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user