mirror of https://github.com/snes9xgit/snes9x.git
memmap: Fix stupid change to sjis conversion.
This commit is contained in:
parent
c7e6e9c211
commit
c44bc75030
|
@ -1 +1 @@
|
|||
Subproject commit 4e2fdb25671c742a9fbe93a6034eb1542244c7e1
|
||||
Subproject commit 197a273fd494321157f40a962c51b5fa8c9c3581
|
|
@ -3384,11 +3384,15 @@ static std::string sjis_to_utf8(std::string in)
|
|||
{
|
||||
unsigned char c = i;
|
||||
if (c > 160 && c < 192)
|
||||
{
|
||||
out += "\357\275";
|
||||
out += c;
|
||||
}
|
||||
else if (c >= 192)
|
||||
{
|
||||
out += "\357\276";
|
||||
c -= 0x40;
|
||||
out += c;
|
||||
}
|
||||
else if (c >= 32)
|
||||
out += c;
|
||||
|
|
Loading…
Reference in New Issue