Add ARMv7 entry too

This commit is contained in:
twinaphex 2016-05-18 22:09:01 +02:00
parent 017ef3fef7
commit 091496f74d
5 changed files with 10 additions and 2 deletions

View File

@ -622,9 +622,12 @@ static enum frontend_architecture frontend_darwin_get_architecture(void)
case DARWIN_ARCH_POWER_MAC:
return FRONTEND_ARCH_PPC;
}
#endif
return FRONTEND_ARCH_NONE;
#else
/* TODO/FIXME - make this more flexible */
return FRONTEND_ARCH_ARMV7;
#endif
}
static int frontend_darwin_parse_drive_list(void *data)

View File

@ -1126,6 +1126,7 @@ static enum frontend_architecture frontend_linux_get_architecture(void)
{
case LINUX_ARCH_ARMV7L:
case LINUX_ARCH_ARMV7B:
return FRONTEND_ARCH_ARMV7;
case LINUX_ARCH_ARMV6L:
case LINUX_ARCH_ARMV6B:
case LINUX_ARCH_ARMV5TEB:

View File

@ -359,7 +359,7 @@ static enum frontend_powerstate frontend_psp_get_powerstate(int *seconds, int *p
enum frontend_architecture frontend_psp_get_architecture(void)
{
#ifdef VITA
return FRONTEND_ARCH_ARM;
return FRONTEND_ARCH_ARMV7;
#else
return FRONTEND_ARCH_MIPS;
#endif

View File

@ -53,6 +53,7 @@ enum frontend_architecture
FRONTEND_ARCH_X86_64,
FRONTEND_ARCH_PPC,
FRONTEND_ARCH_ARM,
FRONTEND_ARCH_ARMV7,
FRONTEND_ARCH_MIPS,
FRONTEND_ARCH_TILE
};

View File

@ -672,6 +672,9 @@ static int menu_displaylist_parse_system_info(menu_displaylist_info_t *info)
case FRONTEND_ARCH_ARM:
strlcpy(cpu_arch_str, "ARM", sizeof(cpu_arch_str));
break;
case FRONTEND_ARCH_ARMV7:
strlcpy(cpu_arch_str, "ARMv7", sizeof(cpu_arch_str));
break;
case FRONTEND_ARCH_MIPS:
strlcpy(cpu_arch_str, "MIPS", sizeof(cpu_arch_str));
break;