mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Add frontend_driver_get_cpu_architecture
This commit is contained in:
parent
64a9cd29d3
commit
0986e2af7f
@ -300,4 +300,12 @@ void frontend_driver_shutdown(bool a)
|
||||
return;
|
||||
frontend->shutdown(a);
|
||||
}
|
||||
|
||||
enum frontend_architecture frontend_driver_get_cpu_architecture(void)
|
||||
{
|
||||
frontend_ctx_driver_t *frontend = frontend_get_ptr();
|
||||
if (!frontend || !frontend->get_architecture)
|
||||
return FRONTEND_ARCH_NONE;
|
||||
return frontend->get_architecture();
|
||||
}
|
||||
#endif
|
||||
|
@ -132,6 +132,8 @@ void frontend_driver_init_first(void *args);
|
||||
|
||||
void frontend_driver_free(void);
|
||||
|
||||
enum frontend_architecture frontend_driver_get_cpu_architecture(void);
|
||||
|
||||
environment_get_t frontend_driver_environment_get_ptr(void);
|
||||
|
||||
bool frontend_driver_has_get_video_driver_func(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user