mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
ui, revise status line handling
This commit is contained in:
parent
ae61303f86
commit
69b7b2641b
5 changed files with 56 additions and 40 deletions
|
@ -1366,7 +1366,6 @@ void emu_loop(void)
|
|||
char *notice_msg = NULL;
|
||||
char fpsbuff[24];
|
||||
int fskip_cnt = 0;
|
||||
int statclr_cnt = 4;
|
||||
|
||||
fpsbuff[0] = 0;
|
||||
|
||||
|
@ -1415,9 +1414,7 @@ void emu_loop(void)
|
|||
{
|
||||
notice_msg_time = 0;
|
||||
notice_msg = NULL;
|
||||
/* clear all buffers if multi buffering */
|
||||
plat_status_msg_clear();
|
||||
statclr_cnt = 4;
|
||||
}
|
||||
else {
|
||||
int sum = noticeMsg[0] + noticeMsg[1] + noticeMsg[2];
|
||||
|
@ -1527,12 +1524,6 @@ void emu_loop(void)
|
|||
if (!skip && flip_after_sync)
|
||||
plat_video_flip();
|
||||
|
||||
if (!skip && statclr_cnt > 0) {
|
||||
// clear stat msg area in case of multi buffering
|
||||
plat_status_msg_clear();
|
||||
statclr_cnt --;
|
||||
}
|
||||
|
||||
pprof_end(main);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue