1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-11-10 12:41:47 +00:00
nxdumptool/source/util.c

14 lines
307 B
C
Raw Normal View History

2018-05-15 17:00:19 +01:00
#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();
}