all repos — mgba @ 57815667178964641dda561eb5378cedb19d607d

mGBA Game Boy Advance Emulator

include/mgba/internal/gb/cheats.h (view raw)

 1/* Copyright (c) 2013-2016 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#ifndef GB_CHEATS_H
 7#define GB_CHEATS_H
 8
 9#include <mgba-util/common.h>
10
11CXX_GUARD_START
12
13#include <mgba/core/cheats.h>
14
15enum GBCheatType {
16	GB_CHEAT_AUTODETECT,
17	GB_CHEAT_GAMESHARK,
18	GB_CHEAT_GAME_GENIE,
19	GB_CHEAT_VBA
20};
21
22struct mCheatDevice* GBCheatDeviceCreate(void);
23
24CXX_GUARD_END
25
26#endif