mirror of https://github.com/xemu-project/xemu.git
ui: Add CPU logging in log
This commit is contained in:
parent
30a872fa83
commit
8a89108a50
|
@ -811,7 +811,7 @@ static const char *get_os_platform(void)
|
|||
#endif
|
||||
#endif
|
||||
|
||||
static const char *get_cpu_info(void)
|
||||
const char *xemu_get_cpu_info(void)
|
||||
{
|
||||
const char *cpu_info = "";
|
||||
#ifdef CONFIG_CPUID_H
|
||||
|
@ -865,7 +865,7 @@ public:
|
|||
snprintf(platform_info_text, sizeof(platform_info_text),
|
||||
"CPU: %s\nOS Platform: %s\nOS Version: %s\nManufacturer: %s\n"
|
||||
"GPU Model: %s\nDriver: %s\nShader: %s",
|
||||
get_cpu_info(), get_os_platform(), xemu_get_os_info(), gl_vendor,
|
||||
xemu_get_cpu_info(), get_os_platform(), xemu_get_os_info(), gl_vendor,
|
||||
gl_renderer, gl_version, gl_shader_version);
|
||||
// FIXME: Show BIOS/BootROM hash
|
||||
|
||||
|
@ -1189,7 +1189,7 @@ public:
|
|||
|
||||
report.os_platform = get_os_platform();
|
||||
report.os_version = xemu_get_os_info();
|
||||
report.cpu = get_cpu_info();
|
||||
report.cpu = xemu_get_cpu_info();
|
||||
dirty = true;
|
||||
is_xbe_identified = false;
|
||||
did_send = send_result = false;
|
||||
|
|
|
@ -25,6 +25,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
const char *xemu_get_os_info(void);
|
||||
const char *xemu_get_cpu_info(void);
|
||||
void xemu_open_web_browser(const char *url);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -903,6 +903,7 @@ static void sdl2_display_very_early_init(DisplayOptions *o)
|
|||
// by the SDL surface.
|
||||
}
|
||||
|
||||
fprintf(stderr, "CPU: %s\n", xemu_get_cpu_info());
|
||||
fprintf(stderr, "OS_Version: %s\n", xemu_get_os_info());
|
||||
fprintf(stderr, "GL_VENDOR: %s\n", glGetString(GL_VENDOR));
|
||||
fprintf(stderr, "GL_RENDERER: %s\n", glGetString(GL_RENDERER));
|
||||
|
|
Loading…
Reference in New Issue