32x, fix softscale enabled by 32x

also some streamlining cleanup in the drawing code
This commit is contained in:
kub 2023-06-11 19:11:18 +00:00
parent f81718cbb8
commit 17c1401b44
5 changed files with 62 additions and 59 deletions

View file

@ -223,7 +223,6 @@ void vidConvCpyRGB565(void *to, void *from, int pixels);
#endif
void PicoDoHighPal555(int sh, int line, struct PicoEState *est);
// internals, NB must keep in sync with ASM draw functions
#define PDRAW_SYNC_NEEDED (1<<0) // redraw needed
#define PDRAW_WND_DIFF_PRIO (1<<1) // not all window tiles use same priority
#define PDRAW_PARSE_SPRITES (1<<2) // SAT needs parsing
#define PDRAW_INTERLACE (1<<3)
@ -237,7 +236,9 @@ void PicoDoHighPal555(int sh, int line, struct PicoEState *est);
#define PDRAW_30_ROWS (1<<11) // 30 rows mode (240 lines)
#define PDRAW_32X_SCALE (1<<12) // scale CLUT layer for 32X
#define PDRAW_SMS_BLANK_1 (1<<13) // 1st column blanked
#define PDRAW_SYNC_NEXT (1<<14) // sync next frame
#define PDRAW_SOFTSCALE (1<<15) // H32 upscaling
#define PDRAW_SYNC_NEEDED (1<<16) // redraw needed
#define PDRAW_SYNC_NEXT (1<<17) // redraw next frame
extern int rendstatus_old;
extern int rendlines;