mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-05-02 10:59:36 +02:00
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:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user