mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: whereami: update from our downstream fork (only cosmetic changes)
This commit is contained in:
parent
377dd9a255
commit
3a0f1763fb
@ -795,9 +795,9 @@ int WAI_PREFIX(getModulePath)(char* out, int capacity, int* dirname_length)
|
|||||||
return length;
|
return length;
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined(__sgi) || defined(__SWITCH__) || defined(__vita__)
|
#elif defined(__sgi)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* These functions are stubbed for now to get the code compiling.
|
* These functions are stubbed for now to get the code compiling.
|
||||||
* In the future it may be possible to get these working in some way.
|
* In the future it may be possible to get these working in some way.
|
||||||
* Current ideas are checking the working directory for a binary with
|
* Current ideas are checking the working directory for a binary with
|
||||||
@ -813,13 +813,29 @@ int WAI_PREFIX(getModulePath)(char* out, int capacity, int* dirname_length)
|
|||||||
WAI_FUNCSPEC
|
WAI_FUNCSPEC
|
||||||
int WAI_PREFIX(getExecutablePath)(char* out, int capacity, int* dirname_length)
|
int WAI_PREFIX(getExecutablePath)(char* out, int capacity, int* dirname_length)
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
WAI_FUNCSPEC
|
WAI_FUNCSPEC
|
||||||
int WAI_PREFIX(getModulePath)(char* out, int capacity, int* dirname_length)
|
int WAI_PREFIX(getModulePath)(char* out, int capacity, int* dirname_length)
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#elif defined(__SWITCH__) || defined(__vita__)
|
||||||
|
|
||||||
|
/* Not possible on this platform */
|
||||||
|
|
||||||
|
WAI_FUNCSPEC
|
||||||
|
int WAI_PREFIX(getExecutablePath)(char* out, int capacity, int* dirname_length)
|
||||||
|
{
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
WAI_FUNCSPEC
|
||||||
|
int WAI_PREFIX(getModulePath)(char* out, int capacity, int* dirname_length)
|
||||||
|
{
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user