mirror of
https://github.com/citra-mirror/citra.git
synced 2024-08-19 10:03:22 +02:00
ptm: move ptm_shared_extdata_id to header
This commit is contained in:
parent
d5bcb45b2a
commit
f903d3161d
@ -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);
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user