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