all repos — mgba @ e4aed77f1e9405c64afefaaff4f929388c7c7e54

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