mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
reworked palette and buffer handling due to some 32X bugs
This commit is contained in:
parent
23eef37f25
commit
b1a047c926
13 changed files with 236 additions and 130 deletions
|
@ -54,7 +54,7 @@ static unsigned int inp_prev = 0;
|
|||
void menu_draw_begin(int use_bgbuff)
|
||||
{
|
||||
if (use_bgbuff)
|
||||
memcpy32((int *)menu_screen, (int *)bg_buffer, 321*240*2/4);
|
||||
memcpy((int *)menu_screen, (int *)bg_buffer, 321*240*2);
|
||||
}
|
||||
|
||||
|
||||
|
@ -66,7 +66,7 @@ void menu_draw_end(void)
|
|||
lprintf("%s: Framework2D_LockBuffer() returned NULL\n", __FUNCTION__);
|
||||
return;
|
||||
}
|
||||
memcpy32(giz_screen, (int *)menu_screen, 321*240*2/4);
|
||||
memcpy(giz_screen, (int *)menu_screen, 321*240*2);
|
||||
fb_unlock();
|
||||
giz_screen = NULL;
|
||||
fb_flip();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue