/* Copyright (c) 2013-2016 Jeffrey Pfau * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "GBAOverride.h" extern "C" { #include "core/core.h" } using namespace QGBA; void GBAOverride::apply(struct mCore* core) { if (core->platform(core) != PLATFORM_GBA) { return; } GBAOverrideApply(static_cast(core->board), &override); } void GBAOverride::save(struct Configuration* config) const { GBAOverrideSave(config, &override); }