all repos — mgba @ 3c18fe162c2c76eca80692d37083f6809bae4c8d

mGBA Game Boy Advance Emulator

src/gba/supervisor/cli.h (view raw)

 1/* Copyright (c) 2013-2015 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 GBA_CLI_H
 7#define GBA_CLI_H
 8
 9#include "debugger/cli-debugger.h"
10
11struct GBAThread;
12
13struct GBACLIDebugger {
14#ifdef USE_CLI_DEBUGGER
15	struct CLIDebuggerSystem d;
16
17	struct GBAThread* context;
18
19	bool frameAdvance;
20	bool inVblank;
21#endif
22};
23
24struct GBACLIDebugger* GBACLIDebuggerCreate(struct GBAThread*);
25
26#endif