mirror of https://github.com/stella-emu/stella.git
Add missing directory separator that sometimes is missing in SQL database file.
This commit is contained in:
parent
35e0cf7a67
commit
dfb64f05a8
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
|
#include "FSNode.hxx"
|
||||||
#include "SqliteDatabase.hxx"
|
#include "SqliteDatabase.hxx"
|
||||||
#include "Logger.hxx"
|
#include "Logger.hxx"
|
||||||
#include "SqliteError.hxx"
|
#include "SqliteError.hxx"
|
||||||
|
@ -25,7 +26,7 @@
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
SqliteDatabase::SqliteDatabase(const string& databaseDirectory,
|
SqliteDatabase::SqliteDatabase(const string& databaseDirectory,
|
||||||
const string& databaseName)
|
const string& databaseName)
|
||||||
: myDatabaseFile{databaseDirectory + databaseName + ".sqlite3"}
|
: myDatabaseFile{FSNode(databaseDirectory).getPath() + databaseName + ".sqlite3"}
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue