mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-05-02 02:49:34 +02:00
fix clang warnings
so that they don't annoy me
This commit is contained in:
@@ -1430,7 +1430,7 @@ static const u16 ssh2_code[] = {
|
||||
0x2200, 0x03e4 // slave start pointer in ROM
|
||||
};
|
||||
|
||||
#define HWSWAP(x) (((x) << 16) | ((x) >> 16))
|
||||
#define HWSWAP(x) (((u16)(x) << 16) | ((x) >> 16))
|
||||
static void get_bios(void)
|
||||
{
|
||||
u16 *ps;
|
||||
|
||||
@@ -26,7 +26,7 @@ static const char builtin_carthw_cfg[] =
|
||||
"hw=ssf2_mapper\n"
|
||||
"prop=no_sram\n"
|
||||
"[]\n"
|
||||
"check_str=0x150,\"PIER SOLAR<EFBFBD>&THE GREAT ARCHITECTS<EFBFBD> WaterMelon<EFBFBD>\"\n"
|
||||
"check_str=0x150,\"PIER SOLAR\x99&THE GREAT ARCHITECTS\xa9 WaterMelon\x99\"\n"
|
||||
"hw=piersolar_mapper\n"
|
||||
"sram_range=0xa13009,0xa1300b\n"
|
||||
"eeprom_type=3\n"
|
||||
|
||||
@@ -217,7 +217,7 @@ enum media_type_e PicoLoadMedia(const char *filename,
|
||||
{
|
||||
// check for MegaCD image
|
||||
cd_img_type = PicoCdCheck(filename, &cd_region);
|
||||
if (cd_img_type >= 0 && cd_img_type != CIT_NOT_CD)
|
||||
if ((int)cd_img_type >= 0 && cd_img_type != CIT_NOT_CD)
|
||||
{
|
||||
// valid CD image, ask frontend for BIOS..
|
||||
rom_fname = NULL;
|
||||
|
||||
@@ -1082,7 +1082,8 @@ int menu_loop_tray(void)
|
||||
ret = 0; /* no CD inserted */
|
||||
}
|
||||
|
||||
while (in_menu_wait_any(NULL, 50) & (PBTN_MENU|PBTN_MOK|PBTN_MBACK));
|
||||
while (in_menu_wait_any(NULL, 50) & (PBTN_MENU|PBTN_MOK|PBTN_MBACK))
|
||||
;
|
||||
in_set_config_int(0, IN_CFG_BLOCKING, 0);
|
||||
plat_video_menu_leave();
|
||||
|
||||
|
||||
Submodule platform/libpicofe updated: ebf0e111a8...cab9194354
Reference in New Issue
Block a user