added resolution switching

including
- Screen Scaling frontend option
- bindings for Cycle Scaling and Toggle Scanlines
- muddiness around SCREEN_* and FIXED_* macros...
This commit is contained in:
Shaun Inman 2023-02-11 17:03:12 -05:00
parent 05d9616d07
commit 6bd06532c8
4 changed files with 327 additions and 96 deletions

View file

@ -94,6 +94,7 @@
#define MAX(a, b) (a) > (b) ? (a) : (b)
#define MIN(a, b) (a) < (b) ? (a) : (b)
#define CEIL_DIV(a,b) ((a) + (b) - 1) / (b)
#define SCALE1(a) ((a)*SCREEN_SCALE)
#define SCALE2(a,b) ((a)*SCREEN_SCALE),((b)*SCREEN_SCALE)