Combine two RARCH_LOGs into one

This commit is contained in:
twinaphex 2019-09-19 09:00:05 +02:00
parent 33353d5cd9
commit e7eb0e2b3e

View File

@ -26625,12 +26625,12 @@ bool core_run(void)
static bool core_verify_api_version(void) static bool core_verify_api_version(void)
{ {
unsigned api_version = current_core.retro_api_version(); unsigned api_version = current_core.retro_api_version();
RARCH_LOG("%s: %u\n", RARCH_LOG("%s: %u\n%s: %u\n",
msg_hash_to_str(MSG_VERSION_OF_LIBRETRO_API), msg_hash_to_str(MSG_VERSION_OF_LIBRETRO_API),
api_version); api_version,
RARCH_LOG("%s: %u\n",
msg_hash_to_str(MSG_COMPILED_AGAINST_API), msg_hash_to_str(MSG_COMPILED_AGAINST_API),
RETRO_API_VERSION); RETRO_API_VERSION
);
if (api_version != RETRO_API_VERSION) if (api_version != RETRO_API_VERSION)
{ {