HLE: move config_mem to kernel
ConfigMem is initialized in kernel and only used by kernel. It is also likely how it works on real 3DS
This commit is contained in:
		| @@ -103,8 +103,6 @@ add_library(core STATIC | ||||
|     hle/applets/mint.h | ||||
|     hle/applets/swkbd.cpp | ||||
|     hle/applets/swkbd.h | ||||
|     hle/config_mem.cpp | ||||
|     hle/config_mem.h | ||||
|     hle/function_wrappers.h | ||||
|     hle/ipc.h | ||||
|     hle/ipc_helpers.h | ||||
| @@ -114,6 +112,8 @@ add_library(core STATIC | ||||
|     hle/kernel/client_port.h | ||||
|     hle/kernel/client_session.cpp | ||||
|     hle/kernel/client_session.h | ||||
|     hle/kernel/config_mem.cpp | ||||
|     hle/kernel/config_mem.h | ||||
|     hle/kernel/errors.h | ||||
|     hle/kernel/event.cpp | ||||
|     hle/kernel/event.h | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include <cstring> | ||||
| #include "core/hle/config_mem.h" | ||||
| #include "core/hle/kernel/config_mem.h" | ||||
| 
 | ||||
| ////////////////////////////////////////////////////////////////////////////////////////////////////
 | ||||
| 
 | ||||
| @@ -2,7 +2,7 @@ | ||||
| // Licensed under GPLv2 or any later version | ||||
| // Refer to the license.txt file included. | ||||
|  | ||||
| #include "core/hle/config_mem.h" | ||||
| #include "core/hle/kernel/config_mem.h" | ||||
| #include "core/hle/kernel/handle_table.h" | ||||
| #include "core/hle/kernel/kernel.h" | ||||
| #include "core/hle/kernel/memory.h" | ||||
|   | ||||
| @@ -12,7 +12,7 @@ | ||||
| #include "common/common_types.h" | ||||
| #include "common/logging/log.h" | ||||
| #include "core/core.h" | ||||
| #include "core/hle/config_mem.h" | ||||
| #include "core/hle/kernel/config_mem.h" | ||||
| #include "core/hle/kernel/memory.h" | ||||
| #include "core/hle/kernel/vm_manager.h" | ||||
| #include "core/hle/result.h" | ||||
|   | ||||
| @@ -5,7 +5,6 @@ | ||||
| #include <algorithm> | ||||
| #include "common/assert.h" | ||||
| #include "common/logging/log.h" | ||||
| #include "core/hle/config_mem.h" | ||||
| #include "core/hle/kernel/errors.h" | ||||
| #include "core/hle/kernel/kernel.h" | ||||
| #include "core/hle/kernel/memory.h" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user