RetroArch
|
#include <stdio.h>
#include <string.h>
#include <rhash.h>
#include <string/stdstring.h>
#include <libretro.h>
#include "msg_hash.h"
Macros | |
#define | MENU_VALUE_FILE_WEBM 0x7ca00b50U |
#define | MENU_VALUE_FILE_F4F 0x0b886be5U |
#define | MENU_VALUE_FILE_F4V 0x0b886bf5U |
#define | MENU_VALUE_FILE_OGM 0x0b8898c8U |
#define | MENU_VALUE_FILE_MKV 0x0b8890d3U |
#define | MENU_VALUE_FILE_AVI 0x0b885f25U |
#define | MENU_VALUE_FILE_M4A 0x0b8889a7U |
#define | MENU_VALUE_FILE_3GP 0x0b87998fU |
#define | MENU_VALUE_FILE_MP4 0x0b889136U |
#define | MENU_VALUE_FILE_MP3 0x0b889135U |
#define | MENU_VALUE_FILE_FLAC 0x7c96d67bU |
#define | MENU_VALUE_FILE_OGG 0x0b8898c2U |
#define | MENU_VALUE_FILE_MOD 0x0b889145U |
#define | MENU_VALUE_FILE_S3M 0x0b88a318U |
#define | MENU_VALUE_FILE_XM 0x00597a2aU |
#define | MENU_VALUE_FILE_FLV 0x0b88732dU |
#define | MENU_VALUE_FILE_WAV 0x0b88ba13U |
#define | MENU_VALUE_FILE_MOV 0x0b889157U |
#define | MENU_VALUE_FILE_WMV 0x0b88bb9fU |
#define | MENU_VALUE_FILE_3G2 0x0b879951U |
#define | MENU_VALUE_FILE_MPG 0x0b889169U |
#define | MENU_VALUE_FILE_MPEG 0x7c9abeaeU |
#define | MENU_VALUE_FILE_VOB 0x0b88b78cU |
#define | MENU_VALUE_FILE_ASF 0x0b885ebfU |
#define | MENU_VALUE_FILE_DIVX 0x7c95b3c0U |
#define | MENU_VALUE_FILE_M2P 0x0b888974U |
#define | MENU_VALUE_FILE_M2TS 0x7c99b8ebU |
#define | MENU_VALUE_FILE_PS 0x00597928U |
#define | MENU_VALUE_FILE_TS 0x005979acU |
#define | MENU_VALUE_FILE_MXF 0x0b889270U |
#define | MENU_VALUE_FILE_WMA 0x0b88bb8aU |
#define | MENU_VALUE_FILE_JPG 0x0b8884a6U |
#define | MENU_VALUE_FILE_JPEG 0x7c99198bU |
#define | MENU_VALUE_FILE_JPG_CAPS 0x0b87f846U |
#define | MENU_VALUE_FILE_JPEG_CAPS 0x7c87010bU |
#define | MENU_VALUE_FILE_PNG 0x0b889deaU |
#define | MENU_VALUE_FILE_PNG_CAPS 0x0b88118aU |
#define | MENU_VALUE_FILE_TGA 0x0b88ae01U |
#define | MENU_VALUE_FILE_BMP 0x0b886244U |
#define | MENU_VALUE_MD5 0x0b888fabU |
#define | MENU_VALUE_SHA1 0x7c9de632U |
#define | MENU_VALUE_CRC 0x0b88671dU |
#define | MENU_VALUE_MORE 0x0b877cafU |
#define | MENU_VALUE_CFILE 0xac3ec4f9U |
#define | MENU_VALUE_ON 0x005974c2U |
#define | MENU_VALUE_OFF 0x0b880c40U |
#define | MENU_VALUE_COMP 0x6a166ba5U |
#define | MENU_VALUE_MUSIC 0xc4a73997U |
#define | MENU_VALUE_IMAGE 0xbab7ebf9U |
#define | MENU_VALUE_MOVIE 0xc43c4bf6U |
#define | MENU_VALUE_CORE 0x6a167f7fU |
#define | MENU_VALUE_CURSOR 0x57bba8b4U |
#define | MENU_VALUE_FILE 0x6a496536U |
#define | MENU_VALUE_RDB 0x0b00f54eU |
#define | MENU_VALUE_DIR 0x0af95f55U |
#define | MENU_VALUE_GLSLP 0x0f840c87U |
#define | MENU_VALUE_CGP 0x0b8865bfU |
#define | MENU_VALUE_GLSL 0x7c976537U |
#define | MENU_VALUE_HLSL 0x7c97f198U |
#define | MENU_VALUE_HLSLP 0x0f962508U |
#define | MENU_VALUE_CG 0x0059776fU |
#define | MENU_VALUE_SLANG 0x105ce63aU |
#define | MENU_VALUE_SLANGP 0x1bf9adeaU |
#define | FILE_HASH_APK 0x0b885e61U |
#define | HASH_EXTENSION_7Z 0x005971d6U |
#define | HASH_EXTENSION_7Z_UPP 0x005971b6U |
#define | HASH_EXTENSION_ZIP 0x0b88c7d8U |
#define | HASH_EXTENSION_ZIP_UPP 0x0b883b78U |
#define | HASH_EXTENSION_CUE 0x0b886782U |
#define | HASH_EXTENSION_CUE_UPPERCASE 0x0b87db22U |
#define | HASH_EXTENSION_GDI 0x00b887659 |
#define | HASH_EXTENSION_GDI_UPPERCASE 0x00b87e9f9 |
#define | HASH_EXTENSION_ISO 0x0b8880d0U |
#define | HASH_EXTENSION_ISO_UPPERCASE 0x0b87f470U |
#define | HASH_EXTENSION_LUTRO 0x0fe37b7bU |
#define | HASH_EXTENSION_CHD 0x0b8865d4U |
Functions | |
int | menu_hash_get_help_enum (enum msg_hash_enums msg, char *s, size_t len) |
const char * | msg_hash_to_str (enum msg_hash_enums msg) |
uint32_t | msg_hash_calculate (const char *s) |
enum msg_file_type | msg_hash_to_file_type (uint32_t hash) |
unsigned * | msg_hash_get_uint (enum msg_hash_action type) |
void | msg_hash_set_uint (enum msg_hash_action type, unsigned val) |
Variables | |
static unsigned | uint_user_language |
#define FILE_HASH_APK 0x0b885e61U |
#define HASH_EXTENSION_7Z 0x005971d6U |
#define HASH_EXTENSION_7Z_UPP 0x005971b6U |
#define HASH_EXTENSION_CHD 0x0b8865d4U |
#define HASH_EXTENSION_CUE 0x0b886782U |
#define HASH_EXTENSION_CUE_UPPERCASE 0x0b87db22U |
#define HASH_EXTENSION_GDI 0x00b887659 |
#define HASH_EXTENSION_GDI_UPPERCASE 0x00b87e9f9 |
#define HASH_EXTENSION_ISO 0x0b8880d0U |
#define HASH_EXTENSION_ISO_UPPERCASE 0x0b87f470U |
#define HASH_EXTENSION_LUTRO 0x0fe37b7bU |
#define HASH_EXTENSION_ZIP 0x0b88c7d8U |
#define HASH_EXTENSION_ZIP_UPP 0x0b883b78U |
#define MENU_VALUE_CFILE 0xac3ec4f9U |
#define MENU_VALUE_CG 0x0059776fU |
#define MENU_VALUE_CGP 0x0b8865bfU |
#define MENU_VALUE_COMP 0x6a166ba5U |
#define MENU_VALUE_CORE 0x6a167f7fU |
#define MENU_VALUE_CRC 0x0b88671dU |
#define MENU_VALUE_CURSOR 0x57bba8b4U |
#define MENU_VALUE_DIR 0x0af95f55U |
#define MENU_VALUE_FILE 0x6a496536U |
#define MENU_VALUE_FILE_3G2 0x0b879951U |
#define MENU_VALUE_FILE_3GP 0x0b87998fU |
#define MENU_VALUE_FILE_ASF 0x0b885ebfU |
#define MENU_VALUE_FILE_AVI 0x0b885f25U |
#define MENU_VALUE_FILE_BMP 0x0b886244U |
#define MENU_VALUE_FILE_DIVX 0x7c95b3c0U |
#define MENU_VALUE_FILE_F4F 0x0b886be5U |
#define MENU_VALUE_FILE_F4V 0x0b886bf5U |
#define MENU_VALUE_FILE_FLAC 0x7c96d67bU |
#define MENU_VALUE_FILE_FLV 0x0b88732dU |
#define MENU_VALUE_FILE_JPEG 0x7c99198bU |
#define MENU_VALUE_FILE_JPEG_CAPS 0x7c87010bU |
#define MENU_VALUE_FILE_JPG 0x0b8884a6U |
#define MENU_VALUE_FILE_JPG_CAPS 0x0b87f846U |
#define MENU_VALUE_FILE_M2P 0x0b888974U |
#define MENU_VALUE_FILE_M2TS 0x7c99b8ebU |
#define MENU_VALUE_FILE_M4A 0x0b8889a7U |
#define MENU_VALUE_FILE_MKV 0x0b8890d3U |
#define MENU_VALUE_FILE_MOD 0x0b889145U |
#define MENU_VALUE_FILE_MOV 0x0b889157U |
#define MENU_VALUE_FILE_MP3 0x0b889135U |
#define MENU_VALUE_FILE_MP4 0x0b889136U |
#define MENU_VALUE_FILE_MPEG 0x7c9abeaeU |
#define MENU_VALUE_FILE_MPG 0x0b889169U |
#define MENU_VALUE_FILE_MXF 0x0b889270U |
#define MENU_VALUE_FILE_OGG 0x0b8898c2U |
#define MENU_VALUE_FILE_OGM 0x0b8898c8U |
#define MENU_VALUE_FILE_PNG 0x0b889deaU |
#define MENU_VALUE_FILE_PNG_CAPS 0x0b88118aU |
#define MENU_VALUE_FILE_PS 0x00597928U |
#define MENU_VALUE_FILE_S3M 0x0b88a318U |
#define MENU_VALUE_FILE_TGA 0x0b88ae01U |
#define MENU_VALUE_FILE_TS 0x005979acU |
#define MENU_VALUE_FILE_VOB 0x0b88b78cU |
#define MENU_VALUE_FILE_WAV 0x0b88ba13U |
#define MENU_VALUE_FILE_WEBM 0x7ca00b50U |
#define MENU_VALUE_FILE_WMA 0x0b88bb8aU |
#define MENU_VALUE_FILE_WMV 0x0b88bb9fU |
#define MENU_VALUE_FILE_XM 0x00597a2aU |
#define MENU_VALUE_GLSL 0x7c976537U |
#define MENU_VALUE_GLSLP 0x0f840c87U |
#define MENU_VALUE_HLSL 0x7c97f198U |
#define MENU_VALUE_HLSLP 0x0f962508U |
#define MENU_VALUE_IMAGE 0xbab7ebf9U |
#define MENU_VALUE_MD5 0x0b888fabU |
#define MENU_VALUE_MORE 0x0b877cafU |
#define MENU_VALUE_MOVIE 0xc43c4bf6U |
#define MENU_VALUE_MUSIC 0xc4a73997U |
#define MENU_VALUE_OFF 0x0b880c40U |
#define MENU_VALUE_ON 0x005974c2U |
#define MENU_VALUE_RDB 0x0b00f54eU |
#define MENU_VALUE_SHA1 0x7c9de632U |
#define MENU_VALUE_SLANG 0x105ce63aU |
#define MENU_VALUE_SLANGP 0x1bf9adeaU |
int menu_hash_get_help_enum | ( | enum msg_hash_enums | msg, |
char * | s, | ||
size_t | len | ||
) |
unsigned* msg_hash_get_uint | ( | enum msg_hash_action | type | ) |
void msg_hash_set_uint | ( | enum msg_hash_action | type, |
unsigned | val | ||
) |
enum msg_file_type msg_hash_to_file_type | ( | uint32_t | hash | ) |
const char* msg_hash_to_str | ( | enum msg_hash_enums | msg | ) |
|
static |