From c4878ec4b40388950ff6122d01d1eabec23d42b0 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sat, 8 Jul 2023 16:38:44 +0300 Subject: [PATCH] Update comments Co-Authored-By: Mireille <13669774+fleroviux@users.noreply.github.com> --- include/config.hpp | 2 +- src/config.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/config.hpp b/include/config.hpp index 51584b9b..bdb697bf 100644 --- a/include/config.hpp +++ b/include/config.hpp @@ -1,7 +1,7 @@ #pragma once #include -// Remember to initialize everything field here to its default value otherwise bad things will happen +// Remember to initialize every field here to its default value otherwise bad things will happen struct EmulatorConfig { bool shaderJitEnabled = false; diff --git a/src/config.cpp b/src/config.cpp index 845774d9..9964c1c7 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -6,6 +6,8 @@ #include "toml.hpp" // Largely based on https://github.com/nba-emu/NanoBoyAdvance/blob/master/src/platform/core/src/config.cpp +// We are legally allowed, as per the author's wish, to use the above code without any licensing restrictions +// However we still want to follow the license as closely as possible and offer the proper attributions. void EmulatorConfig::load(const std::filesystem::path& path) { // If the configuration file does not exist, create it and return