fix fmt compilation error
This commit is contained in:
@@ -319,7 +319,7 @@ ExceptionCode GetTLBExceptionCode(TLBError error, TLBAccessType accessType) {
|
|||||||
return accessType == LOAD ?
|
return accessType == LOAD ?
|
||||||
ExceptionCode::AddressErrorLoad : ExceptionCode::AddressErrorStore;
|
ExceptionCode::AddressErrorLoad : ExceptionCode::AddressErrorStore;
|
||||||
default:
|
default:
|
||||||
Util::panic("Getting TLB exception for unknown error code! ({})\n", error);
|
Util::panic("Getting TLB exception for unknown error code! ({})\n", static_cast<u8>(error));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ Window::Window(n64::Core& core) : settings(core) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void check_vk_result(VkResult err) {
|
static void check_vk_result(VkResult err) {
|
||||||
if (err) {
|
if (err != VK_SUCCESS) {
|
||||||
Util::panic("[vulkan] Error: VkResult = {}", err);
|
Util::panic("[vulkan] Error: VkResult = {}", static_cast<int>(err));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user