mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-10 12:41:47 +00:00
14 lines
307 B
C
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();
|
||
|
}
|