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 GBAGUIRunner;
13void GBAPSP2Setup(struct GBAGUIRunner* runner);
14void GBAPSP2Teardown(struct GBAGUIRunner* runner);
15
16void GBAPSP2LoadROM(struct GBAGUIRunner* runner);
17void GBAPSP2UnloadROM(struct GBAGUIRunner* runner);
18void GBAPSP2PrepareForFrame(struct GBAGUIRunner* runner);
19void GBAPSP2Draw(struct GBAGUIRunner* runner, bool faded);
20void GBAPSP2IncrementScreenMode(struct GBAGUIRunner* runner);
21uint16_t GBAPSP2PollInput(struct GBAGUIRunner* runner);
22
23#endif