mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-25 16:50:15 +00:00
Append a bool function PTM::GetShellState()
This commit is contained in:
parent
7b4dcacbb2
commit
a69f22e48a
@ -44,6 +44,10 @@ void GetShellState(Service::Interface* self) {
|
||||
cmd_buff[2] = shell_open ? 1 : 0;
|
||||
}
|
||||
|
||||
bool GetShellState() {
|
||||
return shell_open;
|
||||
}
|
||||
|
||||
void GetBatteryLevel(Service::Interface* self) {
|
||||
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||
|
||||
|
@ -55,6 +55,9 @@ void GetAdapterState(Interface* self);
|
||||
*/
|
||||
void GetShellState(Interface* self);
|
||||
|
||||
// Return the 3DS's physical shell state
|
||||
bool GetShellState();
|
||||
|
||||
/**
|
||||
* PTM::GetBatteryLevel service function
|
||||
* Outputs:
|
||||
|
Loading…
Reference in New Issue
Block a user