mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-28 19:00:23 +00:00
Fix crash with CPU Speed Lock popup.
This commit is contained in:
parent
a526b7ca7c
commit
1c1b41b7a2
@ -157,7 +157,7 @@ EventReturn PopupSliderChoice::HandleClick(EventParams &e) {
|
||||
|
||||
void PopupSliderChoice::Draw(UIContext &dc) {
|
||||
Choice::Draw(dc);
|
||||
char temp[4];
|
||||
char temp[32];
|
||||
sprintf(temp, "%i", *value_);
|
||||
dc.Draw()->DrawText(dc.theme->uiFont, temp, bounds_.x2() - 12, bounds_.centerY(), 0xFFFFFFFF, ALIGN_RIGHT | ALIGN_VCENTER);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user