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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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