Add platform-specific source for Apple and clean up includes in SNES header
This commit is contained in:
@@ -11,6 +11,11 @@ add_executable(
|
|||||||
${IMGUI_SRC}
|
${IMGUI_SRC}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (APPLE)
|
||||||
|
list(APPEND YAZE_APP_CORE_SRC
|
||||||
|
app/core/platform/app_delegate.mm)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_include_directories(
|
target_include_directories(
|
||||||
yaze_emu PUBLIC
|
yaze_emu PUBLIC
|
||||||
lib/
|
lib/
|
||||||
|
|||||||
@@ -2,17 +2,12 @@
|
|||||||
#define YAZE_APP_EMU_SNES_H
|
#define YAZE_APP_EMU_SNES_H
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <memory>
|
|
||||||
#include <string>
|
|
||||||
#include <thread>
|
|
||||||
|
|
||||||
#include "app/emu/audio/apu.h"
|
#include "app/emu/audio/apu.h"
|
||||||
#include "app/emu/audio/spc700.h"
|
|
||||||
#include "app/emu/cpu/clock.h"
|
#include "app/emu/cpu/clock.h"
|
||||||
#include "app/emu/cpu/cpu.h"
|
#include "app/emu/cpu/cpu.h"
|
||||||
#include "app/emu/memory/memory.h"
|
#include "app/emu/memory/memory.h"
|
||||||
#include "app/emu/video/ppu.h"
|
#include "app/emu/video/ppu.h"
|
||||||
#include "app/rom.h"
|
|
||||||
|
|
||||||
namespace yaze {
|
namespace yaze {
|
||||||
namespace app {
|
namespace app {
|
||||||
@@ -139,4 +134,4 @@ class SNES {
|
|||||||
} // namespace app
|
} // namespace app
|
||||||
} // namespace yaze
|
} // namespace yaze
|
||||||
|
|
||||||
#endif // YAZE_APP_EMU_SNES_H
|
#endif // YAZE_APP_EMU_SNES_H
|
||||||
|
|||||||
Reference in New Issue
Block a user