OldSchool Library
Virtual file sources

Macros

#define VF_AUTO   -2
 Auto-select source.
 

Functions

int oslInitVfsFile ()
 Initializes the file system.
 

Variables

int VF_MEMORY
 Memory-based virtual file source.
 
int VF_FILE
 File-based virtual file source.
 

Detailed Description

Virtual file sources available by default: memory and file.

Macro Definition Documentation

◆ VF_AUTO

#define VF_AUTO   -2

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.

Function Documentation

◆ oslInitVfsFile()

int oslInitVfsFile ( )

Initializes the file system.

This function is automatically called by OSLib during initialization.