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;
|
return;
|
||||||
frontend->shutdown(a);
|
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
|
#endif
|
||||||
|
|
|
@ -132,6 +132,8 @@ void frontend_driver_init_first(void *args);
|
||||||
|
|
||||||
void frontend_driver_free(void);
|
void frontend_driver_free(void);
|
||||||
|
|
||||||
|
enum frontend_architecture frontend_driver_get_cpu_architecture(void);
|
||||||
|
|
||||||
environment_get_t frontend_driver_environment_get_ptr(void);
|
environment_get_t frontend_driver_environment_get_ptr(void);
|
||||||
|
|
||||||
bool frontend_driver_has_get_video_driver_func(void);
|
bool frontend_driver_has_get_video_driver_func(void);
|
||||||
|
|
Loading…
Reference in New Issue