Move ptm_shared_extdata_id to header

This commit is contained in:
Valentin Vanelslande 2018-10-16 16:07:43 -05:00
parent 145b9251bb
commit 777b4c91cc
2 changed files with 3 additions and 3 deletions

View File

@ -23,9 +23,6 @@ namespace Service::PTM {
/// Values for the default gamecoin.dat file /// Values for the default gamecoin.dat file
static const GameCoin default_game_coin = {0x4F00, 42, 0, 0, 0, 2014, 12, 29}; static const GameCoin default_game_coin = {0x4F00, 42, 0, 0, 0, 2014, 12, 29};
/// Id of the SharedExtData archive used by the PTM process
static const std::vector<u8> ptm_shared_extdata_id = {0, 0, 0, 0, 0x0B, 0, 0, 0xF0, 0, 0, 0, 0};
void Module::Interface::GetAdapterState(Kernel::HLERequestContext& ctx) { void Module::Interface::GetAdapterState(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp(ctx, 0x5, 0, 0); IPC::RequestParser rp(ctx, 0x5, 0, 0);

View File

@ -15,6 +15,9 @@ class System;
namespace Service::PTM { namespace Service::PTM {
/// Id of the SharedExtData archive used by the PTM process
static const std::vector<u8> ptm_shared_extdata_id = {0, 0, 0, 0, 0x0B, 0, 0, 0xF0, 0, 0, 0, 0};
/// Charge levels used by PTM functions /// Charge levels used by PTM functions
enum class ChargeLevels : u32 { enum class ChargeLevels : u32 {
CriticalBattery = 1, CriticalBattery = 1,