mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
minor frontend fixes
This commit is contained in:
parent
27e2627380
commit
d438a8dd8e
3 changed files with 9 additions and 1 deletions
|
@ -76,6 +76,11 @@ static void make_bg(int no_scale)
|
|||
short *dst;
|
||||
int x, y;
|
||||
|
||||
if (src == NULL) {
|
||||
memset(g_menubg_ptr, 0, g_menuscreen_w * g_menuscreen_h * 2);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!no_scale && g_menuscreen_w / w >= 2 && g_menuscreen_h / h >= 2)
|
||||
{
|
||||
unsigned int t, *d = g_menubg_ptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue