|
| #define | VF_AUTO -2 |
| | Auto-select source.
|
| |
|
|
int | VF_MEMORY |
| | Memory-based virtual file source.
|
| |
|
int | VF_FILE |
| | File-based virtual file source.
|
| |
Virtual file sources available by default: memory and file.
◆ VF_AUTO
Auto-select source.
This option uses the current file list to find whether the file name exists in it. If the file is not found, it uses the currently active source.
◆ oslInitVfsFile()
Initializes the file system.
This function is automatically called by OSLib during initialization.
◆ oslSetDefaultVirtualFileSource()
| static void oslSetDefaultVirtualFileSource |
( |
int |
source | ) |
|
|
inlinestatic |
Sets the default virtual file source.
OSLib will search in the current file list to determine if the file exists and is of a different type.
- Parameters
-
| source | The default source (e.g., VF_FILE, VF_MEMORY, or any registered virtual file source). |