aboutsummaryrefslogtreecommitdiff
path: root/core.h
diff options
context:
space:
mode:
authorneonloop2021-08-07 20:28:34 +0000
committerneonloop2021-08-07 20:28:34 +0000
commit8ad26356f5e92bd396e58290217da55858345a4e (patch)
tree8c08b9e62f36170e36514a4d1f397990e881104e /core.h
parentb148bcce05254c7ebe0ad855e5f1e958968a0bb9 (diff)
downloadpicoarch-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 'core.h')
-rw-r--r--core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core.h b/core.h
index 19c92eb..67f46c9 100644
--- a/core.h
+++ b/core.h
@@ -33,7 +33,7 @@ extern struct core_cbs current_core;
extern double sample_rate;
extern double frame_rate;
extern double aspect_ratio;
-extern int audio_buffer_size_override;
+extern unsigned audio_buffer_size_override;
extern int state_slot;
void config_file_name(char *buf, size_t len, int is_game);