mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-23 05:09:57 +00:00
Kernel: Add a dedicated SetHleHandler method to ServerPort/ServerSession
This allows attaching a HLE handle to a ServerPort at any point after it is created, allowing port/session creation to be generic between HLE and regular services.
This commit is contained in:
parent
9dd1fd5b9e
commit
8a35f3634e
11 changed files with 73 additions and 62 deletions
|
@ -43,7 +43,7 @@ enum class MediaType : u32 { NAND = 0, SDMC = 1, GameCard = 2 };
|
|||
|
||||
typedef u64 ArchiveHandle;
|
||||
|
||||
class File final : public Kernel::SessionRequestHandler, public std::enable_shared_from_this<File> {
|
||||
class File final : public Kernel::SessionRequestHandler {
|
||||
public:
|
||||
File(std::unique_ptr<FileSys::FileBackend>&& backend, const FileSys::Path& path);
|
||||
~File();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue