Fixed crash when pausing emulator in fullscreen mode in Chinese (caused by missing character in font)

This commit is contained in:
Sour 2018-08-22 18:25:01 -04:00
parent b669781ccf
commit 199e82a48b
2 changed files with 1 additions and 0 deletions

View File

@ -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;
}