mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
libsuperderpy.h: Include <psp2/power.h> on Vita
This is used by libsuperderpy itself and bunch of games will want to use it as well in order to set CPU/GPU clocks, so let's make it simpler.
This commit is contained in:
parent
398527918e
commit
e6ee232759
2 changed files with 2 additions and 4 deletions
|
@ -64,6 +64,8 @@ struct GamestateResources;
|
|||
#elif defined(__EMSCRIPTEN__)
|
||||
#include <emscripten/emscripten.h>
|
||||
#include <emscripten/html5.h>
|
||||
#elif defined(__vita__)
|
||||
#include <psp2/power.h>
|
||||
#endif
|
||||
|
||||
#include "character.h"
|
||||
|
|
|
@ -19,10 +19,6 @@
|
|||
|
||||
#include "internal.h"
|
||||
|
||||
#ifdef __vita__
|
||||
#include <psp2/power.h>
|
||||
#endif
|
||||
|
||||
static inline bool HandleEvent(struct Game* game, ALLEGRO_EVENT* ev) {
|
||||
switch (ev->type) {
|
||||
case ALLEGRO_EVENT_DISPLAY_HALT_DRAWING:
|
||||
|
|
Loading…
Reference in a new issue