Remove unused includes and clean up header files

This commit is contained in:
scawful
2025-01-16 03:44:37 -05:00
parent d9cc92edca
commit c8883a1e54
30 changed files with 21 additions and 120 deletions

View File

@@ -2,8 +2,6 @@
#include <cstring>
#include "app/emu/memory/memory.h"
namespace yaze {
namespace emu {

View File

@@ -2,12 +2,8 @@
#define YAZE_APP_EMU_AUDIO_S_DSP_H
#include <cstdint>
#include <functional>
#include <vector>
#include "app/emu/audio/spc700.h"
#include "app/emu/memory/memory.h"
namespace yaze {
namespace emu {

View File

@@ -6,6 +6,7 @@
#include <sstream>
#include <vector>
#include "app/core/common.h"
#include "app/emu/cpu/internal/opcodes.h"
namespace yaze {

View File

@@ -3,13 +3,9 @@
#include <algorithm>
#include <cstdint>
#include <iostream>
#include <unordered_map>
#include <vector>
#include "app/core/common.h"
#include "app/emu/cpu/clock.h"
#include "app/emu/cpu/internal/opcodes.h"
#include "app/emu/memory/memory.h"
namespace yaze {
@@ -797,7 +793,6 @@ class Cpu {
};
} // namespace emu
} // namespace yaze
#endif // YAZE_APP_EMU_CPU_H_
#endif // YAZE_APP_EMU_CPU_H_

View File

@@ -185,5 +185,4 @@ uint16_t Cpu::StackRelative() {
}
} // namespace emu
} // namespace yaze
} // namespace yaze

View File

@@ -1,16 +1,8 @@
#include <iostream>
#include <string>
#include <vector>
#include "app/emu/cpu/cpu.h"
namespace yaze {
namespace emu {
/**
* 65816 Instruction Set
*/
void Cpu::And(uint32_t low, uint32_t high) {
if (GetAccumulatorSize()) {
CheckInt();
@@ -397,5 +389,4 @@ void Cpu::ORA(uint32_t low, uint32_t high) {
}
} // namespace emu
} // namespace yaze
} // namespace yaze

View File

@@ -5,6 +5,7 @@
#include "app/core/platform/file_dialog.h"
#include "app/core/platform/renderer.h"
#include "app/emu/cpu/internal/opcodes.h"
#include "app/gui/icons.h"
#include "app/gui/input.h"
#include "app/gui/zeml.h"