1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-09-20 05:53:25 +01:00
nxdumptool/source/util.c
2018-05-15 18:00:19 +02:00

14 lines
307 B
C

#include "util.h"
#include "fsext.h"
bool isGameCardInserted(FsDeviceOperator* o) {
bool inserted;
if (R_FAILED(fsDeviceOperatorIsGameCardInserted(o, &inserted)))
return false;
return inserted;
}
void syncDisplay() {
gfxFlushBuffers();
gfxSwapBuffers();
gfxWaitForVsync();
}