all repos — mgba @ 3283c365da1fffaa08e3ba0046ef452f7f1956ec

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 mPSP2Draw(struct mGUIRunner* runner, bool faded);
20void mPSP2DrawScreenshot(struct mGUIRunner* runner, const uint32_t* pixels, bool faded);
21void mPSP2IncrementScreenMode(struct mGUIRunner* runner);
22uint16_t mPSP2PollInput(struct mGUIRunner* runner);
23
24#endif