2014-12-21 22:36:18 +01:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-21 22:45:13 +01:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-12-21 22:36:18 +01:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "core/hle/service/cfg/cfg.h"
|
|
|
|
#include "core/hle/service/cfg/cfg_u.h"
|
|
|
|
|
2015-02-27 03:13:08 +01:00
|
|
|
namespace Service {
|
|
|
|
namespace CFG {
|
2014-12-21 22:36:18 +01:00
|
|
|
|
|
|
|
const Interface::FunctionInfo FunctionTable[] = {
|
2016-03-29 08:32:25 +02:00
|
|
|
// cfg common
|
2014-12-21 22:36:18 +01:00
|
|
|
{0x00010082, GetConfigInfoBlk2, "GetConfigInfoBlk2"},
|
2015-02-01 00:11:51 +01:00
|
|
|
{0x00020000, SecureInfoGetRegion, "SecureInfoGetRegion"},
|
|
|
|
{0x00030040, GenHashConsoleUnique, "GenHashConsoleUnique"},
|
|
|
|
{0x00040000, GetRegionCanadaUSA, "GetRegionCanadaUSA"},
|
2014-12-21 22:36:18 +01:00
|
|
|
{0x00050000, GetSystemModel, "GetSystemModel"},
|
|
|
|
{0x00060000, GetModelNintendo2DS, "GetModelNintendo2DS"},
|
2015-01-02 01:58:27 +01:00
|
|
|
{0x00070040, nullptr, "WriteToFirstByteCfgSavegame"},
|
|
|
|
{0x00080080, nullptr, "GoThroughTable"},
|
2014-12-21 22:36:18 +01:00
|
|
|
{0x00090040, GetCountryCodeString, "GetCountryCodeString"},
|
|
|
|
{0x000A0040, GetCountryCodeID, "GetCountryCodeID"},
|
|
|
|
};
|
2014-12-21 20:52:10 +01:00
|
|
|
|
2015-02-27 03:13:08 +01:00
|
|
|
CFG_U_Interface::CFG_U_Interface() {
|
2015-01-30 19:56:49 +01:00
|
|
|
Register(FunctionTable);
|
2014-12-21 22:36:18 +01:00
|
|
|
}
|
|
|
|
|
2015-02-27 03:13:08 +01:00
|
|
|
} // namespace CFG
|
|
|
|
} // namespace Service
|