2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Kernel/IPC: Small codestyle cleanup

This commit is contained in:
Subv 2016-12-09 12:39:12 -05:00
parent 386112da32
commit deb83c9fc5
2 changed files with 1 additions and 3 deletions

View file

@ -9,9 +9,7 @@
#include "core/memory.h" #include "core/memory.h"
namespace Kernel { namespace Kernel {
class ServerSession;
// TODO(Subv): Move these declarations out of here
static const int kCommandHeaderOffset = 0x80; ///< Offset into command buffer of header static const int kCommandHeaderOffset = 0x80; ///< Offset into command buffer of header
/** /**

View file

@ -94,8 +94,8 @@ ResultCode SessionRequestHandler::TranslateRequest(Kernel::SharedPtr<Kernel::Ser
return RESULT_SUCCESS; return RESULT_SUCCESS;
} }
Interface::~Interface() = default;
Interface::Interface(u32 max_sessions) : max_sessions(max_sessions) {} Interface::Interface(u32 max_sessions) : max_sessions(max_sessions) {}
Interface::~Interface() = default;
void Interface::HandleSyncRequestImpl(Kernel::SharedPtr<Kernel::ServerSession> server_session) { void Interface::HandleSyncRequestImpl(Kernel::SharedPtr<Kernel::ServerSession> server_session) {
// TODO(Subv): Make use of the server_session in the HLE service handlers to distinguish which session triggered each command. // TODO(Subv): Make use of the server_session in the HLE service handlers to distinguish which session triggered each command.