mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Expand frontend_linux_get_architecture some more
This commit is contained in:
parent
5cfc0bb723
commit
b4549d4bf4
@ -398,6 +398,14 @@ enum frontend_architecture frontend_linux_get_architecture(void)
|
||||
return FRONTEND_ARCH_X86_64;
|
||||
if (!strcmp(buffer.machine, "x86"))
|
||||
return FRONTEND_ARCH_X86;
|
||||
if (!strcmp(buffer.machine, "arm"))
|
||||
return FRONTEND_ARCH_ARM;
|
||||
if (!strcmp(buffer.machine, "ppc64"))
|
||||
return FRONTEND_ARCH_PPC;
|
||||
if (!strcmp(buffer.machine, "mips"))
|
||||
return FRONTEND_ARCH_MIPS;
|
||||
if (!strcmp(buffer.machine, "tile"))
|
||||
return FRONTEND_ARCH_TILE;
|
||||
|
||||
return FRONTEND_ARCH_NONE;
|
||||
}
|
||||
|
@ -45,6 +45,7 @@ enum frontend_architecture
|
||||
FRONTEND_ARCH_PPC,
|
||||
FRONTEND_ARCH_ARM,
|
||||
FRONTEND_ARCH_MIPS,
|
||||
FRONTEND_ARCH_TILE,
|
||||
};
|
||||
|
||||
typedef void (*environment_get_t)(int *argc, char *argv[], void *args,
|
||||
|
Loading…
Reference in New Issue
Block a user