mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-11 21:30:05 +00:00
Fixed type conversion ambiguity
This commit is contained in:
parent
b07af7dda8
commit
a13ab958cb
32 changed files with 97 additions and 91 deletions
|
@ -141,7 +141,7 @@ void GetCountryCodeString(Service::Interface* self) {
|
|||
|
||||
void GetCountryCodeID(Service::Interface* self) {
|
||||
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||
u16 country_code = cmd_buff[1];
|
||||
u16 country_code = static_cast<u16>(cmd_buff[1]);
|
||||
u16 country_code_id = 0;
|
||||
|
||||
// The following algorithm will fail if the first country code isn't 0.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue