fixes editor warnings about undefined types in a bunch of files

This commit is contained in:
Valtýr Kári Daníelsson
2022-07-27 18:20:31 +02:00
committed by Nadia Holmquist Pedersen
parent 457dd56b88
commit 98903f8076
16 changed files with 26 additions and 3 deletions

View File

@ -20,6 +20,7 @@
#define ARMJIT_REGCACHE_H #define ARMJIT_REGCACHE_H
#include "ARMJIT.h" #include "ARMJIT.h"
#include "ARMJIT_Internal.h"
// TODO: replace this in the future // TODO: replace this in the future
#include "dolphin/BitSet.h" #include "dolphin/BitSet.h"
@ -41,7 +42,7 @@ public:
{ {
for (int i = 0; i < 16; i++) for (int i = 0; i < 16; i++)
Mapping[i] = (Reg)-1; Mapping[i] = (Reg)-1;
PCAllocatableAsSrc = ~(pcAllocatableAsSrc PCAllocatableAsSrc = ~(pcAllocatableAsSrc
? 0 ? 0
: (1 << 15)); : (1 << 15));

View File

@ -20,6 +20,7 @@
#define DMA_H #define DMA_H
#include "types.h" #include "types.h"
#include "Savestate.h"
class DMA class DMA
{ {

View File

@ -19,6 +19,8 @@
#ifndef DMA_TIMINGS_H #ifndef DMA_TIMINGS_H
#define DMA_TIMINGS_H #define DMA_TIMINGS_H
#include "types.h"
namespace DMATiming namespace DMATiming
{ {

View File

@ -20,6 +20,7 @@
#define DSI_AES_H #define DSI_AES_H
#include "types.h" #include "types.h"
#include "Savestate.h"
namespace DSi_AES namespace DSi_AES
{ {

View File

@ -20,6 +20,7 @@
#define DSI_CAMERA_H #define DSI_CAMERA_H
#include "types.h" #include "types.h"
#include "Savestate.h"
class DSi_Camera class DSi_Camera
{ {

View File

@ -19,6 +19,9 @@
#ifndef DSI_DSP_H #ifndef DSI_DSP_H
#define DSI_DSP_H #define DSI_DSP_H
#include "types.h"
#include "Savestate.h"
// TODO: for actual sound output // TODO: for actual sound output
// * audio callbacks // * audio callbacks
// * SNDEXCNT // * SNDEXCNT

View File

@ -20,6 +20,7 @@
#define DSI_I2C_H #define DSI_I2C_H
#include "types.h" #include "types.h"
#include "Savestate.h"
namespace DSi_BPTWL namespace DSi_BPTWL
{ {

View File

@ -20,6 +20,7 @@
#define DSI_NDMA_H #define DSI_NDMA_H
#include "types.h" #include "types.h"
#include "Savestate.h"
class DSi_NDMA class DSi_NDMA
{ {

View File

@ -21,6 +21,7 @@
#include "DSi_SD.h" #include "DSi_SD.h"
#include "FIFO.h" #include "FIFO.h"
#include "Savestate.h"
class DSi_NWifi : public DSi_SDDevice class DSi_NWifi : public DSi_SDDevice
{ {

View File

@ -19,10 +19,10 @@
#ifndef DSI_SD_H #ifndef DSI_SD_H
#define DSI_SD_H #define DSI_SD_H
#include <string.h> #include <cstring>
#include "FIFO.h" #include "FIFO.h"
#include "FATStorage.h" #include "FATStorage.h"
#include "Savestate.h"
class DSi_SDDevice; class DSi_SDDevice;

View File

@ -19,6 +19,9 @@
#ifndef DSI_SPI_TSC #ifndef DSI_SPI_TSC
#define DSI_SPI_TSC #define DSI_SPI_TSC
#include "types.h"
#include "Savestate.h"
namespace DSi_SPI_TSC namespace DSi_SPI_TSC
{ {

View File

@ -20,6 +20,7 @@
#define FIFO_H #define FIFO_H
#include "types.h" #include "types.h"
#include "Savestate.h"
template<typename T, u32 NumEntries> template<typename T, u32 NumEntries>
class FIFO class FIFO

View File

@ -22,6 +22,7 @@
#include <string> #include <string>
#include "types.h" #include "types.h"
#include "Savestate.h"
#include "NDS_Header.h" #include "NDS_Header.h"
#include "FATStorage.h" #include "FATStorage.h"

View File

@ -19,6 +19,8 @@
#ifndef ROMLIST_H #ifndef ROMLIST_H
#define ROMLIST_H #define ROMLIST_H
#include "types.h"
struct ROMListEntry struct ROMListEntry
{ {
u32 GameCode; u32 GameCode;

View File

@ -19,6 +19,8 @@
#ifndef WIFIAP_H #ifndef WIFIAP_H
#define WIFIAP_H #define WIFIAP_H
#include "types.h"
namespace WifiAP namespace WifiAP
{ {

View File

@ -19,6 +19,8 @@
#ifndef MELONDLDI_H #ifndef MELONDLDI_H
#define MELONDLDI_H #define MELONDLDI_H
#include "types.h"
const u8 melonDLDI[] = const u8 melonDLDI[] =
{ {
0xED, 0xA5, 0x8D, 0xBF, 0x20, 0x43, 0x68, 0x69, 0x73, 0x68, 0x6D, 0x00, 0x01, 0x09, 0x00, 0x00, 0xED, 0xA5, 0x8D, 0xBF, 0x20, 0x43, 0x68, 0x69, 0x73, 0x68, 0x6D, 0x00, 0x01, 0x09, 0x00, 0x00,