openMSX
Public Member Functions | List of all members
openmsx::PreCacheFile Class Referencefinal

Read the complete file once and discard result. More...

#include <PreCacheFile.hh>

Public Member Functions

 PreCacheFile (std::string name)
 
 ~PreCacheFile ()
 

Detailed Description

Read the complete file once and discard result.

Hopefully the file sticks in the OS cache. Mainly useful to avoid CDROM spinups or to speed up real floppy disk (/dev/fd0) reads.

Definition at line 15 of file PreCacheFile.hh.

Constructor & Destructor Documentation

◆ PreCacheFile()

openmsx::PreCacheFile::PreCacheFile ( std::string  name)
explicit

Definition at line 9 of file PreCacheFile.cc.

◆ ~PreCacheFile()

openmsx::PreCacheFile::~PreCacheFile ( )

The documentation for this class was generated from the following files: