1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Add missing #includes to header files

- Multiple header files where missing #includes to other headers that
  where used in the header. Correct header was included in correct
  order in source files which caused everything to compile.
- Added missing #includes so header files correctly include all their
  dependencies and fixes problems with IDEs being unable to parse
  headers correctly due to missing symbols
This commit is contained in:
Lassi Hämäläinen 2018-09-26 01:14:10 +03:00 committed by Ivan
parent 499035512b
commit e9e87b8bd9
115 changed files with 210 additions and 73 deletions

View File

@ -2,6 +2,7 @@
#include "Atomic.h" #include "Atomic.h"
#include <memory> #include <memory>
#include <cstddef>
// Unfinished. Only std::default_delete will work as expected. // Unfinished. Only std::default_delete will work as expected.
template<typename T, typename D> template<typename T, typename D>

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include <type_traits>
template<typename T1, typename T2> struct range_t template<typename T1, typename T2> struct range_t
{ {
T1 _min; // first value T1 _min; // first value

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "types.h"
#include <chrono> #include <chrono>
class Timer class Timer

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "types.h"
namespace utils namespace utils
{ {
// Memory protection type // Memory protection type

View File

@ -1,5 +1,8 @@
#pragma once #pragma once
#include <ctime>
#include <string>
namespace date_time namespace date_time
{ {
static inline tm get_time(time_t* _time) static inline tm get_time(time_t* _time)

View File

@ -1,5 +1,6 @@
#pragma once #pragma once
#include <stdint.h>
#include "Utilities/types.h"
namespace rpcs3 namespace rpcs3
{ {
@ -47,4 +48,4 @@ namespace rpcs3
return hash_struct_base<T, u8>(value); return hash_struct_base<T, u8>(value);
} }
} }

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Utilities/types.h"
#include <string> #include <string>
#include <vector> #include <vector>
#include <memory> #include <memory>

View File

@ -6,6 +6,8 @@
#include "utils.h" #include "utils.h"
#include "Utilities/File.h"
constexpr u32 SDAT_FLAG = 0x01000000; constexpr u32 SDAT_FLAG = 0x01000000;
constexpr u32 EDAT_COMPRESSED_FLAG = 0x00000001; constexpr u32 EDAT_COMPRESSED_FLAG = 0x00000001;
constexpr u32 EDAT_FLAG_0x02 = 0x00000002; constexpr u32 EDAT_FLAG_0x02 = 0x00000002;

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Utilities/BEType.h"
// Constants // Constants
enum enum
{ {

View File

@ -3,6 +3,10 @@
#include "key_vault.h" #include "key_vault.h"
#include "zlib.h" #include "zlib.h"
#include "Utilities/types.h"
#include "Utilities/File.h"
#include "Utilities/Log.h"
struct AppInfo struct AppInfo
{ {
u64 authid; u64 authid;

View File

@ -1,5 +1,8 @@
#pragma once #pragma once
#include "Utilities/types.h"
#include "Utilities/File.h"
struct WAVHeader struct WAVHeader
{ {
struct RIFFHeader struct RIFFHeader

View File

@ -1,5 +1,8 @@
#pragma once #pragma once
#include <string>
#include "Utilities/StrFmt.h"
enum CPUDisAsmMode enum CPUDisAsmMode
{ {
CPUDisAsm_DumpMode, CPUDisAsm_DumpMode,

View File

@ -16,12 +16,12 @@
#endif #endif
#include "define_new_memleakdetect.h" #include "define_new_memleakdetect.h"
#include "../Utilities/types.h" #include "Utilities/types.h"
#include "../Utilities/StrFmt.h" #include "Utilities/StrFmt.h"
#include "../Utilities/BEType.h" #include "Utilities/BEType.h"
#include "../Utilities/BitField.h" #include "Utilities/BitField.h"
#include "../Utilities/Log.h" #include "Utilities/Log.h"
#include "../Utilities/JIT.h" #include "Utilities/JIT.h"
#include <unordered_map> #include <unordered_map>
#include <map> #include <map>

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Utilities/types.h"
// Floating-point rounding mode (for both PPU and SPU) // Floating-point rounding mode (for both PPU and SPU)
enum FPSCR_RN enum FPSCR_RN
{ {

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Utilities/types.h"
enum CellNotAnError : s32 enum CellNotAnError : s32
{ {
CELL_OK = 0, CELL_OK = 0,

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Utilities/types.h"
enum MFC : u8 enum MFC : u8
{ {
MFC_PUT_CMD = 0x20, MFC_PUTB_CMD = 0x21, MFC_PUTF_CMD = 0x22, MFC_PUT_CMD = 0x20, MFC_PUTB_CMD = 0x21, MFC_PUTF_CMD = 0x22,

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Error Codes // Error Codes
enum enum

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Return Codes // Return Codes
enum enum

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Return Codes // Return Codes
enum enum

View File

@ -1,5 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
#include "Utilities/Thread.h" #include "Utilities/Thread.h"
#include "Emu/Memory/vm.h" #include "Emu/Memory/vm.h"
#include "Emu/Audio/AudioBackend.h" #include "Emu/Audio/AudioBackend.h"

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Utilities/BEType.h"
// Error codes // Error codes
enum enum

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Return Codes // Return Codes
enum enum
{ {

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Error Codes // Error Codes
enum enum

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Return Codes // Return Codes
enum CellFiberError : u32 enum CellFiberError : u32

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Error codes // Error codes
enum enum

View File

@ -2,7 +2,7 @@
#include "cellFont.h" #include "cellFont.h"
#include "Emu/Memory/vm_ptr.h"
struct CellFontLibraryConfigFT struct CellFontLibraryConfigFT
{ {

View File

@ -1,6 +1,7 @@
#pragma once #pragma once
#include "Emu/Cell/lv2/sys_fs.h" #include "Emu/Cell/lv2/sys_fs.h"
#include "Emu/Memory/vm_ptr.h"
// CellFsRingBuffer.copy // CellFsRingBuffer.copy
enum : s32 enum : s32

View File

@ -2,7 +2,7 @@
#include "Emu/Cell/ErrorCodes.h" #include "Emu/Cell/ErrorCodes.h"
#include "Emu/Memory/vm_ptr.h"
// Return Codes // Return Codes
enum enum

View File

@ -1,6 +1,7 @@
#pragma once #pragma once
#include "Emu/RSX/GCM.h" #include "Emu/RSX/GCM.h"
#include "Emu/Memory/vm_ptr.h"
enum enum
{ {

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Utilities/BEType.h"
static const float CELL_GEM_SPHERE_RADIUS_MM = 22.5f; static const float CELL_GEM_SPHERE_RADIUS_MM = 22.5f;

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Return Codes // Return Codes
enum enum

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// libHttp_Util: 0x80711001 - 0x807110ff // libHttp_Util: 0x80711001 - 0x807110ff

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
typedef vm::ptr<void> CellImeJpHandle; typedef vm::ptr<void> CellImeJpHandle;

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Utilities/BEType.h"
//Return Codes //Return Codes
enum enum

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Utilities/BEType.h"
enum CellKbError : u32 enum CellKbError : u32
{ {
CELL_KB_ERROR_FATAL = 0x80121001, CELL_KB_ERROR_FATAL = 0x80121001,

View File

@ -1,5 +1,6 @@
#pragma once #pragma once
#include "Utilities/BEType.h"
#include "Utilities/Thread.h" #include "Utilities/Thread.h"
// Error Codes // Error Codes

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Utilities/BEType.h"
enum enum
{ {

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Error Codes // Error Codes
enum enum
{ {

View File

@ -1,6 +1,8 @@
#pragma once #pragma once
#include "cellGame.h"
#include "Emu/Memory/vm_ptr.h"
// Error Codes // Error Codes
enum CellNetCtlError : u32 enum CellNetCtlError : u32

View File

@ -1,6 +1,7 @@
#pragma once #pragma once
#include "Emu/Io/PadHandler.h" #include "Emu/Io/PadHandler.h"
#include "Utilities/BEType.h"
#include <array> #include <array>
enum CellPadError : u32 enum CellPadError : u32

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Error Codes // Error Codes
enum enum

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
enum CellPngTxtType : s32 enum CellPngTxtType : s32
{ {

View File

@ -1,8 +1,11 @@
#pragma once #pragma once
#include "cellPng.h" #include "cellPng.h"
#include "Emu/Memory/vm_ptr.h"
#include "png.h"
enum : u32 enum : u32
{ {
PNGDEC_CODEC_VERSION = 0x00420000, PNGDEC_CODEC_VERSION = 0x00420000,
@ -345,4 +348,4 @@ class LibPngCustomException : public std::runtime_error
{ {
public: public:
LibPngCustomException(char const* const message) : runtime_error(message) {} LibPngCustomException(char const* const message) : runtime_error(message) {}
}; };

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Utilities/BEType.h"
enum enum
{ {

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Utilities/BEType.h"
// Return Codes // Return Codes
enum enum

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Return Codes // Return Codes
enum enum

View File

@ -2,7 +2,7 @@
#include "cellVpost.h" #include "cellVpost.h"
#include "Emu/Memory/vm_ptr.h"
// Error Codes // Error Codes
enum enum

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Return Codes // Return Codes
enum enum
{ {

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Error Codes // Error Codes
enum CellSearchError : u32 enum CellSearchError : u32
{ {

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
enum CellSpudllError : u32 enum CellSpudllError : u32
{ {
CELL_SPUDLL_ERROR_INVAL = 0x80410602, CELL_SPUDLL_ERROR_INVAL = 0x80410602,

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Utilities/BEType.h"
// Return Codes // Return Codes
enum CellSubDisplayError : u32 enum CellSubDisplayError : u32

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
#include "Utilities/BitField.h" #include "Utilities/BitField.h"
// Return Codes // Return Codes

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Return Codes // Return Codes
enum CellSync2Error : u32 enum CellSync2Error : u32

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
typedef void(CellSysconfCallback)(s32 result, vm::ptr<void> userdata); typedef void(CellSysconfCallback)(s32 result, vm::ptr<void> userdata);

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
enum CellSysutilError : u32 enum CellSysutilError : u32
{ {

View File

@ -1,6 +1,8 @@
#pragma once #pragma once
#include "sceNp2.h"
#include "Emu/Memory/vm_ptr.h"
// Error codes // Error codes
enum CellSysutilAvc2Error : u32 enum CellSysutilAvc2Error : u32

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Error Codes // Error Codes
enum CellUserInfoError : u32 enum CellUserInfoError : u32

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Utilities/BEType.h"
// Error Codes // Error Codes
enum enum

View File

@ -1,9 +1,9 @@
#pragma once #pragma once
#include "Emu/Cell/ErrorCodes.h" #include "Emu/Cell/ErrorCodes.h"
#include "Emu/Memory/vm_ptr.h"
// Video Out Error Codes // Video Out Error Codes
enum CellVideoOutError : u32 enum CellVideoOutError : u32
{ {

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
struct CellVideoUploadOption struct CellVideoUploadOption
{ {
be_t<s32> type; be_t<s32> type;

View File

@ -5,7 +5,7 @@ extern "C"
#include "libswscale/swscale.h" #include "libswscale/swscale.h"
} }
#include "Utilities/BEType.h"
// Error Codes // Error Codes
enum enum

View File

@ -2,6 +2,8 @@
#include "cellSysutil.h" #include "cellSysutil.h"
#include "Emu/Memory/vm_ptr.h"
//events //events
enum CellWebBrowserEvent : s32 enum CellWebBrowserEvent : s32
{ {

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Error Codes // Error Codes
enum enum

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Error Codes // Error Codes
enum enum

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Utilities/BEType.h"
// Error Codes // Error Codes
enum enum
{ {

View File

@ -1,9 +1,9 @@
#pragma once #pragma once
#include "cellRtc.h" #include "cellRtc.h"
#include "Utilities/BEType.h"
// Error Codes // Error Codes
enum enum
{ {
@ -696,4 +696,4 @@ struct SceNpSignalingNetInfo
}; };
// NP signaling callback function // NP signaling callback function
typedef void(*SceNpSignalingHandler)(u32 ctx_id, u32 subject_id, s32 event, s32 error_code, u32 arg_addr); typedef void(*SceNpSignalingHandler)(u32 ctx_id, u32 subject_id, s32 event, s32 error_code, u32 arg_addr);

View File

@ -1,6 +1,8 @@
#pragma once #pragma once
#include "sceNp.h"
#include "Emu/Memory/vm_ptr.h"
// Error codes // Error codes
enum enum
@ -1504,4 +1506,4 @@ struct SceNpMatching2CbQueueInfo
be_t<u32> curSessionMsgCbQueueLen; be_t<u32> curSessionMsgCbQueueLen;
be_t<u32> maxSessionMsgCbQueueLen; be_t<u32> maxSessionMsgCbQueueLen;
u8 reserved[12]; u8 reserved[12];
}; };

View File

@ -1,6 +1,8 @@
#pragma once #pragma once
#include "sceNp.h"
#include "Utilities/BEType.h"
// Return codes // Return codes
enum enum

View File

@ -1,9 +1,9 @@
#pragma once #pragma once
#include "cellRtc.h" #include "cellRtc.h"
#include "Utilities/BEType.h"
// Return codes // Return codes
enum enum
{ {

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
// Return codes // Return codes
enum sceNpSnsError : u32 enum sceNpSnsError : u32

View File

@ -1,8 +1,9 @@
#pragma once #pragma once
#include "Utilities/BEType.h"
#include "cellRtc.h" #include "cellRtc.h"
#include "sceNp.h"
// Constants for TUS functions and structures // Constants for TUS functions and structures
enum enum
@ -47,4 +48,4 @@ struct SceNpTusDataStatus
be_t<u32> dataSize; be_t<u32> dataSize;
u8 pad[4]; u8 pad[4];
SceNpTusDataInfo info; SceNpTusDataInfo info;
}; };

View File

@ -1,6 +1,7 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
#include "Emu/Cell/ErrorCodes.h"
using spu_printf_cb_t = vm::ptr<s32(u32 arg)>; using spu_printf_cb_t = vm::ptr<s32(u32 arg)>;

View File

@ -9,6 +9,8 @@
#include "Emu/Cell/lv2/sys_lwcond.h" #include "Emu/Cell/lv2/sys_lwcond.h"
#include "Emu/Cell/lv2/sys_event_flag.h" #include "Emu/Cell/lv2/sys_event_flag.h"
#include "Emu/Memory/vm_ptr.h"
// Error Codes // Error Codes

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Utilities/types.h"
// SPU Instruction Type // SPU Instruction Type
struct spu_itype struct spu_itype
{ {

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "../../../Utilities/BitField.h" #include "Utilities/BitField.h"
union spu_opcode_t union spu_opcode_t
{ {

View File

@ -4,6 +4,8 @@
#include "Emu/Cell/SPUInterpreter.h" #include "Emu/Cell/SPUInterpreter.h"
#include "Emu/Memory/vm.h" #include "Emu/Memory/vm.h"
#include "MFC.h" #include "MFC.h"
#include "Emu/Memory/vm.h"
#include "Utilities/BEType.h"
#include <map> #include <map>

View File

@ -1,6 +1,7 @@
#pragma once #pragma once
#include "sys_sync.h" #include "sys_sync.h"
#include "sys_mutex.h"
struct lv2_mutex; struct lv2_mutex;

View File

@ -2,6 +2,8 @@
#include "sys_sync.h" #include "sys_sync.h"
#include "Emu/Memory/vm_ptr.h"
class cpu_thread; class cpu_thread;
// Event Queue Type // Event Queue Type

View File

@ -2,6 +2,8 @@
#include "sys_sync.h" #include "sys_sync.h"
#include "Emu/Memory/vm_ptr.h"
enum enum
{ {
SYS_SYNC_WAITER_SINGLE = 0x10000, SYS_SYNC_WAITER_SINGLE = 0x10000,

View File

@ -2,6 +2,7 @@
#include "Emu/Memory/vm_ptr.h" #include "Emu/Memory/vm_ptr.h"
#include "Emu/Cell/ErrorCodes.h" #include "Emu/Cell/ErrorCodes.h"
#include "Utilities/File.h"
// Open Flags // Open Flags
enum : s32 enum : s32

View File

@ -2,6 +2,8 @@
#include "sys_sync.h" #include "sys_sync.h"
#include "Emu/Memory/vm_ptr.h"
class ppu_thread; class ppu_thread;
struct lv2_int_tag final : lv2_obj struct lv2_int_tag final : lv2_obj

View File

@ -2,6 +2,8 @@
#include "sys_sync.h" #include "sys_sync.h"
#include "Emu/Memory/vm_ptr.h"
struct sys_lwmutex_t; struct sys_lwmutex_t;
struct sys_lwcond_attribute_t struct sys_lwcond_attribute_t

View File

@ -2,6 +2,8 @@
#include "sys_sync.h" #include "sys_sync.h"
#include "Emu/Memory/vm_ptr.h"
struct sys_lwmutex_attribute_t struct sys_lwmutex_attribute_t
{ {
be_t<u32> protocol; be_t<u32> protocol;

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
#include "Emu/Cell/ErrorCodes.h" #include "Emu/Cell/ErrorCodes.h"
#include "Emu/Memory/vm_ptr.h"
#include "Emu/IdManager.h" #include "Emu/IdManager.h"
enum : u32 enum : u32

View File

@ -1,9 +1,11 @@
#pragma once #pragma once
#include "sys_sync.h" #include "sys_sync.h"
#include <vector>
#include "Emu/Memory/vm_ptr.h" #include "Emu/Memory/vm_ptr.h"
#include <vector>
struct lv2_memory_container; struct lv2_memory_container;
struct lv2_memory : lv2_obj struct lv2_memory : lv2_obj

View File

@ -2,6 +2,8 @@
#include "sys_sync.h" #include "sys_sync.h"
#include "Emu/Memory/vm_ptr.h"
struct sys_mutex_attribute_t struct sys_mutex_attribute_t
{ {
be_t<u32> protocol; // SYS_SYNC_FIFO, SYS_SYNC_PRIORITY or SYS_SYNC_PRIORITY_INHERIT be_t<u32> protocol; // SYS_SYNC_FIFO, SYS_SYNC_PRIORITY or SYS_SYNC_PRIORITY_INHERIT

View File

@ -3,6 +3,8 @@
#include "Utilities/bit_set.h" #include "Utilities/bit_set.h"
#include "Utilities/mutex.h" #include "Utilities/mutex.h"
#include "Emu/Memory/vm_ptr.h"
#include <vector> #include <vector>
#include <utility> #include <utility>
#include <functional> #include <functional>

View File

@ -1,8 +1,10 @@
#pragma once #pragma once
#include "Emu/Cell/PPUAnalyser.h"
#include "sys_sync.h" #include "sys_sync.h"
#include "Emu/Cell/PPUAnalyser.h"
#include "Emu/Memory/vm_ptr.h"
// Return codes // Return codes
enum CellPrxError : u32 enum CellPrxError : u32
{ {

View File

@ -1,4 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm_ptr.h"
#include "Emu/Memory/vm_ptr.h" #include "Emu/Memory/vm_ptr.h"

View File

@ -2,6 +2,8 @@
#include "sys_sync.h" #include "sys_sync.h"
#include "Emu/Memory/vm_ptr.h"
struct sys_rwlock_attribute_t struct sys_rwlock_attribute_t
{ {
be_t<u32> protocol; be_t<u32> protocol;

View File

@ -2,6 +2,8 @@
#include "sys_sync.h" #include "sys_sync.h"
#include "Emu/Memory/vm_ptr.h"
struct sys_semaphore_attribute_t struct sys_semaphore_attribute_t
{ {
be_t<u32> protocol; be_t<u32> protocol;

View File

@ -3,6 +3,9 @@
#include "sys_event.h" #include "sys_event.h"
#include "Emu/Cell/SPUThread.h" #include "Emu/Cell/SPUThread.h"
#include "Emu/Memory/vm_ptr.h"
#include "Utilities/File.h"
enum : s32 enum : s32
{ {
SYS_SPU_THREAD_GROUP_TYPE_NORMAL = 0x00, SYS_SPU_THREAD_GROUP_TYPE_NORMAL = 0x00,

View File

@ -1,6 +1,6 @@
#pragma once #pragma once
#include "Emu/Memory/vm.h" #include "Emu/Memory/vm_ptr.h"
#include "Emu/Cell/ErrorCodes.h" #include "Emu/Cell/ErrorCodes.h"
struct CellSsOpenPSID struct CellSsOpenPSID

View File

@ -1,6 +1,10 @@
#pragma once #pragma once
#include "sys_event.h"
#include "Utilities/Thread.h" #include "Utilities/Thread.h"
#include "Emu/Memory/vm_ptr.h"
// Timer State // Timer State
enum : u32 enum : u32

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Utilities/types.h"
// SysCalls // SysCalls
s32 sys_trace_create(); s32 sys_trace_create();
s32 sys_trace_start(); s32 sys_trace_start();

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Utilities/types.h"
struct GameInfo struct GameInfo
{ {
std::string path; std::string path;

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#include "Utilities/types.h"
#include <mutex> #include <mutex>
// TODO: HLE info (constants, structs, etc.) should not be available here // TODO: HLE info (constants, structs, etc.) should not be available here

View File

@ -4,6 +4,8 @@
#include "GLSLTypes.h" #include "GLSLTypes.h"
#include "ShaderParam.h" #include "ShaderParam.h"
#include "Utilities/StrFmt.h"
namespace program_common namespace program_common
{ {
static void insert_compare_op(std::ostream& OS, bool low_precision) static void insert_compare_op(std::ostream& OS, bool low_precision)
@ -810,4 +812,4 @@ namespace glsl
return "TEX2D_DEPTH_RGBA8($_i, $0.xy)"; return "TEX2D_DEPTH_RGBA8($_i, $0.xy)";
} }
} }
} }

View File

@ -7,6 +7,7 @@
#include "Utilities/GSL.h" #include "Utilities/GSL.h"
#include "Utilities/hash.h" #include "Utilities/hash.h"
#include "Utilities/mutex.h" #include "Utilities/mutex.h"
#include "Utilities/Log.h"
#include <deque> #include <deque>

View File

@ -4,6 +4,7 @@
#include <vector> #include <vector>
#include "Utilities/StrUtil.h" #include "Utilities/StrUtil.h"
#include "Utilities/types.h"
enum class FUNCTION { enum class FUNCTION {
FUNCTION_DP2, FUNCTION_DP2,

Some files were not shown because too many files have changed in this diff Show More