all repos — mgba @ 22245617f434049f4646916d1b2930d376503b0d

mGBA Game Boy Advance Emulator

src/gba/rr/vbm.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#include "util/common.h"
 7
 8#include "gba/supervisor/rr.h"
 9
10struct GBAVBMContext {
11	struct GBARRContext d;
12
13	bool isPlaying;
14
15	struct VFile* vbmFile;
16	int32_t inputOffset;
17};
18
19void GBAVBMContextCreate(struct GBAVBMContext*);
20
21bool GBAVBMSetStream(struct GBAVBMContext*, struct VFile*);