mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 23:58:04 -04:00
supporting caanoo, line doublers, refactoring
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@893 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
bf61bea0f2
commit
f4750ee051
24 changed files with 349 additions and 222 deletions
|
@ -81,6 +81,7 @@ static int menu_loop_cscaler(menu_id id, int keys)
|
|||
#include <errno.h>
|
||||
|
||||
static menu_entry e_menu_gfx_options[];
|
||||
static menu_entry e_menu_options[];
|
||||
|
||||
void pnd_menu_init(void)
|
||||
{
|
||||
|
@ -139,5 +140,8 @@ void pnd_menu_init(void)
|
|||
i = me_id2offset(e_menu_gfx_options, MA_OPT3_FILTERING);
|
||||
e_menu_gfx_options[i].data = (void *)mfilters;
|
||||
pnd_filter_list = mfilters;
|
||||
|
||||
i = me_id2offset(e_menu_options, MA_OPT_SCALING);
|
||||
e_menu_options[i]->name = "Max CPU clock";
|
||||
}
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ static unsigned char __attribute__((aligned(4))) fb_copy[g_screen_width * g_scre
|
|||
unsigned char *PicoDraw2FB = temp_frame;
|
||||
const char *renderer_names[] = { NULL };
|
||||
const char *renderer_names32x[] = { NULL };
|
||||
char cpu_clk_name[] = "Max CPU clock";
|
||||
|
||||
static int get_cpu_clock(void)
|
||||
{
|
||||
|
@ -371,9 +370,8 @@ void emu_video_mode_change(int start_line, int line_count, int is_32cols)
|
|||
{
|
||||
int fb_w = 320, fb_h = 240, fb_left = 0, fb_right = 0, fb_top = 0, fb_bottom = 0;
|
||||
|
||||
PicoScanBegin = emuscan;
|
||||
PicoScanEnd = NULL;
|
||||
PicoDrawSetOutFormat(PDF_RGB555, 1);
|
||||
PicoDrawSetCallbacks(emuscan, NULL);
|
||||
|
||||
if (is_32cols) {
|
||||
fb_w = 256;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue