mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-24 19:56:06 +00:00
105 lines
3.7 KiB
C
105 lines
3.7 KiB
C
/* RetroArch - A frontend for libretro.
|
|
* Copyright (C) 2011-2015 - Daniel De Matteis
|
|
*
|
|
*
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
*
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include "../msg_hash.h"
|
|
|
|
const char *msg_hash_to_str_us(uint32_t hash)
|
|
{
|
|
switch (hash)
|
|
{
|
|
case MSG_FAILED_TO_LOAD_MOVIE_FILE:
|
|
return "Failed to load movie file";
|
|
case MSG_GRAB_MOUSE_STATE:
|
|
return "Grab mouse state";
|
|
case MSG_PAUSED:
|
|
return "Paused.";
|
|
case MSG_UNPAUSED:
|
|
return "Unpaused.";
|
|
case MSG_FAILED_TO_LOAD_OVERLAY:
|
|
return "Failed to load overlay.";
|
|
case MSG_FAILED_TO_UNMUTE_AUDIO:
|
|
return "Failed to unmute audio.";
|
|
case MSG_AUDIO_MUTED:
|
|
return "Audio muted.";
|
|
case MSG_AUDIO_UNMUTED:
|
|
return "Audio unmuted.";
|
|
case MSG_RESET:
|
|
return "Reset";
|
|
case MSG_FAILED_TO_LOAD_STATE:
|
|
return "Failed to load state from";
|
|
case MSG_CORE_DOES_NOT_SUPPORT_SAVESTATES:
|
|
return "Core does not support save states.";
|
|
case MSG_SAVED_STATE_TO_SLOT:
|
|
return "Saved state to slot";
|
|
case MSG_CONFIG_DIRECTORY_NOT_SET:
|
|
return "Config directory not set. Cannot save new config.";
|
|
case MSG_SKIPPING_SRAM_LOAD:
|
|
return "Skipping SRAM load.";
|
|
case MSG_APPENDED_DISK:
|
|
return "Appended disk";
|
|
case MSG_STARTING_MOVIE_PLAYBACK:
|
|
return "Starting movie playback.";
|
|
case MSG_FAILED_TO_REMOVE_TEMPORARY_FILE:
|
|
return "Failed to remove temporary file";
|
|
case MSG_REMOVING_TEMPORARY_CONTENT_FILE:
|
|
return "Removing temporary content file";
|
|
case MSG_LOADED_STATE_FROM_SLOT:
|
|
return "Loaded state from slot";
|
|
case MSG_DOWNLOAD_PROGRESS:
|
|
return "Download progress";
|
|
case MSG_COULD_NOT_PROCESS_ZIP_FILE:
|
|
return "Could not process ZIP file.";
|
|
case MSG_DOWNLOAD_COMPLETE:
|
|
return "Download complete";
|
|
case MSG_SCANNING_OF_DIRECTORY_FINISHED:
|
|
return "Scanning of directory finished";
|
|
case MSG_SCANNING:
|
|
return "Scanning";
|
|
case MSG_REDIRECTING_CHEATFILE_TO:
|
|
return "Redirecting cheat file to";
|
|
case MSG_REDIRECTING_SAVEFILE_TO:
|
|
return "Redirecting save file to";
|
|
case MSG_REDIRECTING_SAVESTATE_TO:
|
|
return "Redirecting savestate to";
|
|
case MSG_SHADER:
|
|
return "Shader";
|
|
case MSG_APPLYING_SHADER:
|
|
return "Applying shader";
|
|
case MSG_FAILED_TO_APPLY_SHADER:
|
|
return "Failed to apply shader.";
|
|
case MSG_STARTING_MOVIE_RECORD_TO:
|
|
return "Starting movie record to";
|
|
case MSG_FAILED_TO_START_MOVIE_RECORD:
|
|
return "Failed to start movie record.";
|
|
case MSG_STATE_SLOT:
|
|
return "State slot";
|
|
case MSG_RESTARTING_RECORDING_DUE_TO_DRIVER_REINIT:
|
|
return "Restarting recording due to driver reinit.";
|
|
case MSG_SLOW_MOTION:
|
|
return "Slow motion.";
|
|
case MSG_SLOW_MOTION_REWIND:
|
|
return "Slow motion rewind.";
|
|
case MSG_REWINDING:
|
|
return "Rewinding.";
|
|
case MSG_REWIND_REACHED_END:
|
|
return "Reached end of rewind buffer.";
|
|
default:
|
|
break;
|
|
}
|
|
|
|
return "null";
|
|
}
|