sms renderer, fix unaligned bg-filled tiles

core+gp2x+psp, fix handling mid-frame palette changes
platform, fix vertical scaling, aspect ratio handling (gp2x, psp)
libretro, various fixes (input handling, aspect ratio)
platform, include current dir in bios search path
This commit is contained in:
root
2021-11-10 23:52:29 +01:00
parent bee1a620ff
commit 84d01c5bba
12 changed files with 146 additions and 121 deletions

View File

@@ -1,5 +1,5 @@
void bgr444_to_rgb32(void *to, void *from);
void bgr444_to_rgb32(void *to, void *from, unsigned entries);
void bgr444_to_rgb32_sh(void *to, void *from);
void vidcpy_m2(void *dest, void *src, int m32col, int with_32c_border);

View File

@@ -62,12 +62,12 @@
.endm
.global bgr444_to_rgb32 @ void *to, void *from
.global bgr444_to_rgb32 @ void *to, void *from, unsigned entries
bgr444_to_rgb32:
stmfd sp!, {r4-r7,lr}
mov r12, #0x40>>3 @ repeats
mov r12, r2, lsr #3 @ repeats
mov lr, #0x00f00000
orr lr, lr, #0x00f0

View File

@@ -219,6 +219,16 @@ static const char *find_bios(int *region, const char *cd_fname)
strcat(static_buff, ".zip");
f = fopen(static_buff, "rb");
if (f) break;
strcpy(static_buff, files[i]);
strcat(static_buff, ".bin");
f = fopen(static_buff, "rb");
if (f) break;
static_buff[strlen(static_buff) - 4] = 0;
strcat(static_buff, ".zip");
f = fopen(static_buff, "rb");
if (f) break;
}
/** Check Bios files in <rom path>/bios */