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 CD-ROM spin-ups 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 17 of file PreCacheFile.cc.

◆ ~PreCacheFile()

openmsx::PreCacheFile::~PreCacheFile ( )

Definition at line 23 of file PreCacheFile.cc.


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