From 184cfb1c6bef21d08dc8fade382d6d1dd719a132 Mon Sep 17 00:00:00 2001 From: nishinji <107111782+nishinji@users.noreply.github.com.> Date: Tue, 24 Sep 2024 15:14:49 +0900 Subject: [PATCH] a --- vita3k/codec/src/atrac9.cpp | 2 +- vita3k/io/src/io.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vita3k/codec/src/atrac9.cpp b/vita3k/codec/src/atrac9.cpp index b2ece2c8e1..abc2609dfa 100644 --- a/vita3k/codec/src/atrac9.cpp +++ b/vita3k/codec/src/atrac9.cpp @@ -93,7 +93,7 @@ bool Atrac9DecoderState::send(const uint8_t *data, uint32_t size) { const int res = Atrac9Decode(decoder_handle, data, reinterpret_cast(result.data()), &decode_used); if (res != At9Status::ERR_SUCCESS) { - LOG_ERROR("Decode failure with code {}", res); + LOG_ERROR("Decode failure with code {}", log_hex(res)); return false; } diff --git a/vita3k/io/src/io.cpp b/vita3k/io/src/io.cpp index f478605cd5..ffd64718d5 100644 --- a/vita3k/io/src/io.cpp +++ b/vita3k/io/src/io.cpp @@ -390,7 +390,7 @@ int write_file(SceUID fd, const void *data, const SceSize size, const IOState &i assert(size >= 0); if (fd < 0) { - LOG_WARN("Error writing fd: {}, size: {}", fd, size); + LOG_WARN("Error writing fd: {}, size: {}", log_hex(fd), size); return IO_ERROR(SCE_ERROR_ERRNO_EBADFD); }