mirror of
https://github.com/libretro/Mesen.git
synced 2025-02-17 15:20:19 +00:00
Made FPS counter easier to read, added F2 shortcut to toggle it
This commit is contained in:
parent
2590617708
commit
37f1d94cff
BIN
GUI/GUI.rc
BIN
GUI/GUI.rc
Binary file not shown.
@ -308,6 +308,7 @@ namespace NES
|
||||
|
||||
//Draw FPS counter
|
||||
if(CheckFlag(UIFlags::ShowFPS)) {
|
||||
_font->DrawString(_spriteBatch.get(), (wstring(L"FPS: ") + std::to_wstring(Console::GetFPS())).c_str(), XMFLOAT2(256 * 4 - 149, 13), Colors::Black, 0.0f, XMFLOAT2(0, 0), 1.0f);
|
||||
_font->DrawString(_spriteBatch.get(), (wstring(L"FPS: ") + std::to_wstring(Console::GetFPS())).c_str(), XMFLOAT2(256 * 4 - 150, 11), Colors::Yellow, 0.0f, XMFLOAT2(0, 0), 1.0f);
|
||||
}
|
||||
|
||||
|
BIN
GUI/resource.h
BIN
GUI/resource.h
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user