all repos — mgba @ 00e8b9877f76420e1e85c34cc2a156d1a52b8a30

mGBA Game Boy Advance Emulator

src/platform/switch/memory.c (view raw)

 1/* Copyright (c) 2013-2018 Jeffrey Pfau
 2 *
 3 * This Source Code Form is subject to the terms of the Mozilla Public
 4 * License, v. 2.0. If a copy of the MPL was not distributed with this
 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 6#include <mgba-util/memory.h>
 7
 8void* anonymousMemoryMap(size_t size) {
 9	return malloc(size);
10}
11
12void mappedMemoryFree(void* memory, size_t size) {
13	UNUSED(size);
14	free(memory);
15}