2012-11-15 00:39:56 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
2014-04-15 16:12:15 +02:00
|
|
|
#ifdef MSVC_CRT_MEMLEAK_DETECTION
|
|
|
|
|
#define _CRTDBG_MAP_ALLOC
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <crtdbg.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
2014-05-02 08:30:32 +02:00
|
|
|
/* size of statically declared array */
|
|
|
|
|
#define SARRSIZEOF(array) (sizeof(array)/sizeof(array[0]))
|
2012-11-15 00:39:56 +01:00
|
|
|
|
2014-05-02 08:30:32 +02:00
|
|
|
#define NOMINMAX
|
2013-11-27 20:16:19 +01:00
|
|
|
#ifndef QT_UI
|
2014-05-02 08:30:32 +02:00
|
|
|
#include <wx/wxprec.h>
|
2014-02-23 17:52:52 +01:00
|
|
|
#include <wx/config.h>
|
2014-02-10 02:13:13 +01:00
|
|
|
#include <wx/string.h>
|
2012-11-15 00:39:56 +01:00
|
|
|
#include <wx/propdlg.h>
|
|
|
|
|
#include <wx/stdpaths.h>
|
|
|
|
|
#include <wx/filename.h>
|
2014-02-23 17:52:52 +01:00
|
|
|
#include <wx/filefn.h>
|
|
|
|
|
#include <wx/dcclient.h>
|
2012-11-15 00:39:56 +01:00
|
|
|
|
|
|
|
|
#include <wx/wfstream.h>
|
|
|
|
|
#include <wx/dir.h>
|
|
|
|
|
#include <wx/spinctrl.h>
|
2013-11-09 02:27:37 +01:00
|
|
|
#include <wx/datetime.h>
|
2012-11-15 00:39:56 +01:00
|
|
|
#include <wx/filepicker.h>
|
2014-02-23 17:52:52 +01:00
|
|
|
#include <wx/menu.h>
|
2014-02-10 02:13:13 +01:00
|
|
|
#include <wx/menuitem.h>
|
2014-02-23 17:52:52 +01:00
|
|
|
#include <wx/stattext.h>
|
|
|
|
|
#include <wx/msgdlg.h>
|
|
|
|
|
#include "wx/gauge.h"
|
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
|
#include "wx/scrolbar.h"
|
|
|
|
|
#include "wx/frame.h"
|
|
|
|
|
#include <wx/combobox.h>
|
|
|
|
|
#include <wx/checkbox.h>
|
|
|
|
|
#include "wx/app.h"
|
2014-06-02 19:27:24 +02:00
|
|
|
#include <wx/timer.h>
|
2014-05-02 08:30:32 +02:00
|
|
|
#include <wx/listctrl.h>
|
2014-06-17 17:44:03 +02:00
|
|
|
#include <wx/aui/auibook.h>
|
2013-11-27 20:16:19 +01:00
|
|
|
#endif
|
2012-11-15 00:39:56 +01:00
|
|
|
|
2014-04-15 16:12:15 +02:00
|
|
|
#ifdef MSVC_CRT_MEMLEAK_DETECTION
|
|
|
|
|
#ifdef _DEBUG
|
|
|
|
|
#ifndef DBG_NEW
|
|
|
|
|
#define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
|
|
|
|
|
#define new DBG_NEW
|
|
|
|
|
#endif
|
|
|
|
|
#endif // _DEBUG
|
|
|
|
|
#endif // MSVC_CRT_MEMLEAK_DETECTION
|
|
|
|
|
|
2014-07-08 18:26:31 +02:00
|
|
|
// This header should be frontend-agnostic, so don't assume wx includes everything
|
|
|
|
|
#include <cstdio>
|
|
|
|
|
#include <cstring>
|
|
|
|
|
#include <cassert>
|
2013-11-19 11:30:58 +01:00
|
|
|
#include <cstdint>
|
|
|
|
|
|
2013-06-30 10:46:29 +02:00
|
|
|
typedef unsigned int uint;
|
2012-11-15 00:39:56 +01:00
|
|
|
|
2013-11-19 11:30:58 +01:00
|
|
|
typedef uint8_t u8;
|
|
|
|
|
typedef uint16_t u16;
|
|
|
|
|
typedef uint32_t u32;
|
|
|
|
|
typedef uint64_t u64;
|
2012-11-15 00:39:56 +01:00
|
|
|
|
2013-11-19 11:30:58 +01:00
|
|
|
typedef int8_t s8;
|
|
|
|
|
typedef int16_t s16;
|
|
|
|
|
typedef int32_t s32;
|
|
|
|
|
typedef int64_t s64;
|
2012-11-15 00:39:56 +01:00
|
|
|
|
|
|
|
|
enum Status
|
|
|
|
|
{
|
2013-08-12 11:56:56 +02:00
|
|
|
Running,
|
2012-11-15 00:39:56 +01:00
|
|
|
Paused,
|
|
|
|
|
Stopped,
|
2013-06-30 10:46:29 +02:00
|
|
|
Ready,
|
2012-11-15 00:39:56 +01:00
|
|
|
};
|
|
|
|
|
|
2014-06-17 17:44:03 +02:00
|
|
|
#include "Utilities/StrFmt.h"
|
|
|
|
|
#include "Utilities/Log.h"
|
2013-10-06 14:07:42 +02:00
|
|
|
#include "Utilities/BEType.h"
|
2014-05-02 08:30:32 +02:00
|
|
|
#include "Utilities/rFile.h"
|
|
|
|
|
#include "Utilities/rTime.h"
|
|
|
|
|
#include "Utilities/rXml.h"
|
|
|
|
|
#include "Utilities/rConcurrency.h"
|
|
|
|
|
#include "Utilities/rMsgBox.h"
|
|
|
|
|
#include "Utilities/rPlatform.h"
|
2012-11-15 00:39:56 +01:00
|
|
|
#include "Utilities/Thread.h"
|
|
|
|
|
#include "Utilities/Array.h"
|
|
|
|
|
#include "Utilities/Timer.h"
|
|
|
|
|
#include "Utilities/IdManager.h"
|
|
|
|
|
|
2014-06-08 23:02:20 +02:00
|
|
|
#include "Gui/FrameBase.h"
|
2013-11-09 22:29:49 +01:00
|
|
|
#include "Emu/System.h"
|
2014-05-02 08:30:32 +02:00
|
|
|
#include "Emu/SysCalls/Callback.h"
|
|
|
|
|
#include "Emu/DbgCommand.h"
|
2013-06-30 10:46:29 +02:00
|
|
|
#include "Emu/Cell/PPUThread.h"
|
2014-04-10 00:54:32 +02:00
|
|
|
#include "Emu/SysCalls/SC_FUNC.h"
|
2014-02-23 17:52:52 +01:00
|
|
|
#include "Emu/SysCalls/Modules.h"
|
|
|
|
|
|
2013-06-30 10:46:29 +02:00
|
|
|
|
2014-02-09 22:53:48 +01:00
|
|
|
#include "Emu/FS/vfsDirBase.h"
|
2013-06-30 10:46:29 +02:00
|
|
|
#include "Emu/FS/vfsFileBase.h"
|
2014-02-09 22:53:48 +01:00
|
|
|
#include "Emu/FS/vfsLocalDir.h"
|
2013-06-30 10:46:29 +02:00
|
|
|
#include "Emu/FS/vfsLocalFile.h"
|
|
|
|
|
#include "Emu/FS/vfsStream.h"
|
|
|
|
|
#include "Emu/FS/vfsStreamMemory.h"
|
2014-02-16 16:19:06 +01:00
|
|
|
#include "Emu/FS/vfsFile.h"
|
|
|
|
|
#include "Emu/FS/vfsDir.h"
|
2014-07-08 18:26:31 +02:00
|
|
|
#ifndef QT_UI
|
2012-11-15 00:39:56 +01:00
|
|
|
#include "rpcs3.h"
|
2014-07-08 18:26:31 +02:00
|
|
|
#endif
|
2012-11-15 00:39:56 +01:00
|
|
|
|
|
|
|
|
#define _PRGNAME_ "RPCS3"
|
2013-09-03 19:26:31 +02:00
|
|
|
#define _PRGVER_ "0.0.0.4"
|