workaround a problem with the harmattan gcc
[drnoksnes] / messages.h
1 /*
2  * Snes9x - Portable Super Nintendo Entertainment System (TM) emulator.
3  *
4  * (c) Copyright 1996 - 2001 Gary Henderson (gary.henderson@ntlworld.com) and
5  *                           Jerremy Koot (jkoot@snes9x.com)
6  *
7  * Super FX C emulator code 
8  * (c) Copyright 1997 - 1999 Ivar (ivar@snes9x.com) and
9  *                           Gary Henderson.
10  * Super FX assembler emulator code (c) Copyright 1998 zsKnight and _Demo_.
11  *
12  * DSP1 emulator code (c) Copyright 1998 Ivar, _Demo_ and Gary Henderson.
13  * C4 asm and some C emulation code (c) Copyright 2000 zsKnight and _Demo_.
14  * C4 C code (c) Copyright 2001 Gary Henderson (gary.henderson@ntlworld.com).
15  *
16  * DOS port code contains the works of other authors. See headers in
17  * individual files.
18  *
19  * Snes9x homepage: http://www.snes9x.com
20  *
21  * Permission to use, copy, modify and distribute Snes9x in both binary and
22  * source form, for non-commercial purposes, is hereby granted without fee,
23  * providing that this license information and copyright notice appear with
24  * all copies and any derived work.
25  *
26  * This software is provided 'as-is', without any express or implied
27  * warranty. In no event shall the authors be held liable for any damages
28  * arising from the use of this software.
29  *
30  * Snes9x is freeware for PERSONAL USE only. Commercial users should
31  * seek permission of the copyright holders first. Commercial use includes
32  * charging money for Snes9x or software derived from Snes9x.
33  *
34  * The copyright holders request that bug fixes and improvements to the code
35  * should be forwarded to them so everyone can benefit from the modifications
36  * in future versions.
37  *
38  * Super NES and Super Nintendo Entertainment System are trademarks of
39  * Nintendo Co., Limited and its subsidiary companies.
40  */
41 #ifndef _messages_h_
42 #define _messages_h_
43
44 /* Types of message sent to S9xMessage routine */
45 enum {
46     S9X_TRACE,
47     S9X_DEBUG,
48     S9X_WARNING,
49     S9X_INFO,
50     S9X_ERROR,
51     S9X_FATAL_ERROR
52 };
53
54 /* Individual message numbers */
55 enum {
56     S9X_ROM_INFO,
57     S9X_HEADERS_INFO,
58     S9X_ROM_CONFUSING_FORMAT_INFO,
59     S9X_ROM_INTERLEAVED_INFO,
60     S9X_SOUND_DEVICE_OPEN_FAILED,
61     S9X_APU_STOPPED,
62     S9X_USAGE,
63     S9X_GAME_GENIE_CODE_ERROR,
64     S9X_ACTION_REPLY_CODE_ERROR,
65     S9X_GOLD_FINGER_CODE_ERROR,
66     S9X_DEBUG_OUTPUT,
67     S9X_DMA_TRACE,
68     S9X_HDMA_TRACE,
69     S9X_WRONG_FORMAT,
70     S9X_WRONG_VERSION,
71     S9X_ROM_NOT_FOUND,
72     S9X_FREEZE_FILE_NOT_FOUND,
73     S9X_PPU_TRACE,
74     S9X_TRACE_DSP1,
75     S9X_FREEZE_ROM_NAME,
76     S9X_HEADER_WARNING,
77     S9X_NETPLAY_NOT_SERVER,
78     S9X_FREEZE_FILE_INFO,
79     S9X_TURBO_MODE
80 };
81
82 #endif