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
|
@ -1,12 +1,14 @@
|
|||
#include "../libpicofe/gp2x/plat_gp2x.h"
|
||||
|
||||
// ------------ gfx options menu ------------
|
||||
|
||||
static const char *men_scaling_opts[] = { "OFF", "software", "hardware", NULL };
|
||||
static const char *men_filter_opts[] = { "nearest", "smoother", "bilinear 1", "bilinear 2", NULL };
|
||||
|
||||
const char *men_scaling_opts[] = { "OFF", "ON", NULL };
|
||||
static const char h_scale[] = "hardware scaling may not be working on some devices";
|
||||
|
||||
#define MENU_OPTIONS_GFX \
|
||||
// mee_enum ("screen scaling", MA_OPT_SCALING, currentConfig.scaling, men_scaling_opts), \
|
||||
mee_enum_h ("Horizontal scaling", MA_OPT_SCALING, currentConfig.scaling, men_scaling_opts, h_scale), \
|
||||
mee_enum_h ("Vertical scaling", MA_OPT_VSCALING, currentConfig.vscaling, men_scaling_opts, h_scale), \
|
||||
mee_enum_h ("Scaler type", MA_OPT3_FILTERING, currentConfig.filter, men_filter_opts, NULL), \
|
||||
|
||||
#define MENU_OPTIONS_ADV
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue