From 72caad86ccacd65589deefb556149a9ed3a2200b Mon Sep 17 00:00:00 2001 From: TuxSH Date: Tue, 5 Jul 2016 16:05:53 +0200 Subject: [PATCH] Minor stuff --- source/buttons.h | 20 +++++++++++++++++++- source/cache.h | 21 +++++++++++++++++++-- source/cache.s | 19 ++++++++++++++++--- source/config.c | 20 +++++++++++++++++++- source/config.h | 20 +++++++++++++++++++- source/crypto.c | 27 ++++++++++++++++++++++++--- source/crypto.h | 22 +++++++++++++++++++++- source/draw.c | 23 ++++++++++++++++++++++- source/draw.h | 23 ++++++++++++++++++++++- source/emunand.c | 20 +++++++++++++++++++- source/emunand.h | 20 +++++++++++++++++++- source/firm.c | 20 +++++++++++++++++++- source/firm.h | 20 +++++++++++++++++++- source/fs.c | 20 +++++++++++++++++++- source/fs.h | 20 +++++++++++++++++++- source/i2c.c | 22 ++++++++++++++++++++++ source/i2c.h | 26 ++++++++++++++++++++++++++ source/memory.c | 24 +++++++++++++++++++++++- source/memory.h | 24 +++++++++++++++++++++++- source/patches.c | 20 +++++++++++++++++++- source/patches.h | 20 +++++++++++++++++++- source/screen.c | 22 +++++++++++++++++++++- source/screen.h | 22 +++++++++++++++++++++- source/start.s | 22 ++++++++++++++++++++++ source/types.h | 20 +++++++++++++++++++- source/utils.c | 20 +++++++++++++++++++- source/utils.h | 20 +++++++++++++++++++- 27 files changed, 548 insertions(+), 29 deletions(-) diff --git a/source/buttons.h b/source/buttons.h index d8a8f69..05ddc7a 100644 --- a/source/buttons.h +++ b/source/buttons.h @@ -1,5 +1,23 @@ /* -* buttons.h +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #pragma once diff --git a/source/cache.h b/source/cache.h index 4ba7615..85804ad 100644 --- a/source/cache.h +++ b/source/cache.h @@ -1,6 +1,23 @@ /* -* cache.h -* by TuxSH +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #pragma once diff --git a/source/cache.s b/source/cache.s index 45a0773..f22270d 100644 --- a/source/cache.s +++ b/source/cache.s @@ -1,9 +1,22 @@ +@ This file is part of Luma3DS +@ Copyright (C) 2016 Aurora Wright, TuxSH @ -@ cache.s -@ by TuxSH +@ 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 is part of Luma3DS, see LICENSE.txt for details +@ 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 . +@ +@ Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +@ reasonable legal notices or author attributions in that material or in the Appropriate Legal +@ Notices displayed by works containing it. .text .arm diff --git a/source/config.c b/source/config.c index aa52161..3cbae4a 100644 --- a/source/config.c +++ b/source/config.c @@ -1,5 +1,23 @@ /* -* config.c +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #include "config.h" diff --git a/source/config.h b/source/config.h index 8f1a3f5..40e350a 100644 --- a/source/config.h +++ b/source/config.h @@ -1,5 +1,23 @@ /* -* config.h +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #pragma once diff --git a/source/crypto.c b/source/crypto.c index 83cc8dc..1d048cd 100755 --- a/source/crypto.c +++ b/source/crypto.c @@ -1,6 +1,26 @@ /* -* crypto.c +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH * +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. +*/ + +/* * Crypto libs from http://github.com/b1l1s/ctr */ @@ -9,7 +29,7 @@ #include "fatfs/sdmmc/sdmmc.h" /**************************************************************** -* Crypto libs +* Crypto libs ****************************************************************/ /* original version by megazig */ @@ -271,7 +291,7 @@ static void sha(void *res, const void *src, u32 size, u32 mode) } /**************************************************************** -* NAND/FIRM crypto +* NAND/FIRM crypto ****************************************************************/ static u8 nandCTR[0x10], @@ -345,6 +365,7 @@ void decryptExeFs(u8 *inbuf) } //ARM9Loader replacement +//Originally adapted from: https://github.com/Reisyukaku/ReiNand/blob/228c378255ba693133dec6f3368e14d386f2cde7/source/crypto.c#L233 void arm9Loader(u8 *arm9Section, u32 mode) { //Firm keys diff --git a/source/crypto.h b/source/crypto.h index 93637cc..2df37d6 100755 --- a/source/crypto.h +++ b/source/crypto.h @@ -1,6 +1,26 @@ /* -* crypto.h +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH * +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. +*/ + +/* * Crypto libs from http://github.com/b1l1s/ctr */ diff --git a/source/draw.c b/source/draw.c index df4adba..f162346 100644 --- a/source/draw.c +++ b/source/draw.c @@ -1,7 +1,28 @@ /* -* draw.c +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH * +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. +*/ + +/* * Code to print to the screen by mid-kid @CakesFW +* https://github.com/mid-kid/CakesForeveryWan/ */ #include "draw.h" diff --git a/source/draw.h b/source/draw.h index c93f424..2c2fcd9 100644 --- a/source/draw.h +++ b/source/draw.h @@ -1,7 +1,28 @@ /* -* draw.h +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH * +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. +*/ + +/* * Code to print to the screen by mid-kid @CakesFW +* https://github.com/mid-kid/CakesForeveryWan/ */ #pragma once diff --git a/source/emunand.c b/source/emunand.c index 4c1068b..66468a9 100644 --- a/source/emunand.c +++ b/source/emunand.c @@ -1,5 +1,23 @@ /* -* emunand.c +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #include "emunand.h" diff --git a/source/emunand.h b/source/emunand.h index fc58b32..1930c34 100644 --- a/source/emunand.h +++ b/source/emunand.h @@ -1,5 +1,23 @@ /* -* emunand.h +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #pragma once diff --git a/source/firm.c b/source/firm.c index eaf815b..9c913f9 100755 --- a/source/firm.c +++ b/source/firm.c @@ -1,5 +1,23 @@ /* -* firm.c +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #include "firm.h" diff --git a/source/firm.h b/source/firm.h index 320b266..02a2d29 100644 --- a/source/firm.h +++ b/source/firm.h @@ -1,5 +1,23 @@ /* -* firm.h +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #pragma once diff --git a/source/fs.c b/source/fs.c index 09a1b35..269d551 100644 --- a/source/fs.c +++ b/source/fs.c @@ -1,5 +1,23 @@ /* -* fs.c +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #include "fs.h" diff --git a/source/fs.h b/source/fs.h index 1b58468..a2ae92a 100644 --- a/source/fs.h +++ b/source/fs.h @@ -1,5 +1,23 @@ /* -* fs.h +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #pragma once diff --git a/source/i2c.c b/source/i2c.c index 5f89d0a..c599cfd 100644 --- a/source/i2c.c +++ b/source/i2c.c @@ -1,3 +1,25 @@ +/* +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. +*/ + #include "i2c.h" //----------------------------------------------------------------------------- diff --git a/source/i2c.h b/source/i2c.h index 00658ea..e0a262f 100644 --- a/source/i2c.h +++ b/source/i2c.h @@ -1,3 +1,29 @@ +/* +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. +*/ + +/* +* Thanks to the everyone who contributed in the development of this file +*/ + #pragma once #include "types.h" diff --git a/source/memory.c b/source/memory.c index b5027bd..e7a05c9 100644 --- a/source/memory.c +++ b/source/memory.c @@ -1,7 +1,29 @@ /* -* memory.c +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH * +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. +*/ + + +/* * Quick Search algorithm adapted from http://igm.univ-mlv.fr/~lecroq/string/node19.html#SECTION00190 +* memcpy, memset32 and memcmp adapted from https://github.com/mid-kid/CakesForeveryWan/blob/557a8e8605ab3ee173af6497486e8f22c261d0e2/source/memfuncs.c */ #include "memory.h" diff --git a/source/memory.h b/source/memory.h index 2982a0f..28c6519 100644 --- a/source/memory.h +++ b/source/memory.h @@ -1,7 +1,29 @@ /* -* memory.h +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH * +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. +*/ + + +/* * Quick Search algorithm adapted from http://igm.univ-mlv.fr/~lecroq/string/node19.html#SECTION00190 +* memcpy, memset32 and memcmp adapted from https://github.com/mid-kid/CakesForeveryWan/blob/557a8e8605ab3ee173af6497486e8f22c261d0e2/source/memfuncs.c */ #pragma once diff --git a/source/patches.c b/source/patches.c index de9966f..2e9ab44 100644 --- a/source/patches.c +++ b/source/patches.c @@ -1,5 +1,23 @@ /* -* patches.c +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #include "patches.h" diff --git a/source/patches.h b/source/patches.h index 70cd2fc..8b75d26 100644 --- a/source/patches.h +++ b/source/patches.h @@ -1,5 +1,23 @@ /* -* patches.h +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #pragma once diff --git a/source/screen.c b/source/screen.c index d0aa0d8..523500c 100644 --- a/source/screen.c +++ b/source/screen.c @@ -1,6 +1,26 @@ /* -* screen.c +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH * +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. +*/ + +/* * Screen init code by dark_samus, bil1s, Normmatt, delebile and others. * Screen deinit code by tiniVi. */ diff --git a/source/screen.h b/source/screen.h index 5f2bf1d..09b120e 100644 --- a/source/screen.h +++ b/source/screen.h @@ -1,6 +1,26 @@ /* -* screen.h +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH * +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. +*/ + +/* * Screen init code by dark_samus, bil1s, Normmatt, delebile and others. * Screen deinit code by tiniVi. */ diff --git a/source/start.s b/source/start.s index 90f9f1d..4d40922 100644 --- a/source/start.s +++ b/source/start.s @@ -1,3 +1,25 @@ +@ This file is part of Luma3DS +@ Copyright (C) 2016 Aurora Wright, TuxSH +@ +@ 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 . +@ +@ Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +@ reasonable legal notices or author attributions in that material or in the Appropriate Legal +@ Notices displayed by works containing it. + +@ Thanks to the numerous people who took part in writing this file + .section .text.start .align 4 .global _start diff --git a/source/types.h b/source/types.h index f8f4dc3..979db43 100644 --- a/source/types.h +++ b/source/types.h @@ -1,5 +1,23 @@ /* -* types.h +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #pragma once diff --git a/source/utils.c b/source/utils.c index 812ea7c..79225dc 100644 --- a/source/utils.c +++ b/source/utils.c @@ -1,5 +1,23 @@ /* -* utils.c +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #include "utils.h" diff --git a/source/utils.h b/source/utils.h index 25a3f5f..b30cea2 100644 --- a/source/utils.h +++ b/source/utils.h @@ -1,5 +1,23 @@ /* -* utils.h +* This file is part of Luma3DS +* Copyright (C) 2016 Aurora Wright, TuxSH +* +* 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 . +* +* Additional Terms 7.b of GPLv3 applies to this file: Requiring preservation of specified +* reasonable legal notices or author attributions in that material or in the Appropriate Legal +* Notices displayed by works containing it. */ #pragma once