forked from rosebudai/OpenRCT2-Web
Re-enable multithreading on Haiku
This commit is contained in:
1 parent
cb27bc9e57
commit
8bc56a988f
1 file changed
+1
-6
@@ -50,11 +50,6 @@ static constexpr bool kEnlargedUiDefault = true;
|
||||
#else
|
||||
static constexpr bool kEnlargedUiDefault = false;
|
||||
#endif
|
||||
#ifdef __HAIKU__ // Multi-threading is unstable here
|
||||
static constexpr bool kMultiThreadingDefault = false;
|
||||
#else
|
||||
static constexpr bool kMultiThreadingDefault = true;
|
||||
#endif
|
||||
|
||||
namespace OpenRCT2::Config
|
||||
{
|
||||
@@ -243,7 +238,7 @@ namespace OpenRCT2::Config
|
||||
// Always have multi-threading disabled in debug builds, this makes things slower.
|
||||
model->multiThreading = false;
|
||||
#else
|
||||
model->multiThreading = reader->GetBoolean("multithreading", kMultiThreadingDefault);
|
||||
model->multiThreading = reader->GetBoolean("multithreading", true);
|
||||
#endif // _DEBUG
|
||||
model->trapCursor = reader->GetBoolean("trap_cursor", false);
|
||||
model->autoOpenShops = reader->GetBoolean("auto_open_shops", false);
|
||||
|
||||
Reference in new issue
Block a user