Fixed crash when pausing emulator in fullscreen mode in Chinese (caused by missing character in font)
This commit is contained in:
parent
b669781ccf
commit
199e82a48b
2 changed files with 1 additions and 0 deletions
Binary file not shown.
|
@ -238,6 +238,7 @@ HRESULT Renderer::CreateNesBuffers()
|
|||
|
||||
_largeFont.reset(new SpriteFont(_pd3dDevice, L"Resources\\Font.64.spritefont"));
|
||||
_font.reset(new SpriteFont(_pd3dDevice, L"Resources\\Font.24.spritefont"));
|
||||
_font->SetDefaultCharacter('?');
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue