Merge pull request #3928 from zhaowenlan1779/log-settings

citra_qt: Log settings on launch
This commit is contained in:
Weiyi Wang 2018-07-27 11:22:23 +03:00 committed by GitHub
commit 7babd78a23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 0 deletions

View file

@ -1480,6 +1480,7 @@ int main(int argc, char* argv[]) {
FileUtil::CreateFullPath(FileUtil::GetUserPath(D_LOGS_IDX));
Log::AddBackend(
std::make_unique<Log::FileBackend>(FileUtil::GetUserPath(D_LOGS_IDX) + LOG_FILE));
Settings::LogSettings();
// Register CameraFactory
Camera::RegisterFactory("image", std::make_unique<Camera::StillImageCameraFactory>());