mgba/src/platform/psp2/psp2-context.h

26 lines
911 B
C
Raw Normal View History

/* Copyright (c) 2013-2015 Jeffrey Pfau
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef PSP2_CONTEXT_H
#define PSP2_CONTEXT_H
#include "psp2-common.h"
2015-09-02 04:51:14 +00:00
#include "util/gui.h"
2016-02-07 21:47:12 +00:00
struct mGUIRunner;
2016-02-26 08:52:42 +00:00
void mPSP2Setup(struct mGUIRunner* runner);
void mPSP2Teardown(struct mGUIRunner* runner);
2016-02-26 08:52:42 +00:00
void mPSP2LoadROM(struct mGUIRunner* runner);
void mPSP2UnloadROM(struct mGUIRunner* runner);
void mPSP2PrepareForFrame(struct mGUIRunner* runner);
void mPSP2Unpaused(struct mGUIRunner* runner);
2016-02-26 08:52:42 +00:00
void mPSP2Draw(struct mGUIRunner* runner, bool faded);
void mPSP2DrawScreenshot(struct mGUIRunner* runner, const uint32_t* pixels, bool faded);
void mPSP2IncrementScreenMode(struct mGUIRunner* runner);
uint16_t mPSP2PollInput(struct mGUIRunner* runner);
#endif