mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
ui, fix for SDL emulation display if resolution != 320x240
This commit is contained in:
parent
8094d3362f
commit
832faed320
7 changed files with 30 additions and 15 deletions
|
@ -233,11 +233,10 @@ void plat_update_volume(int has_changed, int is_up)
|
|||
void pemu_forced_frame(int no_scale, int do_emu)
|
||||
{
|
||||
doing_bg_frame = 1;
|
||||
emu_cmn_forced_frame(no_scale, do_emu);
|
||||
// making a copy because enabling the layer clears it's mem
|
||||
emu_cmn_forced_frame(no_scale, do_emu, fb_copy);
|
||||
doing_bg_frame = 0;
|
||||
|
||||
// making a copy because enabling the layer clears it's mem
|
||||
memcpy((void *)fb_copy, g_screen_ptr, sizeof(fb_copy));
|
||||
g_menubg_src_ptr = fb_copy;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue