Browse Source
Merge pull request #2259 from lioncash/fsp
fsp_srv: Unstub SetCurrentProcess
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
1 deletions
-
src/core/hle/service/filesystem/fsp_srv.cpp
-
src/core/hle/service/filesystem/fsp_srv.h
|
|
|
@ -733,7 +733,10 @@ FSP_SRV::FSP_SRV() : ServiceFramework("fsp-srv") { |
|
|
|
FSP_SRV::~FSP_SRV() = default; |
|
|
|
|
|
|
|
void FSP_SRV::SetCurrentProcess(Kernel::HLERequestContext& ctx) { |
|
|
|
LOG_WARNING(Service_FS, "(STUBBED) called"); |
|
|
|
IPC::RequestParser rp{ctx}; |
|
|
|
current_process_id = rp.Pop<u64>(); |
|
|
|
|
|
|
|
LOG_DEBUG(Service_FS, "called. current_process_id=0x{:016X}", current_process_id); |
|
|
|
|
|
|
|
IPC::ResponseBuilder rb{ctx, 2}; |
|
|
|
rb.Push(RESULT_SUCCESS); |
|
|
|
|
|
|
|
@ -32,6 +32,7 @@ private: |
|
|
|
void OpenPatchDataStorageByCurrentProcess(Kernel::HLERequestContext& ctx); |
|
|
|
|
|
|
|
FileSys::VirtualFile romfs; |
|
|
|
u64 current_process_id = 0; |
|
|
|
}; |
|
|
|
|
|
|
|
} // namespace Service::FileSystem |