core: Fix no-pch build

This commit is contained in:
TellowKrinkle 2020-11-23 21:25:47 -06:00 committed by Kojin
parent 559f93f353
commit e50efceb62
16 changed files with 44 additions and 15 deletions

View File

@ -15,6 +15,8 @@
#pragma once
#include "Utilities/Dependencies.h"
// pxUSE_SECURE_MALLOC - enables bounds checking on scoped malloc allocations.
#ifndef pxUSE_SECURE_MALLOC

View File

@ -15,6 +15,8 @@
#pragma once
#include <wx/event.h>
wxDECLARE_EVENT(pxEvt_StartIdleEventTimer, wxCommandEvent);
wxDECLARE_EVENT(pxEvt_DeleteObject, wxCommandEvent);
wxDECLARE_EVENT(pxEvt_DeleteThread, wxCommandEvent);

View File

@ -15,6 +15,8 @@
#pragma once
#include "Utilities/Dependencies.h"
enum x86VendorType {
x86Vendor_Intel = 0,
x86Vendor_AMD = 1,

View File

@ -17,6 +17,10 @@
#include "x86emitter/tools.h"
#include "Utilities/FixedPointTypes.h"
#include "Utilities/General.h"
#include <wx/filename.h>
class IniInterface;
enum PluginsEnum_t

View File

@ -15,6 +15,8 @@
#pragma once
#include "Utilities/Path.h"
enum FoldersEnum_t
{
// FIXME : Plugins and Settings folders are no longer part of the user-local

View File

@ -18,9 +18,11 @@
#define PLUGINtypedefs
#define PLUGINfuncs
#include "Config.h"
#include "PS2Edefs.h"
#include "PluginCallbacks.h"
#include <Utilities/MemcpyFast.h>
#include "Utilities/Threading.h"
#include <wx/dynlib.h>

View File

@ -15,11 +15,12 @@
#pragma once
#include "platcompat.h"
#include <wx/string.h>
#include <vector>
#include <string>
#include <map>
#include <sstream>
#include "platcompat.h"
#define RESULT_CANCELED 0
#define RESULT_OK 1

View File

@ -13,12 +13,13 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include "../configuration.h"
#include "../deviceproxy.h"
#include "../usb-pad/padproxy.h"
#include "../usb-mic/audiodeviceproxy.h"
#include "config.h"
#include "Utilities/Console.h"
void SysMessage_stderr(const char* fmt, ...)
{

View File

@ -13,6 +13,13 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "cam-linux.h"
#include "usb-eyetoy-webcam.h"
#include "jpgd/jpgd.h"
#include "jo_mpeg.h"
#include "../gtk.h"
#include "Utilities/Console.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -28,13 +35,6 @@
#include <linux/videodev2.h>
#include "../gtk.h"
#include "cam-linux.h"
#include "usb-eyetoy-webcam.h"
#include "jpgd/jpgd.h"
#include "jo_mpeg.h"
GtkWidget* new_combobox(const char* label, GtkWidget* vbox); // src/linux/config-gtk.cpp
#define CLEAR(x) memset(&(x), 0, sizeof(x))

View File

@ -14,13 +14,14 @@
*/
#pragma once
#include "../usb-hid.h"
#include "../../linux/util.h"
#include "Utilities/Console.h"
#include <linux/input.h>
#include <unistd.h>
#include <dirent.h>
#include <thread>
#include <atomic>
#include "../usb-hid.h"
namespace usb_hid
{

View File

@ -17,6 +17,7 @@
#include "../linux/ini.h"
#include "../configuration.h"
#include "../gtk.h"
#include "Utilities/Console.h"
namespace usb_msd
{

View File

@ -14,14 +14,15 @@
*/
#pragma once
#include "evdev-ff.h"
#include "shared.h"
#include "../../linux/util.h"
#include "../../readerwriterqueue/readerwriterqueue.h"
#include "Utilities/Console.h"
//#include <dirent.h> //gtk.h pulls in?
#include <thread>
#include <array>
#include <atomic>
#include "evdev-ff.h"
#include "shared.h"
#include "../../readerwriterqueue/readerwriterqueue.h"
namespace usb_pad
{

View File

@ -14,9 +14,10 @@
*/
#include "joydev.h"
#include "../../linux/util.h"
#include "Utilities/Console.h"
#include <cassert>
#include <sstream>
#include "../../linux/util.h"
namespace usb_pad
{

View File

@ -17,6 +17,7 @@
#include "../../linux/util.h"
#include "../evdev/evdev-ff.h"
#include "../evdev/shared.h"
#include "Utilities/Console.h"
namespace usb_pad
{

View File

@ -16,8 +16,14 @@
#pragma once
#include "AppForwardDefs.h"
#include "Config.h"
#include "PathDefs.h"
#include "CDVD/CDVDaccess.h"
#include "Utilities/General.h"
#include "Utilities/Path.h"
#include <wx/colour.h>
#include <wx/gdicmn.h>
#include <memory>
enum DocsModeType

View File

@ -17,6 +17,8 @@
#include "Utilities/PersistentThread.h"
#include "Utilities/pxEvents.h"
#include <wx/timer.h>
#include <memory>
// TODO!! Make the system defined in this header system a bit more generic, and then move