From 1cf93ca0a01b07ba57a9d29484741c749be976fc Mon Sep 17 00:00:00 2001 From: Christian Speckner Date: Wed, 6 Jan 2021 21:12:11 +0100 Subject: [PATCH] Attempt at fixing R77 crash. --- src/common/repository/sqlite/StellaDb.cxx | 1 + src/unix/r77/OSystemR77.cxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/repository/sqlite/StellaDb.cxx b/src/common/repository/sqlite/StellaDb.cxx index bb4317b87..bcc33fff4 100644 --- a/src/common/repository/sqlite/StellaDb.cxx +++ b/src/common/repository/sqlite/StellaDb.cxx @@ -77,6 +77,7 @@ void StellaDb::initialize() mySettingsRepository = make_unique(); myPropertyRepository = make_unique(); + myHighscoreRepository = make_unique(); myDb.reset(); myPropertyRepositoryHost.reset(); diff --git a/src/unix/r77/OSystemR77.cxx b/src/unix/r77/OSystemR77.cxx index 112821c37..350b3247f 100644 --- a/src/unix/r77/OSystemR77.cxx +++ b/src/unix/r77/OSystemR77.cxx @@ -21,5 +21,5 @@ void OSystemR77::getBaseDirectories(string& basedir, string& homeDir, bool, const string&) { - basedir = homeDir = "/mnt/stella"; + basedir = homeDir = "/mnt/stella/"; }