1
0
Fork 0

ptm: move ptm_shared_extdata_id to header

This commit is contained in:
fearlessTobi 2019-02-09 15:01:58 +01:00
parent d5bcb45b2a
commit f903d3161d
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
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) {
IPC::RequestParser rp(ctx, 0x5, 0, 0);

View File

@ -15,6 +15,9 @@ class System;
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
enum class ChargeLevels : u32 {
CriticalBattery = 1,