mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-08 14:09:58 +00:00
Fixed invalid cast in loader
GetMessageForResultStatus takes a u16, not a size_t.
This commit is contained in:
parent
a921d22545
commit
a1fb8a331f
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ constexpr std::array<const char*, 36> RESULT_MESSAGES{
|
||||||
};
|
};
|
||||||
|
|
||||||
std::string GetMessageForResultStatus(ResultStatus status) {
|
std::string GetMessageForResultStatus(ResultStatus status) {
|
||||||
return GetMessageForResultStatus(static_cast<size_t>(status));
|
return GetMessageForResultStatus(static_cast<u16>(status));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string GetMessageForResultStatus(u16 status) {
|
std::string GetMessageForResultStatus(u16 status) {
|
||||||
|
|
Loading…
Reference in a new issue