mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Create enum class for FileMode
This commit is contained in:
@@ -32,7 +32,7 @@ bool TryClassifyFile(const std::string& path, ClassifiedFileInfo* result)
|
||||
{
|
||||
try
|
||||
{
|
||||
auto fs = OpenRCT2::FileStream(path, OpenRCT2::FILE_MODE_OPEN);
|
||||
auto fs = OpenRCT2::FileStream(path, OpenRCT2::FileMode::open);
|
||||
return TryClassifyFile(&fs, result);
|
||||
}
|
||||
catch (const std::exception&)
|
||||
|
||||
Reference in New Issue
Block a user