2018-11-16 00:31:39 +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.
|
|
|
|
\*****************************************************************************/
|
2010-09-25 17:46:12 +02:00
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
/* Snes9X: Win32 */
|
|
|
|
/*****************************************************************************/
|
|
|
|
#if !defined(SNES9X_H_INCLUDED)
|
|
|
|
#define SNES9X_H_INCLUDED
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#ifndef STRICT
|
|
|
|
#define STRICT
|
|
|
|
#endif
|
|
|
|
#include <windows.h>
|
|
|
|
#include <windowsx.h>
|
2010-09-25 19:35:19 +02:00
|
|
|
#include <tchar.h>
|
2010-09-25 17:46:12 +02:00
|
|
|
#include <ddraw.h>
|
|
|
|
#include <mmsystem.h>
|
|
|
|
#ifndef __BORLANDC__
|
|
|
|
|
|
|
|
#include <dsound.h>
|
|
|
|
#endif
|
|
|
|
#include "rsrc/resource.h"
|
|
|
|
|
|
|
|
#define COUNT(a) (sizeof (a) / sizeof (a[0]))
|
2018-12-15 14:19:16 +01:00
|
|
|
#define MAX_AUDIO_NAME_LENGTH 1024
|
2010-09-25 17:46:12 +02:00
|
|
|
|
|
|
|
#define MAX_RECENT_GAMES_LIST_SIZE 32
|
|
|
|
#define MAX_RECENT_HOSTS_LIST_SIZE 16
|
|
|
|
|
2010-09-25 19:35:19 +02:00
|
|
|
#include "_tfwopen.h"
|
|
|
|
#ifdef UNICODE
|
|
|
|
#define _tToChar WideToUtf8
|
|
|
|
#define _tFromChar Utf8ToWide
|
2012-10-18 15:44:42 +02:00
|
|
|
#define _tFromMS932(x) CPToWide(x,932)
|
2010-09-25 19:35:19 +02:00
|
|
|
#else
|
|
|
|
#define _tToChar
|
|
|
|
#define _tFromChar
|
2012-07-22 14:57:35 +02:00
|
|
|
#define _tFromMS932
|
2010-09-25 19:35:19 +02:00
|
|
|
#endif
|
|
|
|
|
2010-09-25 17:46:12 +02:00
|
|
|
/****************************************************************************/
|
|
|
|
inline static void Log (const char *str)
|
|
|
|
{
|
|
|
|
FILE *fs = fopen ("snes9x.log", "a");
|
|
|
|
|
|
|
|
if (fs)
|
|
|
|
{
|
|
|
|
fprintf (fs, "%s\n", str);
|
|
|
|
fflush (fs);
|
|
|
|
fclose (fs);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
enum RenderFilter{
|
|
|
|
FILTER_NONE = 0,
|
|
|
|
FILTER_SIMPLE1X,
|
|
|
|
|
|
|
|
FILTER_SIMPLE2X,
|
|
|
|
FILTER_SCANLINES,
|
|
|
|
FILTER_TVMODE,
|
|
|
|
FILTER_BLARGGCOMP,
|
|
|
|
FILTER_BLARGGSVID,
|
|
|
|
FILTER_BLARGGRGB,
|
|
|
|
FILTER_SUPEREAGLE,
|
|
|
|
FILTER_SUPER2XSAI,
|
|
|
|
FILTER_2XSAI,
|
|
|
|
FILTER_HQ2X,
|
|
|
|
FILTER_HQ2XS,
|
|
|
|
FILTER_HQ2XBOLD,
|
|
|
|
FILTER_EPXA,
|
|
|
|
FILTER_EPXB,
|
|
|
|
FILTER_EPXC,
|
|
|
|
|
|
|
|
FILTER_SIMPLE3X,
|
|
|
|
FILTER_TVMODE3X,
|
|
|
|
FILTER_DOTMATRIX3X,
|
|
|
|
FILTER_HQ3X,
|
|
|
|
FILTER_HQ3XS,
|
|
|
|
FILTER_HQ3XBOLD,
|
|
|
|
FILTER_LQ3XBOLD,
|
|
|
|
FILTER_EPX3,
|
|
|
|
|
|
|
|
FILTER_SIMPLE4X,
|
|
|
|
FILTER_HQ4X,
|
2014-06-25 23:16:52 +02:00
|
|
|
|
|
|
|
FILTER_2XBRZ,
|
|
|
|
FILTER_3XBRZ,
|
2014-06-24 21:53:00 +02:00
|
|
|
FILTER_4XBRZ,
|
2016-10-07 21:39:32 +02:00
|
|
|
FILTER_5XBRZ,
|
|
|
|
FILTER_6XBRZ,
|
2010-09-25 17:46:12 +02:00
|
|
|
|
|
|
|
NUM_FILTERS
|
|
|
|
};
|
|
|
|
|
|
|
|
enum OutputMethod {
|
|
|
|
DIRECTDRAW = 0,
|
2010-09-25 19:35:19 +02:00
|
|
|
DIRECT3D,
|
|
|
|
OPENGL
|
2010-09-25 17:46:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
struct dMode
|
|
|
|
{
|
|
|
|
long height;
|
|
|
|
long width;
|
|
|
|
long depth;
|
|
|
|
long rate;
|
|
|
|
};
|
|
|
|
|
2018-07-03 22:39:20 +02:00
|
|
|
struct sCustomRomDlgSettings {
|
|
|
|
int columnFilename;
|
|
|
|
int columnDescription;
|
|
|
|
int columnSize;
|
|
|
|
int folderPaneWidth;
|
|
|
|
RECT window_size;
|
|
|
|
bool window_maximized;
|
|
|
|
};
|
|
|
|
|
2010-09-25 17:46:12 +02:00
|
|
|
struct sGUI {
|
|
|
|
HWND hWnd;
|
|
|
|
HMENU hMenu;
|
|
|
|
HINSTANCE hInstance;
|
|
|
|
|
|
|
|
DWORD hFrameTimer;
|
|
|
|
DWORD hHotkeyTimer;
|
|
|
|
HANDLE ClientSemaphore;
|
|
|
|
HANDLE FrameTimerSemaphore;
|
|
|
|
HANDLE ServerTimerSemaphore;
|
|
|
|
|
|
|
|
BYTE Language;
|
|
|
|
|
2010-09-25 19:35:19 +02:00
|
|
|
//Graphic Settings
|
2010-09-25 17:46:12 +02:00
|
|
|
dMode FullscreenMode;
|
|
|
|
RenderFilter Scale;
|
|
|
|
RenderFilter ScaleHiRes;
|
2011-01-30 13:32:06 +01:00
|
|
|
bool BlendHiRes;
|
2011-02-12 16:32:53 +01:00
|
|
|
bool AVIHiRes;
|
2010-09-25 17:46:12 +02:00
|
|
|
bool DoubleBuffered;
|
|
|
|
bool FullScreen;
|
|
|
|
bool Stretch;
|
|
|
|
bool HeightExtend;
|
|
|
|
bool AspectRatio;
|
2018-06-13 00:50:24 +02:00
|
|
|
bool IntegerScaling;
|
2010-09-25 19:35:19 +02:00
|
|
|
OutputMethod outputMethod;
|
|
|
|
int AspectWidth;
|
2010-10-17 02:47:53 +02:00
|
|
|
bool AlwaysCenterImage;
|
2010-09-25 19:35:19 +02:00
|
|
|
bool EmulateFullscreen;
|
|
|
|
bool EmulatedFullscreen;
|
|
|
|
bool LocalVidMem;
|
2018-05-05 23:31:54 +02:00
|
|
|
bool Vsync;
|
|
|
|
bool ReduceInputLag;
|
2010-09-25 19:35:19 +02:00
|
|
|
bool shaderEnabled;
|
2011-02-24 01:26:42 +01:00
|
|
|
TCHAR D3DshaderFileName[MAX_PATH];
|
|
|
|
TCHAR OGLshaderFileName[MAX_PATH];
|
2010-09-25 19:35:19 +02:00
|
|
|
|
2011-05-08 03:39:25 +02:00
|
|
|
bool OGLdisablePBOs;
|
2018-01-03 20:40:29 +01:00
|
|
|
bool filterMessagFont;
|
2011-05-08 03:39:25 +02:00
|
|
|
|
2010-09-25 17:46:12 +02:00
|
|
|
bool IgnoreNextMouseMove;
|
|
|
|
RECT window_size;
|
|
|
|
bool window_maximized;
|
2018-07-03 22:39:20 +02:00
|
|
|
sCustomRomDlgSettings customRomDlgSettings;
|
|
|
|
|
2010-09-25 17:46:12 +02:00
|
|
|
int MouseX;
|
|
|
|
int MouseY;
|
|
|
|
unsigned int MouseButtons;
|
|
|
|
int superscope_turbo;
|
|
|
|
int superscope_pause;
|
|
|
|
int FrameAdvanceJustPressed;
|
|
|
|
HCURSOR Blank;
|
|
|
|
HCURSOR GunSight;
|
|
|
|
HCURSOR Arrow;
|
|
|
|
int CursorTimer;
|
|
|
|
HDC hDC;
|
|
|
|
HACCEL Accelerators;
|
|
|
|
bool NeedDepthConvert;
|
|
|
|
bool DepthConverted;
|
2018-06-16 23:35:56 +02:00
|
|
|
bool NTSCScanlines;
|
2012-03-28 00:18:03 +02:00
|
|
|
|
2010-09-25 17:46:12 +02:00
|
|
|
bool InactivePause;
|
|
|
|
bool CustomRomOpen;
|
|
|
|
bool FASkipsNonInput;
|
|
|
|
bool FAMute;
|
|
|
|
int ScreenDepth;
|
|
|
|
int RedShift;
|
|
|
|
int GreenShift;
|
|
|
|
int BlueShift;
|
|
|
|
int ControlForced;
|
|
|
|
int CurrentSaveSlot;
|
|
|
|
int MaxRecentGames;
|
|
|
|
int ControllerOption;
|
|
|
|
int ValidControllerOptions;
|
|
|
|
int SoundChannelEnable;
|
2011-05-08 01:41:33 +02:00
|
|
|
bool BackgroundInput;
|
2018-05-05 18:28:49 +02:00
|
|
|
bool BackgroundKeyHotkeys;
|
2010-09-25 17:46:12 +02:00
|
|
|
bool JoystickHotkeys;
|
|
|
|
bool MovieClearSRAM;
|
|
|
|
bool MovieStartFromReset;
|
|
|
|
bool MovieReadOnly;
|
|
|
|
bool NetplayUseJoypad1;
|
|
|
|
unsigned int FlipCounter;
|
|
|
|
unsigned int NumFlipFrames;
|
|
|
|
|
|
|
|
int SoundDriver;
|
|
|
|
int SoundBufferSize;
|
|
|
|
bool Mute;
|
2017-11-25 00:10:44 +01:00
|
|
|
unsigned int VolumeRegular;
|
|
|
|
unsigned int VolumeTurbo;
|
2018-05-25 01:52:43 +02:00
|
|
|
bool AutomaticInputRate;
|
2010-09-25 19:35:19 +02:00
|
|
|
// used for sync sound synchronization
|
|
|
|
CRITICAL_SECTION SoundCritSect;
|
2012-01-22 20:18:15 +01:00
|
|
|
HANDLE SoundSyncEvent;
|
2018-12-15 14:19:16 +01:00
|
|
|
TCHAR AudioDevice[MAX_AUDIO_NAME_LENGTH];
|
2010-09-25 17:46:12 +02:00
|
|
|
|
2010-09-25 19:35:19 +02:00
|
|
|
TCHAR RomDir [_MAX_PATH];
|
|
|
|
TCHAR ScreensDir [_MAX_PATH];
|
|
|
|
TCHAR MovieDir [_MAX_PATH];
|
|
|
|
TCHAR SPCDir [_MAX_PATH];
|
|
|
|
TCHAR FreezeFileDir [_MAX_PATH];
|
|
|
|
TCHAR SRAMFileDir [_MAX_PATH];
|
|
|
|
TCHAR PatchDir [_MAX_PATH];
|
2017-09-04 20:41:04 +02:00
|
|
|
TCHAR CheatDir [_MAX_PATH];
|
2010-09-25 19:35:19 +02:00
|
|
|
TCHAR BiosDir [_MAX_PATH];
|
2016-12-28 16:36:21 +01:00
|
|
|
TCHAR SatDir [_MAX_PATH];
|
2010-09-25 17:46:12 +02:00
|
|
|
bool LockDirectories;
|
|
|
|
|
2010-09-25 19:35:19 +02:00
|
|
|
TCHAR RecentGames [MAX_RECENT_GAMES_LIST_SIZE][MAX_PATH];
|
|
|
|
TCHAR RecentHostNames [MAX_RECENT_HOSTS_LIST_SIZE][MAX_PATH];
|
2010-09-25 17:46:12 +02:00
|
|
|
|
|
|
|
//turbo switches -- SNES-wide
|
|
|
|
unsigned short TurboMask;
|
|
|
|
COLORREF InfoColor;
|
|
|
|
bool HideMenu;
|
2010-09-25 19:35:19 +02:00
|
|
|
|
2010-09-25 17:46:12 +02:00
|
|
|
// avi writing
|
|
|
|
struct AVIFile* AVIOut;
|
2010-09-25 19:35:19 +02:00
|
|
|
|
2010-09-25 17:46:12 +02:00
|
|
|
long FrameCount;
|
|
|
|
long LastFrameCount;
|
|
|
|
unsigned long IdleCount;
|
2012-03-28 00:18:03 +02:00
|
|
|
|
|
|
|
// rewinding
|
|
|
|
unsigned int rewindBufferSize;
|
|
|
|
unsigned int rewindGranularity;
|
2010-09-25 17:46:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
//TURBO masks
|
|
|
|
#define TURBO_A_MASK 0x0001
|
|
|
|
#define TURBO_B_MASK 0x0002
|
|
|
|
#define TURBO_X_MASK 0x0004
|
|
|
|
#define TURBO_Y_MASK 0x0008
|
|
|
|
#define TURBO_L_MASK 0x0010
|
|
|
|
#define TURBO_R_MASK 0x0020
|
|
|
|
#define TURBO_STA_MASK 0x0040
|
|
|
|
#define TURBO_SEL_MASK 0x0080
|
|
|
|
#define TURBO_LEFT_MASK 0x0100
|
|
|
|
#define TURBO_UP_MASK 0x0200
|
|
|
|
#define TURBO_RIGHT_MASK 0x0400
|
|
|
|
#define TURBO_DOWN_MASK 0x0800
|
|
|
|
|
|
|
|
struct sLanguages {
|
|
|
|
int idMenu;
|
|
|
|
TCHAR *errInitDD;
|
|
|
|
TCHAR *errModeDD;
|
|
|
|
TCHAR *errInitDS;
|
|
|
|
TCHAR *ApplyNeedRestart;
|
|
|
|
TCHAR *errFrameTimer;
|
|
|
|
};
|
|
|
|
|
|
|
|
#define CUSTKEY_ALT_MASK 0x01
|
|
|
|
#define CUSTKEY_CTRL_MASK 0x02
|
|
|
|
#define CUSTKEY_SHIFT_MASK 0x04
|
|
|
|
|
|
|
|
struct SCustomKey {
|
|
|
|
WORD key;
|
|
|
|
WORD modifiers;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct SCustomKeys {
|
|
|
|
SCustomKey SpeedUp;
|
|
|
|
SCustomKey SpeedDown;
|
|
|
|
SCustomKey Pause;
|
|
|
|
SCustomKey FrameAdvance;
|
|
|
|
SCustomKey SkipUp;
|
|
|
|
SCustomKey SkipDown;
|
|
|
|
SCustomKey ScopeTurbo;
|
|
|
|
SCustomKey ScopePause;
|
|
|
|
SCustomKey FrameCount;
|
|
|
|
SCustomKey ReadOnly;
|
|
|
|
SCustomKey Save [10];
|
|
|
|
SCustomKey Load [10];
|
|
|
|
SCustomKey FastForward;
|
2012-08-03 01:05:57 +02:00
|
|
|
SCustomKey FastForwardToggle;
|
2010-09-25 17:46:12 +02:00
|
|
|
SCustomKey ShowPressed;
|
|
|
|
SCustomKey SaveScreenShot;
|
|
|
|
SCustomKey SlotPlus;
|
|
|
|
SCustomKey SlotMinus;
|
|
|
|
SCustomKey SlotSave;
|
|
|
|
SCustomKey SlotLoad;
|
|
|
|
SCustomKey BGL1;
|
|
|
|
SCustomKey BGL2;
|
|
|
|
SCustomKey BGL3;
|
|
|
|
SCustomKey BGL4;
|
|
|
|
SCustomKey BGL5;
|
|
|
|
SCustomKey ClippingWindows;
|
|
|
|
// SCustomKey BGLHack;
|
|
|
|
SCustomKey Transparency;
|
2011-01-16 14:06:43 +01:00
|
|
|
// SCustomKey GLCube;
|
|
|
|
// SCustomKey HDMA;
|
2010-09-25 17:46:12 +02:00
|
|
|
// SCustomKey InterpMode7;
|
|
|
|
SCustomKey JoypadSwap;
|
|
|
|
SCustomKey SwitchControllers;
|
|
|
|
SCustomKey TurboA, TurboB, TurboY, TurboX, TurboL, TurboR, TurboStart, TurboSelect, TurboLeft, TurboUp, TurboRight, TurboDown;
|
|
|
|
SCustomKey SelectSave [10];
|
|
|
|
SCustomKey ResetGame;
|
|
|
|
SCustomKey ToggleCheats;
|
2011-11-12 21:01:46 +01:00
|
|
|
SCustomKey QuitS9X;
|
2012-03-28 00:18:03 +02:00
|
|
|
SCustomKey Rewind;
|
2018-05-05 15:51:45 +02:00
|
|
|
SCustomKey SaveFileSelect;
|
|
|
|
SCustomKey LoadFileSelect;
|
2018-05-05 16:11:00 +02:00
|
|
|
SCustomKey Mute;
|
2010-09-25 17:46:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
struct SJoypad {
|
|
|
|
BOOL Enabled;
|
2011-01-14 00:09:35 +01:00
|
|
|
union {
|
|
|
|
WORD Left;
|
|
|
|
WORD Autohold;
|
|
|
|
};
|
|
|
|
union {
|
|
|
|
WORD Right;
|
|
|
|
WORD ClearAll;
|
|
|
|
};
|
|
|
|
union {
|
|
|
|
WORD Up;
|
|
|
|
WORD TempTurbo;
|
|
|
|
};
|
|
|
|
union {
|
|
|
|
WORD Down;
|
|
|
|
WORD Autofire;
|
|
|
|
};
|
2010-09-25 17:46:12 +02:00
|
|
|
WORD Left_Up;
|
|
|
|
WORD Left_Down;
|
|
|
|
WORD Right_Up;
|
|
|
|
WORD Right_Down;
|
|
|
|
WORD Start;
|
|
|
|
WORD Select;
|
|
|
|
WORD A;
|
|
|
|
WORD B;
|
|
|
|
WORD X;
|
|
|
|
WORD Y;
|
|
|
|
WORD L;
|
|
|
|
WORD R;
|
|
|
|
};
|
|
|
|
|
|
|
|
#define S9X_JOY_NEUTRAL 60
|
|
|
|
|
|
|
|
struct SJoyState{
|
|
|
|
bool Attached;
|
|
|
|
JOYCAPS Caps;
|
|
|
|
int Threshold;
|
|
|
|
bool Left;
|
|
|
|
bool Right;
|
|
|
|
bool Up;
|
|
|
|
bool Down;
|
|
|
|
bool PovLeft;
|
|
|
|
bool PovRight;
|
|
|
|
bool PovUp;
|
|
|
|
bool PovDown;
|
|
|
|
bool PovDnLeft;
|
|
|
|
bool PovDnRight;
|
|
|
|
bool PovUpLeft;
|
|
|
|
bool PovUpRight;
|
|
|
|
bool RUp;
|
|
|
|
bool RDown;
|
|
|
|
bool UUp;
|
|
|
|
bool UDown;
|
|
|
|
bool VUp;
|
|
|
|
bool VDown;
|
|
|
|
bool ZUp;
|
|
|
|
bool ZDown;
|
|
|
|
bool Button[32];
|
|
|
|
};
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
SNES_JOYPAD,
|
|
|
|
SNES_MOUSE,
|
|
|
|
SNES_SUPERSCOPE,
|
|
|
|
SNES_MULTIPLAYER5,
|
|
|
|
SNES_JUSTIFIER,
|
|
|
|
SNES_MOUSE_SWAPPED,
|
|
|
|
SNES_MULTIPLAYER8,
|
|
|
|
SNES_JUSTIFIER_2,
|
2018-06-04 03:45:53 +02:00
|
|
|
SNES_MACSRIFLE,
|
2010-09-25 17:46:12 +02:00
|
|
|
SNES_MAX_CONTROLLER_OPTIONS
|
|
|
|
};
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
void SetInfoDlgColor(unsigned char r, unsigned char g, unsigned char b);
|
|
|
|
|
|
|
|
extern struct sGUI GUI;
|
|
|
|
extern struct sLanguages Languages[];
|
|
|
|
extern struct SJoypad Joypad[16];
|
|
|
|
extern struct SJoypad ToggleJoypadStorage[8];
|
|
|
|
extern struct SJoypad TurboToggleJoypadStorage[8];
|
|
|
|
extern struct SCustomKeys CustomKeys;
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
WIN_SNES9X_DIRECT_SOUND_DRIVER=0,
|
|
|
|
WIN_FMOD_DIRECT_SOUND_DRIVER,
|
|
|
|
WIN_FMOD_WAVE_SOUND_DRIVER,
|
|
|
|
WIN_FMOD_A3D_SOUND_DRIVER,
|
|
|
|
WIN_XAUDIO2_SOUND_DRIVER,
|
|
|
|
WIN_FMODEX_DEFAULT_DRIVER,
|
|
|
|
WIN_FMODEX_ASIO_DRIVER,
|
|
|
|
WIN_FMODEX_OPENAL_DRIVER
|
|
|
|
};
|
|
|
|
|
|
|
|
#define S9X_REG_KEY_BASE MY_REG_KEY
|
|
|
|
#define S9X_REG_KEY_VERSION REG_KEY_VER
|
|
|
|
|
|
|
|
#define EXT_WIDTH (MAX_SNES_WIDTH + 4)
|
|
|
|
#define EXT_PITCH (EXT_WIDTH * 2)
|
|
|
|
#define EXT_HEIGHT (MAX_SNES_HEIGHT + 4)
|
2018-11-01 22:36:31 +01:00
|
|
|
#define EXT_HEIGHT_WITH_CENTERING (EXT_HEIGHT + 16) // extra lines to center non ext height images
|
2010-09-25 17:46:12 +02:00
|
|
|
// Offset into buffer to allow a two pixel border around the whole rendered
|
|
|
|
// SNES image. This is a speed up hack to allow some of the image processing
|
|
|
|
// routines to access black pixel data outside the normal bounds of the buffer.
|
|
|
|
#define EXT_OFFSET (EXT_PITCH * 2 + 2 * 2)
|
2018-11-01 22:36:31 +01:00
|
|
|
#define EXT_OFFSET_WITH_CENTERING (EXT_OFFSET + EXT_PITCH * 16) // same as above
|
2010-09-25 17:46:12 +02:00
|
|
|
|
|
|
|
#define WIN32_WHITE RGB(255,255,255)
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
|
|
|
void S9xSetWinPixelFormat ();
|
|
|
|
//int CheckKey( WORD Key, int OldJoypad);
|
|
|
|
//void TranslateKey(WORD keyz,char *out);
|
|
|
|
|
|
|
|
#define S9X_CONF_FILE_NAME "snes9x.conf"
|
|
|
|
|
|
|
|
const char* GetFilterName(RenderFilter filterID);
|
|
|
|
int GetFilterScale(RenderFilter filterID);
|
|
|
|
bool GetFilterHiResSupport(RenderFilter filterID);
|
2010-09-25 19:35:19 +02:00
|
|
|
const TCHAR * S9xGetDirectoryT (enum s9x_getdirtype);
|
2011-01-14 20:20:05 +01:00
|
|
|
RECT GetWindowMargins(HWND hwnd, UINT width);
|
2010-09-25 17:46:12 +02:00
|
|
|
|
|
|
|
#endif // !defined(SNES9X_H_INCLUDED)
|