diff options
author | neonloop | 2021-08-07 20:28:34 +0000 |
---|---|---|
committer | neonloop | 2021-08-07 20:28:34 +0000 |
commit | 8ad26356f5e92bd396e58290217da55858345a4e (patch) | |
tree | 8c08b9e62f36170e36514a4d1f397990e881104e /menu.c | |
parent | b148bcce05254c7ebe0ad855e5f1e958968a0bb9 (diff) | |
download | picoarch-8ad26356f5e92bd396e58290217da55858345a4e.tar.gz picoarch-8ad26356f5e92bd396e58290217da55858345a4e.tar.bz2 picoarch-8ad26356f5e92bd396e58290217da55858345a4e.zip |
Adds generic nearest and smooth scalers
Smooth is slower (10-15%) than a scaler built for a specific
resolution. Works well for downscaling and for odd screen ratios until
a custom scaler is built.
Replaces the snes smooth scaler (outperforms it) and the gba smooth
scaler (looks better)
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -160,7 +160,7 @@ static int mh_savecfg(int id, int keys) static int menu_loop_core_options_page(int offset, int keys) { static int sel = 0; menu_entry *e_menu_core_options; - int i, menu_idx; + size_t i, menu_idx; /* core_option + 2 for possible "Next page" + NULL */ e_menu_core_options = (menu_entry *)calloc(core_options.visible_len + 2, sizeof(menu_entry)); |