mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sdl, complete overhaul of hardware/software scaling
This commit is contained in:
parent
6651998e9f
commit
d5d1778252
21 changed files with 1233 additions and 547 deletions
|
@ -107,10 +107,10 @@ void plat_video_toggle_renderer(int change, int is_menu)
|
|||
PicoDrawSetOutFormat(PDF_RGB555, 1);
|
||||
}
|
||||
|
||||
void emu_video_mode_change(int start_line, int line_count, int is_32cols)
|
||||
void emu_video_mode_change(int start_line, int line_count, int start_col, int col_count)
|
||||
{
|
||||
EmuScreenRect.left = is_32cols ? 32 : 0;
|
||||
EmuScreenRect.right = is_32cols ? 256+32 : 320;
|
||||
EmuScreenRect.left = start_col;
|
||||
EmuScreenRect.right = start_col + col_count;
|
||||
EmuScreenRect.top = start_line;
|
||||
EmuScreenRect.bottom = start_line + line_count;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue