Skip to content

Commit

Permalink
Merge pull request #143 from Pistonight/fork_region_id
Browse files Browse the repository at this point in the history
Add `sead::RegionID` and `sead::EnvUtil::getRegion` declarations
  • Loading branch information
ThePixelGamer authored Aug 20, 2024
2 parents 0d3ad57 + 42b3e14 commit 772a741
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/devenv/seadEnvUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@
namespace sead
{
SEAD_ENUM(RegionLanguageID, JPja, USen, USes, USfr, USpt, EUen, EUes, EUfr, EUde, EUit, EUpt, EUnl, EUru, KRko, CNzh, TWzh)
SEAD_ENUM(RegionID, JP, US, EU, KR, CN, TW)

class EnvUtil
{
public:
static const SafeString& getRomType();
static RegionLanguageID getRegionLanguage();
static RegionID getRegion();
static s32 getEnvironmentVariable(BufferedSafeString* out, const SafeString& variable);
static s32 resolveEnvronmentVariable(BufferedSafeString* out, const SafeString& str);
};
Expand Down

0 comments on commit 772a741

Please sign in to comment.