nxdumptool/source/util.c
2018-05-15 18:00:19 +02:00

14 lines
No EOL
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();
}