mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
platform, clear status remnants after renderer switching by hotkey
This commit is contained in:
parent
35821b373c
commit
ebd9c86a6c
3 changed files with 8 additions and 1 deletions
|
@ -606,6 +606,12 @@ static void vid_reset_mode(void)
|
|||
|
||||
gp2x_video_changemode(gp2x_mode, Pico.m.pal);
|
||||
|
||||
// clear whole screen in all buffers
|
||||
if (!is_16bit_mode())
|
||||
gp2x_memset_all_buffers(0, 0xe0, 320*240);
|
||||
else
|
||||
gp2x_memset_all_buffers(0, 0, 320*240*2);
|
||||
|
||||
Pico.m.dirtyPal = 1;
|
||||
|
||||
// palette converters for 8bit modes
|
||||
|
@ -657,7 +663,6 @@ void emu_video_mode_change(int start_line, int line_count, int start_col, int co
|
|||
|
||||
gp2x_video_RGB_setscaling(ln_offs, scalex, scaley);
|
||||
|
||||
|
||||
// clear whole screen in all buffers
|
||||
if (!is_16bit_mode())
|
||||
gp2x_memset_all_buffers(0, 0xe0, 320*240);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue