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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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"
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user