diff options
| author | 2018-03-19 17:07:08 +0100 | |
|---|---|---|
| committer | 2018-03-19 17:07:08 +0100 | |
| commit | ef875d6a356fef22d52ec2cdf2a326297740ff66 (patch) | |
| tree | 8565762859d7be0329fb5991819b8381c690527d /src/core/hle/service | |
| parent | Merge pull request #251 from Subv/tic_tsc (diff) | |
| download | yuzu-ef875d6a356fef22d52ec2cdf2a326297740ff66.tar.gz yuzu-ef875d6a356fef22d52ec2cdf2a326297740ff66.tar.xz yuzu-ef875d6a356fef22d52ec2cdf2a326297740ff66.zip | |
Clean Warnings (?)
Diffstat (limited to 'src/core/hle/service')
| -rw-r--r-- | src/core/hle/service/filesystem/fsp_srv.cpp | 6 | ||||
| -rw-r--r-- | src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/service.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/time/time.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/vi/vi.cpp | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp index 97b3fa290..470b6350e 100644 --- a/src/core/hle/service/filesystem/fsp_srv.cpp +++ b/src/core/hle/service/filesystem/fsp_srv.cpp | |||
| @@ -35,7 +35,7 @@ private: | |||
| 35 | const s64 offset = rp.Pop<s64>(); | 35 | const s64 offset = rp.Pop<s64>(); |
| 36 | const s64 length = rp.Pop<s64>(); | 36 | const s64 length = rp.Pop<s64>(); |
| 37 | 37 | ||
| 38 | LOG_DEBUG(Service_FS, "called, offset=0x%llx, length=0x%llx", offset, length); | 38 | LOG_DEBUG(Service_FS, "called, offset=0x%l, length=0x%l", offset, length); |
| 39 | 39 | ||
| 40 | // Error checking | 40 | // Error checking |
| 41 | if (length < 0) { | 41 | if (length < 0) { |
| @@ -86,7 +86,7 @@ private: | |||
| 86 | const s64 offset = rp.Pop<s64>(); | 86 | const s64 offset = rp.Pop<s64>(); |
| 87 | const s64 length = rp.Pop<s64>(); | 87 | const s64 length = rp.Pop<s64>(); |
| 88 | 88 | ||
| 89 | LOG_DEBUG(Service_FS, "called, offset=0x%llx, length=0x%llx", offset, length); | 89 | LOG_DEBUG(Service_FS, "called, offset=0x%l, length=0x%l", offset, length); |
| 90 | 90 | ||
| 91 | // Error checking | 91 | // Error checking |
| 92 | if (length < 0) { | 92 | if (length < 0) { |
| @@ -123,7 +123,7 @@ private: | |||
| 123 | const s64 offset = rp.Pop<s64>(); | 123 | const s64 offset = rp.Pop<s64>(); |
| 124 | const s64 length = rp.Pop<s64>(); | 124 | const s64 length = rp.Pop<s64>(); |
| 125 | 125 | ||
| 126 | LOG_DEBUG(Service_FS, "called, offset=0x%llx, length=0x%llx", offset, length); | 126 | LOG_DEBUG(Service_FS, "called, offset=0x%l, length=0x%l", offset, length); |
| 127 | 127 | ||
| 128 | // Error checking | 128 | // Error checking |
| 129 | if (length < 0) { | 129 | if (length < 0) { |
diff --git a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp index 7674d332d..e48f13fa1 100644 --- a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp +++ b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp | |||
| @@ -23,7 +23,7 @@ void nvdisp_disp0::flip(u32 buffer_handle, u32 offset, u32 format, u32 width, u3 | |||
| 23 | u32 stride, NVFlinger::BufferQueue::BufferTransformFlags transform) { | 23 | u32 stride, NVFlinger::BufferQueue::BufferTransformFlags transform) { |
| 24 | VAddr addr = nvmap_dev->GetObjectAddress(buffer_handle); | 24 | VAddr addr = nvmap_dev->GetObjectAddress(buffer_handle); |
| 25 | LOG_WARNING(Service, | 25 | LOG_WARNING(Service, |
| 26 | "Drawing from address %llx offset %08X Width %u Height %u Stride %u Format %u", | 26 | "Drawing from address %lx offset %08X Width %u Height %u Stride %u Format %u", |
| 27 | addr, offset, width, height, stride, format); | 27 | addr, offset, width, height, stride, format); |
| 28 | 28 | ||
| 29 | using PixelFormat = RendererBase::FramebufferInfo::PixelFormat; | 29 | using PixelFormat = RendererBase::FramebufferInfo::PixelFormat; |
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index a1ca8a033..d4b08aadf 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp | |||
| @@ -149,7 +149,7 @@ ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& co | |||
| 149 | break; | 149 | break; |
| 150 | } | 150 | } |
| 151 | default: | 151 | default: |
| 152 | UNIMPLEMENTED_MSG("command_type=%d", context.GetCommandType()); | 152 | UNIMPLEMENTED_MSG("command_type=%d", static_cast<int>(context.GetCommandType())); |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | context.WriteToOutgoingCommandBuffer(*Kernel::GetCurrentThread()); | 155 | context.WriteToOutgoingCommandBuffer(*Kernel::GetCurrentThread()); |
diff --git a/src/core/hle/service/time/time.cpp b/src/core/hle/service/time/time.cpp index ad49f4265..c3e46f866 100644 --- a/src/core/hle/service/time/time.cpp +++ b/src/core/hle/service/time/time.cpp | |||
| @@ -107,7 +107,7 @@ private: | |||
| 107 | IPC::RequestParser rp{ctx}; | 107 | IPC::RequestParser rp{ctx}; |
| 108 | u64 posix_time = rp.Pop<u64>(); | 108 | u64 posix_time = rp.Pop<u64>(); |
| 109 | 109 | ||
| 110 | LOG_WARNING(Service_Time, "(STUBBED) called, posix_time=0x%016llX", posix_time); | 110 | LOG_WARNING(Service_Time, "(STUBBED) called, posix_time=0x%016lX", posix_time); |
| 111 | 111 | ||
| 112 | CalendarTime calendar_time{2018, 1, 1, 0, 0, 0}; | 112 | CalendarTime calendar_time{2018, 1, 1, 0, 0, 0}; |
| 113 | CalendarAdditionalInfo additional_info{}; | 113 | CalendarAdditionalInfo additional_info{}; |
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index 7b6453447..6135eabf8 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp | |||
| @@ -471,7 +471,7 @@ private: | |||
| 471 | u32 flags = rp.Pop<u32>(); | 471 | u32 flags = rp.Pop<u32>(); |
| 472 | auto buffer_queue = nv_flinger->GetBufferQueue(id); | 472 | auto buffer_queue = nv_flinger->GetBufferQueue(id); |
| 473 | 473 | ||
| 474 | LOG_DEBUG(Service_VI, "called, transaction=%x", transaction); | 474 | LOG_DEBUG(Service_VI, "called, transaction=%x", static_cast<u32>(transaction)); |
| 475 | 475 | ||
| 476 | if (transaction == TransactionId::Connect) { | 476 | if (transaction == TransactionId::Connect) { |
| 477 | IGBPConnectRequestParcel request{ctx.ReadBuffer()}; | 477 | IGBPConnectRequestParcel request{ctx.ReadBuffer()}; |