Move framebuffer_layout from Common to Core

This removes a dependency inversion between core and common. It's also
the proper place for the file since it makes screen layout decisions
specific to the 3DS.
This commit is contained in:
Yuri Kunde Schlesner 2017-05-27 16:10:25 -07:00
parent ec8dfc8fb7
commit d1bf7919da
5 changed files with 4 additions and 4 deletions

View file

@ -27,7 +27,6 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.cpp.in" "${CMAKE_CURRENT_SOU
set(SRCS
break_points.cpp
file_util.cpp
framebuffer_layout.cpp
hash.cpp
logging/filter.cpp
logging/text_formatter.cpp
@ -56,7 +55,6 @@ set(HEADERS
common_paths.h
common_types.h
file_util.h
framebuffer_layout.h
hash.h
linear_disk_cache.h
logging/text_formatter.h

View file

@ -32,6 +32,7 @@ set(SRCS
frontend/camera/factory.cpp
frontend/camera/interface.cpp
frontend/emu_window.cpp
frontend/framebuffer_layout.cpp
frontend/motion_emu.cpp
gdbstub/gdbstub.cpp
hle/config_mem.cpp
@ -216,6 +217,7 @@ set(HEADERS
frontend/camera/factory.h
frontend/camera/interface.h
frontend/emu_window.h
frontend/framebuffer_layout.h
frontend/input.h
frontend/motion_emu.h
gdbstub/gdbstub.h

View file

@ -8,8 +8,8 @@
#include <tuple>
#include <utility>
#include "common/common_types.h"
#include "common/framebuffer_layout.h"
#include "common/math_util.h"
#include "core/frontend/framebuffer_layout.h"
/**
* Abstraction class used to provide an interface between emulation code and the frontend

View file

@ -5,7 +5,7 @@
#include <cmath>
#include "common/assert.h"
#include "common/framebuffer_layout.h"
#include "core/frontend/framebuffer_layout.h"
#include "core/settings.h"
#include "video_core/video_core.h"