/* 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/. */ #ifndef M_CPU_H #define M_CPU_H #include "util/common.h" enum mCPUComponentType { CPU_COMPONENT_DEBUGGER, CPU_COMPONENT_CHEAT_DEVICE, CPU_COMPONENT_MAX }; struct mCPUComponent { uint32_t id; void (*init)(void* cpu, struct mCPUComponent* component); void (*deinit)(struct mCPUComponent* component); }; #endif