Add platform-specific source for Apple and clean up includes in SNES header

This commit is contained in:
scawful
2024-11-27 16:39:20 -05:00
parent 97b3a8638a
commit 039d64c539
2 changed files with 6 additions and 6 deletions

View File

@@ -11,6 +11,11 @@ add_executable(
${IMGUI_SRC}
)
if (APPLE)
list(APPEND YAZE_APP_CORE_SRC
app/core/platform/app_delegate.mm)
endif()
target_include_directories(
yaze_emu PUBLIC
lib/

View File

@@ -2,17 +2,12 @@
#define YAZE_APP_EMU_SNES_H
#include <cstdint>
#include <memory>
#include <string>
#include <thread>
#include "app/emu/audio/apu.h"
#include "app/emu/audio/spc700.h"
#include "app/emu/cpu/clock.h"
#include "app/emu/cpu/cpu.h"
#include "app/emu/memory/memory.h"
#include "app/emu/video/ppu.h"
#include "app/rom.h"
namespace yaze {
namespace app {
@@ -139,4 +134,4 @@ class SNES {
} // namespace app
} // namespace yaze
#endif // YAZE_APP_EMU_SNES_H
#endif // YAZE_APP_EMU_SNES_H