Skip to content

Commit

Permalink
SwapToFileIO
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtrujy committed Dec 11, 2023
1 parent 2ff1be1 commit 1e4a354
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ee/libcglue/include/file-advanced.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ static inline void swapToFileXio() {
__usingFileXIO = 1;
}

static inline void swapToFileIO() {
fileXioExit();
__usingFileXIO = 0;
}

#define FILE_SWAP_PS2SDK_FUNCTIONS() \
uint8_t __usingFileXIO = 0; \
int __fileXioGetstatHelper(const char *path, struct stat *buf); \
Expand Down

0 comments on commit 1e4a354

Please sign in to comment.