aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-27 11:09:56 -0400
committerGitHub <noreply@github.com>2018-04-27 11:09:56 -0400
commitacede1f1d3309e629b1ddc55ad22f920fe50f681 (patch)
tree899731d5c75a7b40a8aa72f5e115f86e10078745 /src/core/hle/service
parent3c404964097a0882ce9651571ec02c54474350ce (diff)
parent847549663090aeef89debc6213ef17b7f14e0b0e (diff)
Merge pull request #409 from lioncash/assert
general: Convert assertion macros over to be fmt-compatible
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/nvdrv/nvdrv.cpp4
-rw-r--r--src/core/hle/service/service.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.cpp b/src/core/hle/service/nvdrv/nvdrv.cpp
index 170420418..a6a4ab7d3 100644
--- a/src/core/hle/service/nvdrv/nvdrv.cpp
+++ b/src/core/hle/service/nvdrv/nvdrv.cpp
@@ -39,8 +39,8 @@ Module::Module() {
}
u32 Module::Open(std::string device_name) {
- ASSERT_MSG(devices.find(device_name) != devices.end(), "Trying to open unknown device %s",
- device_name.c_str());
+ ASSERT_MSG(devices.find(device_name) != devices.end(), "Trying to open unknown device {}",
+ device_name);
auto device = devices[device_name];
u32 fd = next_fd++;
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index 34d691b90..94de21ae1 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -154,7 +154,7 @@ ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& co
break;
}
default:
- UNIMPLEMENTED_MSG("command_type=%d", static_cast<int>(context.GetCommandType()));
+ UNIMPLEMENTED_MSG("command_type={}", static_cast<int>(context.GetCommandType()));
}
context.WriteToOutgoingCommandBuffer(*Kernel::GetCurrentThread());