mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-02 03:35:09 +01:00
Move path related functions to Context.cpp
- rct2_init_directories - get_file_path
This commit is contained in:
@@ -595,13 +595,6 @@ private:
|
||||
Console::Error::WriteLine("Unable to save highscores to '%s'", path.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
static utf8 * GetRCT2Directory(utf8 * buffer, size_t bufferSize)
|
||||
{
|
||||
String::Set(buffer, bufferSize, gRCT2AddressAppPath);
|
||||
Path::Append(buffer, bufferSize, "Scenarios");
|
||||
return buffer;
|
||||
}
|
||||
};
|
||||
|
||||
static ScenarioRepository * _scenarioRepository;
|
||||
|
||||
Reference in New Issue
Block a user