2018-12-03 12:26:02 +01:00
|
|
|
/*****************************************************************************\
|
|
|
|
Snes9x - Portable Super Nintendo Entertainment System (TM) emulator.
|
|
|
|
This file is licensed under the Snes9x License.
|
|
|
|
For further information, consult the LICENSE file in the root directory.
|
|
|
|
\*****************************************************************************/
|
2008-08-06 03:09:59 +02:00
|
|
|
|
|
|
|
|
2010-01-27 23:08:56 +01:00
|
|
|
#ifndef _MESSAGES_H_
|
|
|
|
#define _MESSAGES_H_
|
2009-11-30 09:14:38 +01:00
|
|
|
|
2010-01-27 23:08:56 +01:00
|
|
|
// Types of message sent to S9xMessage()
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
S9X_TRACE,
|
|
|
|
S9X_DEBUG,
|
|
|
|
S9X_WARNING,
|
|
|
|
S9X_INFO,
|
|
|
|
S9X_ERROR,
|
|
|
|
S9X_FATAL_ERROR
|
2008-08-06 03:09:59 +02:00
|
|
|
};
|
|
|
|
|
2010-01-27 23:08:56 +01:00
|
|
|
// Individual message numbers
|
|
|
|
enum
|
|
|
|
{
|
2018-12-13 18:44:28 +01:00
|
|
|
S9X_NO_INFO,
|
2010-01-27 23:08:56 +01:00
|
|
|
S9X_ROM_INFO,
|
|
|
|
S9X_HEADERS_INFO,
|
|
|
|
S9X_CONFIG_INFO,
|
|
|
|
S9X_ROM_CONFUSING_FORMAT_INFO,
|
|
|
|
S9X_ROM_INTERLEAVED_INFO,
|
|
|
|
S9X_SOUND_DEVICE_OPEN_FAILED,
|
|
|
|
S9X_APU_STOPPED,
|
|
|
|
S9X_USAGE,
|
|
|
|
S9X_GAME_GENIE_CODE_ERROR,
|
|
|
|
S9X_ACTION_REPLY_CODE_ERROR,
|
|
|
|
S9X_GOLD_FINGER_CODE_ERROR,
|
|
|
|
S9X_DEBUG_OUTPUT,
|
|
|
|
S9X_DMA_TRACE,
|
|
|
|
S9X_HDMA_TRACE,
|
|
|
|
S9X_WRONG_FORMAT,
|
|
|
|
S9X_WRONG_VERSION,
|
|
|
|
S9X_ROM_NOT_FOUND,
|
|
|
|
S9X_FREEZE_FILE_NOT_FOUND,
|
|
|
|
S9X_PPU_TRACE,
|
|
|
|
S9X_TRACE_DSP1,
|
|
|
|
S9X_FREEZE_ROM_NAME,
|
|
|
|
S9X_HEADER_WARNING,
|
|
|
|
S9X_NETPLAY_NOT_SERVER,
|
|
|
|
S9X_FREEZE_FILE_INFO,
|
|
|
|
S9X_TURBO_MODE,
|
|
|
|
S9X_SOUND_NOT_BUILT,
|
2008-08-06 03:09:59 +02:00
|
|
|
S9X_MOVIE_INFO,
|
|
|
|
S9X_WRONG_MOVIE_SNAPSHOT,
|
|
|
|
S9X_NOT_A_MOVIE_SNAPSHOT,
|
2008-09-10 07:57:37 +02:00
|
|
|
S9X_SNAPSHOT_INCONSISTENT,
|
2018-12-13 18:44:28 +01:00
|
|
|
S9X_AVI_INFO,
|
2018-12-30 21:26:57 +01:00
|
|
|
S9X_PRESSED_KEYS_INFO
|
2008-08-06 03:09:59 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|