Replace direct file access with VFS routines

This commit is contained in:
jdgleaver
2021-10-20 16:31:45 +01:00
parent 5ad90107b6
commit 499f1c04de
44 changed files with 5853 additions and 575 deletions

View File

@@ -41,9 +41,6 @@ typedef unsigned __int64 uint64;
#define GINLINE /* Can't declare a function INLINE
* and global in MSVC. Bummer.
*/
#define PSS_STYLE 2 /* Does MSVC compile for anything
* other than Windows/DOS targets?
*/
#else
typedef unsigned long long uint64;
typedef long long int64;
@@ -62,29 +59,6 @@ typedef long long int64;
#endif
#endif
#if PSS_STYLE == 2
#define PSS "\\"
#define PS '\\'
#elif PSS_STYLE == 1
#define PSS "/"
#define PS '/'
#elif PSS_STYLE == 3
#define PSS "\\"
#define PS '\\'
#elif PSS_STYLE == 4
#define PSS ":"
#define PS ':'
#endif
#ifdef __GNUC__
#ifdef C80x86
#define FASTAPASS(x) __attribute__((regparm(x)))