all repos — mgba @ 33a9fad209a3f6ef08f34b3f179746960f807f6f

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#include "util/gui.h"
11
12struct mGUIRunner;
13void mPSP2Setup(struct mGUIRunner* runner);
14void mPSP2Teardown(struct mGUIRunner* runner);
15
16void mPSP2LoadROM(struct mGUIRunner* runner);
17void mPSP2UnloadROM(struct mGUIRunner* runner);
18void mPSP2PrepareForFrame(struct mGUIRunner* runner);
19void mPSP2Unpaused(struct mGUIRunner* runner);
20void mPSP2Draw(struct mGUIRunner* runner, bool faded);
21void mPSP2DrawScreenshot(struct mGUIRunner* runner, const uint32_t* pixels, unsigned width, unsigned height, bool faded);
22void mPSP2IncrementScreenMode(struct mGUIRunner* runner);
23uint16_t mPSP2PollInput(struct mGUIRunner* runner);
24
25#endif