mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-23 02:37:54 -05:00
- extracted srv: calls from service.cpp and put in its own module
- added function tables for service calls - lots of refactoring
This commit is contained in:
@ -17,13 +17,13 @@ namespace Service {
|
||||
// exactly the same, however certain commands are only accessible with APT:S(NS module will call
|
||||
// svcBreak when the command isn't accessible). See http://3dbrew.org/wiki/NS#APT_Services.
|
||||
|
||||
class APT : public Interface {
|
||||
class APT_U : public Interface {
|
||||
public:
|
||||
|
||||
APT() {
|
||||
APT_U() {
|
||||
}
|
||||
|
||||
~APT() {
|
||||
~APT_U() {
|
||||
}
|
||||
|
||||
enum {
|
||||
@ -44,14 +44,6 @@ public:
|
||||
CMD_HEADER_CLOSE_APP = 0x00270044, ///< Close application
|
||||
};
|
||||
|
||||
/**
|
||||
* Gets the string name used by CTROS for the APT service
|
||||
* @return String name of service
|
||||
*/
|
||||
std::string GetName() const {
|
||||
return "APT";
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the string port name used by CTROS for the APT service
|
||||
* @return Port name of service
|
||||
@ -68,10 +60,9 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Syscall::Result GetLockHandle();
|
||||
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(APT_U);
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user