mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +00:00
VITA: Replace system getcwd with old vers.
This commit is contained in:
parent
0e36051d89
commit
2c82bc6288
1 changed files with 7 additions and 0 deletions
|
@ -56,6 +56,13 @@ int _newlib_heap_size_user = 256 * 1024 * 1024;
|
|||
#define MAX_CURDIR_PATH 512
|
||||
char cur_dir[MAX_CURDIR_PATH] = "ux0:data/nzp";
|
||||
int can_use_IME_keyboard = 1;
|
||||
#undef getcwd
|
||||
char *getcwd(char *buf, size_t size) {
|
||||
if (buf != NULL) {
|
||||
strncpy(buf, cur_dir, size);
|
||||
}
|
||||
return cur_dir;
|
||||
}
|
||||
#endif // VITA
|
||||
|
||||
qboolean isDedicated;
|
||||
|
|
Loading…
Reference in a new issue