hle_ipc, fsp_srv: Cleanup logging.
This commit is contained in:
parent
b6b7d78ded
commit
f4ba523992
2 changed files with 3 additions and 3 deletions
|
@ -270,7 +270,7 @@ size_t HLERequestContext::WriteBuffer(const void* buffer, size_t size) const {
|
||||||
const bool is_buffer_b{BufferDescriptorB().size() && BufferDescriptorB()[0].Size()};
|
const bool is_buffer_b{BufferDescriptorB().size() && BufferDescriptorB()[0].Size()};
|
||||||
const size_t buffer_size{GetWriteBufferSize()};
|
const size_t buffer_size{GetWriteBufferSize()};
|
||||||
if (size > buffer_size) {
|
if (size > buffer_size) {
|
||||||
LOG_CRITICAL(Core, "size=%08x is greater than buffer_size=%08x", size, buffer_size);
|
LOG_CRITICAL(Core, "size (%016zx) is greater than buffer_size (%016zx)", size, buffer_size);
|
||||||
size = buffer_size; // TODO(bunnei): This needs to be HW tested
|
size = buffer_size; // TODO(bunnei): This needs to be HW tested
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,7 @@ private:
|
||||||
IPC::RequestParser rp{ctx};
|
IPC::RequestParser rp{ctx};
|
||||||
const u64 size = rp.Pop<u64>();
|
const u64 size = rp.Pop<u64>();
|
||||||
backend->SetSize(size);
|
backend->SetSize(size);
|
||||||
LOG_DEBUG(Service_FS, "called, size=0x%ld, length=0x%ld", size);
|
LOG_DEBUG(Service_FS, "called, size=%" PRIu64, size);
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
@ -163,7 +163,7 @@ private:
|
||||||
|
|
||||||
void GetSize(Kernel::HLERequestContext& ctx) {
|
void GetSize(Kernel::HLERequestContext& ctx) {
|
||||||
const u64 size = backend->GetSize();
|
const u64 size = backend->GetSize();
|
||||||
LOG_DEBUG(Service_FS, "called, size=0x%ld", size);
|
LOG_DEBUG(Service_FS, "called, size=%" PRIu64, size);
|
||||||
|
|
||||||
IPC::ResponseBuilder rb{ctx, 4};
|
IPC::ResponseBuilder rb{ctx, 4};
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
|
Loading…
Reference in a new issue