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
|
@ -1212,7 +1212,7 @@ static void mkdir_path(char *path_with_reserve, int pos, const char *name)
|
|||
lprintf("failed to create: %s\n", path_with_reserve);
|
||||
}
|
||||
|
||||
void emu_cmn_forced_frame(int no_scale, int do_emu)
|
||||
void emu_cmn_forced_frame(int no_scale, int do_emu, void *buf)
|
||||
{
|
||||
int po_old = PicoIn.opt;
|
||||
int y;
|
||||
|
@ -1227,7 +1227,7 @@ void emu_cmn_forced_frame(int no_scale, int do_emu)
|
|||
PicoIn.opt |= POPT_EN_SOFTSCALE;
|
||||
|
||||
PicoDrawSetOutFormat(PDF_RGB555, 1);
|
||||
PicoDrawSetOutBuf(g_screen_ptr, g_screen_ppitch * 2);
|
||||
PicoDrawSetOutBuf(buf, g_screen_ppitch * 2);
|
||||
Pico.m.dirtyPal = 1;
|
||||
Pico.est.rendstatus |= PDRAW_DIRTY_SPRITES;
|
||||
if (do_emu)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue