openMSX
|
#include <DiskFactory.hh>
Public Member Functions | |
DiskFactory (Reactor &reactor) | |
std::unique_ptr< Disk > | createDisk (const std::string &diskImage, DiskChanger &diskChanger) |
Definition at line 14 of file DiskFactory.hh.
|
explicit |
Definition at line 20 of file DiskFactory.cc.
References openmsx::DirAsDSK::SYNC_FULL, and openmsx::DirAsDSK::SYNC_READONLY.
std::unique_ptr< Disk > openmsx::DiskFactory::createDisk | ( | const std::string & | diskImage, |
DiskChanger & | diskChanger | ||
) |
Definition at line 37 of file DiskFactory.cc.
References openmsx::filename, openmsx::Reactor::getCliComm(), openmsx::EnumSetting< T >::getEnum(), openmsx::File::PRE_CACHE, utf8::unchecked::substr(), and openmsx::userFileContext().