Add Debugger interface, RoomObject class

- Log instructions to debugger using experiment flag
- Use BitmapManager for more functionality
- Draw framebuffer and integrated debugger
This commit is contained in:
scawful
2023-11-13 14:51:01 -05:00
parent 75ef4fd9b0
commit 299770922c
27 changed files with 740 additions and 234 deletions

24
test/room_object_test.cc Normal file
View File

@@ -0,0 +1,24 @@
#include "app/zelda3/dungeon/room_object.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "app/emu/cpu.h"
#include "app/emu/memory/mock_memory.h"
#include "app/emu/video/ppu.h"
#include "app/gfx/bitmap.h"
#include "app/rom.h"
namespace yaze {
namespace test {
TEST(DungeonObjectTest, RenderObjectsAsBitmaps) {
app::ROM rom;
rom.LoadFromFile("/Users/scawful/Code/yaze/build/bin/zelda3.sfc");
app::zelda3::dungeon::DungeonObjectRenderer renderer;
}
} // namespace test
} // namespace yaze