diff --git a/include/arm11/config.h b/include/arm11/config.h index 60c1cd0..e1d5c6a 100644 --- a/include/arm11/config.h +++ b/include/arm11/config.h @@ -1,5 +1,23 @@ #pragma once +/* + * This file is part of open_agb_firm + * Copyright (C) 2023 profi200 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include "types.h" #include "oaf_error_codes.h" diff --git a/include/arm11/patch.h b/include/arm11/patch.h index 4a82c89..efb6b19 100644 --- a/include/arm11/patch.h +++ b/include/arm11/patch.h @@ -1,3 +1,21 @@ #pragma once +/* + * This file is part of open_agb_firm + * Copyright (C) 2022 spitzeqc + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + Result patchRom(const char *const gamePath, u32 *romSize); \ No newline at end of file diff --git a/include/arm11/save_type.h b/include/arm11/save_type.h index b7138e7..e43bff1 100644 --- a/include/arm11/save_type.h +++ b/include/arm11/save_type.h @@ -1,5 +1,23 @@ #pragma once +/* + * This file is part of open_agb_firm + * Copyright (C) 2023 profi200 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include "types.h" #include "arm11/config.h" diff --git a/source/arm11/config.c b/source/arm11/config.c index f46e7b9..c54e431 100644 --- a/source/arm11/config.c +++ b/source/arm11/config.c @@ -1,3 +1,21 @@ +/* + * This file is part of open_agb_firm + * Copyright (C) 2023 profi200 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include #include "types.h" @@ -8,7 +26,7 @@ #define INI_BUF_SIZE (1024u) -// Note: Keep this synchronized with g_oafConfig. +// Note: Keep this synchronized with g_oafConfig in open_agb_firm.c. #define DEFAULT_CONFIG "[general]\n" \ "backlight=64\n" \ "backlightSteps=5\n" \ diff --git a/source/arm11/save_type.c b/source/arm11/save_type.c index 9a5a894..c6cf368 100644 --- a/source/arm11/save_type.c +++ b/source/arm11/save_type.c @@ -1,3 +1,21 @@ +/* + * This file is part of open_agb_firm + * Copyright (C) 2023 profi200 + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include "types.h" #include "arm11/save_type.h"