diff --git a/higan/GNUmakefile b/higan/GNUmakefile index ab9565dc..020c149c 100644 --- a/higan/GNUmakefile +++ b/higan/GNUmakefile @@ -2,11 +2,10 @@ include ../nall/GNUmakefile target := tomoko # target := loki -profile := accuracy # console := true flags += -I. -I.. -O3 -objects := libco +objects := libco emulator audio video # profile-guided optimization mode # pgo := instrument @@ -54,6 +53,11 @@ compile = \ all: build; +obj/libco.o: ../libco/libco.c $(call rwildcard,../libco/) +obj/emulator.o: emulator/emulator.cpp $(call rwildcard,emulator/) +obj/audio.o: audio/audio.cpp $(call rwildcard,audio/) +obj/video.o: video/video.cpp $(call rwildcard,video/) + ui := target-$(target) include $(ui)/GNUmakefile diff --git a/higan/audio/audio.cpp b/higan/audio/audio.cpp new file mode 100644 index 00000000..d0c691fb --- /dev/null +++ b/higan/audio/audio.cpp @@ -0,0 +1,5 @@ +#include + +namespace { + +} diff --git a/higan/audio/audio.hpp b/higan/audio/audio.hpp new file mode 100644 index 00000000..bb73278b --- /dev/null +++ b/higan/audio/audio.hpp @@ -0,0 +1,7 @@ +#pragma once + +#include "core.hpp" + +namespace { + +} diff --git a/nall/dsp/buffer.hpp b/higan/audio/buffer.hpp similarity index 100% rename from nall/dsp/buffer.hpp rename to higan/audio/buffer.hpp diff --git a/nall/dsp/core.hpp b/higan/audio/core.hpp similarity index 100% rename from nall/dsp/core.hpp rename to higan/audio/core.hpp diff --git a/nall/dsp/resample/average.hpp b/higan/audio/resample/average.hpp similarity index 100% rename from nall/dsp/resample/average.hpp rename to higan/audio/resample/average.hpp diff --git a/nall/dsp/resample/cosine.hpp b/higan/audio/resample/cosine.hpp similarity index 100% rename from nall/dsp/resample/cosine.hpp rename to higan/audio/resample/cosine.hpp diff --git a/nall/dsp/resample/cubic.hpp b/higan/audio/resample/cubic.hpp similarity index 100% rename from nall/dsp/resample/cubic.hpp rename to higan/audio/resample/cubic.hpp diff --git a/nall/dsp/resample/hermite.hpp b/higan/audio/resample/hermite.hpp similarity index 100% rename from nall/dsp/resample/hermite.hpp rename to higan/audio/resample/hermite.hpp diff --git a/nall/dsp/resample/lib/sinc.hpp b/higan/audio/resample/lib/sinc.hpp similarity index 100% rename from nall/dsp/resample/lib/sinc.hpp rename to higan/audio/resample/lib/sinc.hpp diff --git a/nall/dsp/resample/linear.hpp b/higan/audio/resample/linear.hpp similarity index 100% rename from nall/dsp/resample/linear.hpp rename to higan/audio/resample/linear.hpp diff --git a/nall/dsp/resample/nearest.hpp b/higan/audio/resample/nearest.hpp similarity index 100% rename from nall/dsp/resample/nearest.hpp rename to higan/audio/resample/nearest.hpp diff --git a/nall/dsp/resample/sinc.hpp b/higan/audio/resample/sinc.hpp similarity index 100% rename from nall/dsp/resample/sinc.hpp rename to higan/audio/resample/sinc.hpp diff --git a/nall/dsp/settings.hpp b/higan/audio/settings.hpp similarity index 100% rename from nall/dsp/settings.hpp rename to higan/audio/settings.hpp diff --git a/higan/emulator/GNUmakefile b/higan/emulator/GNUmakefile deleted file mode 100644 index 8b8147bd..00000000 --- a/higan/emulator/GNUmakefile +++ /dev/null @@ -1,3 +0,0 @@ -objects += emulator - -obj/emulator.o: emulator/emulator.cpp $(call rwildcard,emulator/) diff --git a/higan/emulator/emulator.hpp b/higan/emulator/emulator.hpp index e17894b5..075468e6 100644 --- a/higan/emulator/emulator.hpp +++ b/higan/emulator/emulator.hpp @@ -1,23 +1,16 @@ #pragma once #include -#include using namespace nall; +#include