From d8a507bef66a13bb712951cde76319adb2ff6e4c Mon Sep 17 00:00:00 2001 From: bladeoner Date: Thu, 16 Aug 2018 21:04:43 +0200 Subject: [PATCH] Fix several file references in the APU folder --- apu/apu.cpp | 10 +++++----- apu/apu.h | 2 +- apu/bapu/dsp/SPC_DSP.cpp | 2 +- apu/bapu/dsp/sdsp.cpp | 2 +- apu/bapu/smp/smp.cpp | 2 +- apu/bapu/smp/smp_state.cpp | 4 ++-- apu/bapu/snes/snes.hpp | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/apu/apu.cpp b/apu/apu.cpp index 63a35392..224eb35b 100644 --- a/apu/apu.cpp +++ b/apu/apu.cpp @@ -190,14 +190,14 @@ ***********************************************************************************/ #include -#include "snes9x.h" +#include "../snes9x.h" #include "apu.h" -#include "msu1.h" -#include "snapshot.h" -#include "display.h" +#include "../msu1.h" +#include "../snapshot.h" +#include "../display.h" #include "hermite_resampler.h" -#include "snes/snes.hpp" +#include "bapu/snes/snes.hpp" #define APU_DEFAULT_INPUT_RATE 31950 // ~ 59.94Hz #define APU_MINIMUM_SAMPLE_COUNT 512 diff --git a/apu/apu.h b/apu/apu.h index fac90a28..33fef91c 100644 --- a/apu/apu.h +++ b/apu/apu.h @@ -193,7 +193,7 @@ #ifndef _APU_H_ #define _APU_H_ -#include "snes9x.h" +#include "../snes9x.h" typedef void (*apu_callback) (void *); diff --git a/apu/bapu/dsp/SPC_DSP.cpp b/apu/bapu/dsp/SPC_DSP.cpp index 719c04b2..65fbebe8 100644 --- a/apu/bapu/dsp/SPC_DSP.cpp +++ b/apu/bapu/dsp/SPC_DSP.cpp @@ -1,6 +1,6 @@ // snes_spc 0.9.0. http://www.slack.net/~ant/ -#include "snes9x.h" +#include "../../../snes9x.h" #include "SPC_DSP.h" diff --git a/apu/bapu/dsp/sdsp.cpp b/apu/bapu/dsp/sdsp.cpp index 0fe01476..64efcba6 100644 --- a/apu/bapu/dsp/sdsp.cpp +++ b/apu/bapu/dsp/sdsp.cpp @@ -1,4 +1,4 @@ -#include +#include "../snes/snes.hpp" #define DSP_CPP namespace SNES { diff --git a/apu/bapu/smp/smp.cpp b/apu/bapu/smp/smp.cpp index bd633c5d..3e0fa334 100644 --- a/apu/bapu/smp/smp.cpp +++ b/apu/bapu/smp/smp.cpp @@ -7,7 +7,7 @@ char tmp[1024]; #endif -#include +#include "../snes/snes.hpp" #define SMP_CPP namespace SNES { diff --git a/apu/bapu/smp/smp_state.cpp b/apu/bapu/smp/smp_state.cpp index fc604a95..5fa99c40 100644 --- a/apu/bapu/smp/smp_state.cpp +++ b/apu/bapu/smp/smp_state.cpp @@ -1,4 +1,4 @@ -#include "snes/snes.hpp" +#include "../snes/snes.hpp" #include typedef struct spc_file { @@ -25,7 +25,7 @@ typedef struct spc_file { namespace SNES { -#include "dsp/blargg_endian.h" +#include "../dsp/blargg_endian.h" void SMP::save_spc (uint8 *block) { spc_file out; diff --git a/apu/bapu/snes/snes.hpp b/apu/bapu/snes/snes.hpp index 017856b8..a86fd176 100644 --- a/apu/bapu/snes/snes.hpp +++ b/apu/bapu/snes/snes.hpp @@ -1,7 +1,7 @@ #ifndef __SNES_HPP #define __SNES_HPP -#include "snes9x.h" +#include "../../../snes9x.h" #define SNES9X