aboutsummaryrefslogtreecommitdiff
path: root/scale.c
diff options
context:
space:
mode:
authorneonloop2021-08-23 14:53:51 +0000
committerneonloop2021-08-23 14:53:51 +0000
commit38a49a2794e82568031c4315a0c797d23a920d69 (patch)
treed6edf21b82cd1bb2d561f9cdb72b501e95daf3c9 /scale.c
parenta2993b334dc5a03ad0a1e9368cebce354b72fae1 (diff)
downloadpicoarch-38a49a2794e82568031c4315a0c797d23a920d69.tar.gz
picoarch-38a49a2794e82568031c4315a0c797d23a920d69.tar.bz2
picoarch-38a49a2794e82568031c4315a0c797d23a920d69.zip
Adds fceumm core
Needs PGO to hit fullspeed. Nestopia won't run (needs XRGB8888) and would probably be slow. Maybe try QuickNES if speed is an issue with fceumm.
Diffstat (limited to 'scale.c')
-rw-r--r--scale.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/scale.c b/scale.c
index 5db2746..7287d5a 100644
--- a/scale.c
+++ b/scale.c
@@ -396,7 +396,10 @@ static void scale_select_scaler(unsigned w, unsigned h, size_t pitch) {
}
}
- if (!scaler && current_aspect_ratio == 4.0f / 3.0f && w == 256) {
+ if (!scaler &&
+ w == 256 &&
+ (current_aspect_ratio == 4.0f / 3.0f || scale_size == SCALE_SIZE_FULL))
+ {
if (scale_filter == SCALE_FILTER_SHARP) {
scaler = scale_sharp_256xXXX_320xXXX;
return;