This commit is contained in:
twinaphex 2015-07-02 14:08:04 +02:00
parent 48c25d52a9
commit 9c2afe9deb
3 changed files with 6 additions and 1 deletions

View File

@ -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;

View File

@ -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:

View File

@ -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