all repos — mgba @ 58ff10457d5be4ba4f9b90a0e92562278c2197ef

mGBA Game Boy Advance Emulator

src/platform/psp2/psp2-context.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 PSP2_CONTEXT_H
 7#define PSP2_CONTEXT_H
 8
 9#include "psp2-common.h"
10
11struct GBAGUIRunner;
12void GBAPSP2Setup(struct GBAGUIRunner* runner);
13void GBAPSP2Teardown(struct GBAGUIRunner* runner);
14
15void GBAPSP2LoadROM(struct GBAGUIRunner* runner);
16void GBAPSP2UnloadROM(struct GBAGUIRunner* runner);
17void GBAPSP2PrepareForFrame(struct GBAGUIRunner* runner);
18void GBAPSP2Draw(struct GBAGUIRunner* runner, bool faded);
19uint16_t GBAPSP2PollInput(struct GBAGUIRunner* runner);
20
21#endif