Reorganize emu cpu directory
This commit is contained in:
@@ -22,9 +22,9 @@ add_executable(
|
||||
../src/cli/patch.cc
|
||||
../src/cli/command_handler.cc
|
||||
../src/app/rom.cc
|
||||
../src/app/emu/cpu.cc
|
||||
../src/app/emu/cpu/instructions.cc
|
||||
../src/app/emu/cpu/addressing.cc
|
||||
../src/app/emu/cpu/cpu.cc
|
||||
../src/app/emu/cpu/internal/instructions.cc
|
||||
../src/app/emu/cpu/internal/addressing.cc
|
||||
../src/app/emu/audio/internal/addressing.cc
|
||||
../src/app/emu/audio/apu.cc
|
||||
../src/app/emu/video/ppu.cc
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#include "app/emu/cpu.h"
|
||||
#include "app/emu/cpu/cpu.h"
|
||||
|
||||
#include <gmock/gmock.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "app/emu/clock.h"
|
||||
#include "app/emu/internal/asm_parser.h"
|
||||
#include "app/emu/internal/opcodes.h"
|
||||
#include "app/emu/cpu/clock.h"
|
||||
#include "app/emu/cpu/internal/opcodes.h"
|
||||
#include "app/emu/debug/asm_parser.h"
|
||||
#include "app/emu/memory/memory.h"
|
||||
#include "app/emu/memory/mock_memory.h"
|
||||
|
||||
@@ -4172,7 +4172,6 @@ TEST_F(CPUTest, XCESwitchBackAndForth) {
|
||||
EXPECT_FALSE(cpu.E); // Emulation mode flag should be cleared
|
||||
}
|
||||
|
||||
|
||||
} // namespace emu
|
||||
} // namespace app
|
||||
} // namespace yaze
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <gmock/gmock.h>
|
||||
|
||||
#include "app/emu/clock.h"
|
||||
#include "app/emu/cpu/clock.h"
|
||||
#include "app/emu/memory/memory.h"
|
||||
#include "app/emu/memory/mock_memory.h"
|
||||
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
#include <gmock/gmock.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "app/emu/cpu.h"
|
||||
#include "app/emu/cpu/cpu.h"
|
||||
#include "app/emu/memory/memory.h"
|
||||
#include "app/emu/memory/mock_memory.h"
|
||||
#include "app/emu/video/ppu.h"
|
||||
#include "app/gfx/bitmap.h"
|
||||
@@ -14,10 +15,10 @@ namespace test {
|
||||
|
||||
TEST(DungeonObjectTest, RenderObjectsAsBitmaps) {
|
||||
app::ROM rom;
|
||||
rom.LoadFromFile("/Users/scawful/Code/yaze/build/bin/zelda3.sfc");
|
||||
// rom.LoadFromFile("/Users/scawful/Code/yaze/build/bin/zelda3.sfc"));
|
||||
// EXPECT_EQ(rom_status, absl::Status::ok());
|
||||
|
||||
app::zelda3::dungeon::DungeonObjectRenderer renderer;
|
||||
|
||||
}
|
||||
|
||||
} // namespace test
|
||||
|
||||
Reference in New Issue
Block a user