all repos — mgba @ 73b58ec7c43f70f899147bbc1ef83e0ea2a4f0a6

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/rr/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*);