From 9c2afe9deb43c8b3a9d364d59f6334337c0ee75c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 2 Jul 2015 14:08:04 +0200 Subject: [PATCH] Updates --- content.c | 3 ++- intl/msg_hash_us.c | 2 ++ msg_hash.h | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/content.c b/content.c index 5f5e2bb32a..b1566d35fe 100644 --- a/content.c +++ b/content.c @@ -61,7 +61,8 @@ static bool read_content_file(unsigned i, const char *path, void **buf, uint8_t *ret_buf = NULL; global_t *global = global_get_ptr(); - RARCH_LOG("Loading content file: %s.\n", path); + RARCH_LOG("%s: %s.\n", + msg_hash_to_str(MSG_LOADING_CONTENT_FILE), path); if (!read_file(path, (void**) &ret_buf, length)) return false; diff --git a/intl/msg_hash_us.c b/intl/msg_hash_us.c index 4b58916385..ab0a03f479 100644 --- a/intl/msg_hash_us.c +++ b/intl/msg_hash_us.c @@ -22,6 +22,8 @@ const char *msg_hash_to_str_us(uint32_t hash) { case MSG_UNKNOWN: return "Unknown"; + case MSG_LOADING_CONTENT_FILE: + return "Loading content file"; case MSG_RECEIVED: return "received"; case MSG_UNRECOGNIZED_COMMAND: diff --git a/msg_hash.h b/msg_hash.h index a7957a60b7..ab20264670 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -25,6 +25,8 @@ #define MSG_RECEIVED 0xfe0c06acU +#define MSG_LOADING_CONTENT_FILE 0x236398dcU + #define MSG_SAVING_STATE 0xe4f3eb4dU #define MSG_LOADING_STATE 0x68d8d483U #define MSG_FAILED_TO_SAVE_STATE_TO 0xcc005f3cU