diff --git a/arm11/source/main.c b/arm11/source/main.c index f1d79df..39aa8aa 100644 --- a/arm11/source/main.c +++ b/arm11/source/main.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -196,7 +196,7 @@ void main(void) break; case UPDATE_BRIGHTNESS: updateBrightness(*(vu32 *)ARM11_PARAMETERS_ADDRESS); - break; + break; case DEINIT_SCREENS: deinitScreens(); break; diff --git a/arm11/source/memory.c b/arm11/source/memory.c index 1828b44..834cafb 100644 --- a/arm11/source/memory.c +++ b/arm11/source/memory.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/arm11/source/memory.h b/arm11/source/memory.h index d9fa159..353c261 100644 --- a/arm11/source/memory.h +++ b/arm11/source/memory.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/arm11/source/start.s b/arm11/source/start.s index a6e30f0..abe46b3 100644 --- a/arm11/source/start.s +++ b/arm11/source/start.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 @@ -21,7 +21,7 @@ @ * Prohibiting misrepresentation of the origin of that material, @ or requiring that modified versions of such material be marked in @ reasonable ways as different from the original version. - + .section .text.start .align 4 .global _start diff --git a/arm11/source/types.h b/arm11/source/types.h index d9042cc..173838f 100644 --- a/arm11/source/types.h +++ b/arm11/source/types.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/chainloader/source/cache.h b/chainloader/source/cache.h index d5e03cc..32604a3 100644 --- a/chainloader/source/cache.h +++ b/chainloader/source/cache.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/chainloader/source/cache.s b/chainloader/source/cache.s index 29e157f..28c0557 100644 --- a/chainloader/source/cache.s +++ b/chainloader/source/cache.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 @@ -30,11 +30,11 @@ .type flushCaches, %function flushCaches: @ Clean and flush both the data cache and instruction caches - + @ Adpated from http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0155a/ch03s03s05.html , @ and https://github.com/gemarcano/libctr9_io/blob/master/src/ctr_system_ARM.c#L39 as well @ Note: ARM's example is actually for a 8KB DCache (which is what the 3DS has) - + @ Implemented in bootROM at addresses 0xffff0830 (DCache) and 0xffff0ab4 (ICache) mov r1, #0 @ segment counter diff --git a/chainloader/source/firm.c b/chainloader/source/firm.c index 54842b3..396a2c2 100644 --- a/chainloader/source/firm.c +++ b/chainloader/source/firm.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/chainloader/source/firm.h b/chainloader/source/firm.h index 0f9c84d..32e04a2 100644 --- a/chainloader/source/firm.h +++ b/chainloader/source/firm.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/chainloader/source/main.c b/chainloader/source/main.c index e01c4ce..3d9fab0 100644 --- a/chainloader/source/main.c +++ b/chainloader/source/main.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/chainloader/source/memory.c b/chainloader/source/memory.c index 5f20707..63460b3 100644 --- a/chainloader/source/memory.c +++ b/chainloader/source/memory.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/chainloader/source/memory.h b/chainloader/source/memory.h index 2e120c4..6cb5c41 100644 --- a/chainloader/source/memory.h +++ b/chainloader/source/memory.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/chainloader/source/start.s b/chainloader/source/start.s index 5ea443e..dcf703b 100644 --- a/chainloader/source/start.s +++ b/chainloader/source/start.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/chainloader/source/types.h b/chainloader/source/types.h index e168623..6101530 100644 --- a/chainloader/source/types.h +++ b/chainloader/source/types.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/exceptions/arm9/source/handlers.h b/exceptions/arm9/source/handlers.h index 1c7fe0b..eea4314 100644 --- a/exceptions/arm9/source/handlers.h +++ b/exceptions/arm9/source/handlers.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/exceptions/arm9/source/handlers.s b/exceptions/arm9/source/handlers.s index b9f7edc..5f8cd55 100644 --- a/exceptions/arm9/source/handlers.s +++ b/exceptions/arm9/source/handlers.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/exceptions/arm9/source/i2c.c b/exceptions/arm9/source/i2c.c index 2bf6c54..3630c90 100644 --- a/exceptions/arm9/source/i2c.c +++ b/exceptions/arm9/source/i2c.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/exceptions/arm9/source/i2c.h b/exceptions/arm9/source/i2c.h index 7aa8bf5..6854ccf 100644 --- a/exceptions/arm9/source/i2c.h +++ b/exceptions/arm9/source/i2c.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/exceptions/arm9/source/mainHandler.c b/exceptions/arm9/source/mainHandler.c index 4db047a..71d56d2 100644 --- a/exceptions/arm9/source/mainHandler.c +++ b/exceptions/arm9/source/mainHandler.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/exceptions/arm9/source/start.s b/exceptions/arm9/source/start.s index fb6ad02..608465f 100644 --- a/exceptions/arm9/source/start.s +++ b/exceptions/arm9/source/start.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/exceptions/arm9/source/types.h b/exceptions/arm9/source/types.h index d05cfa6..7202db4 100644 --- a/exceptions/arm9/source/types.h +++ b/exceptions/arm9/source/types.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/exceptions/exception_dump_parser/luma3ds_exception_dump_parser/__main__.py b/exceptions/exception_dump_parser/luma3ds_exception_dump_parser/__main__.py index 5bab50c..59b0fab 100755 --- a/exceptions/exception_dump_parser/luma3ds_exception_dump_parser/__main__.py +++ b/exceptions/exception_dump_parser/luma3ds_exception_dump_parser/__main__.py @@ -2,7 +2,7 @@ # Requires Python >= 3.2 or >= 2.7 # This file is part of Luma3DS -# Copyright (C) 2016 Aurora Wright, TuxSH +# Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/debug.h b/k11_extension/include/debug.h index 437208f..fb01009 100644 --- a/k11_extension/include/debug.h +++ b/k11_extension/include/debug.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/fatalExceptionHandlers.h b/k11_extension/include/fatalExceptionHandlers.h index 2deccb9..a0022fd 100644 --- a/k11_extension/include/fatalExceptionHandlers.h +++ b/k11_extension/include/fatalExceptionHandlers.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/globals.h b/k11_extension/include/globals.h index 36237bf..2b2951f 100644 --- a/k11_extension/include/globals.h +++ b/k11_extension/include/globals.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/ipc.h b/k11_extension/include/ipc.h index 6e8a5ec..d6f2d9e 100644 --- a/k11_extension/include/ipc.h +++ b/k11_extension/include/ipc.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/kernel.h b/k11_extension/include/kernel.h index 5fba9bf..e13f9e7 100644 --- a/k11_extension/include/kernel.h +++ b/k11_extension/include/kernel.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/memory.h b/k11_extension/include/memory.h index 40b3cce..2b4964a 100644 --- a/k11_extension/include/memory.h +++ b/k11_extension/include/memory.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc.h b/k11_extension/include/svc.h index cfe046c..11be4c6 100644 --- a/k11_extension/include/svc.h +++ b/k11_extension/include/svc.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/Backdoor.h b/k11_extension/include/svc/Backdoor.h index f0507f4..22bdb7d 100644 --- a/k11_extension/include/svc/Backdoor.h +++ b/k11_extension/include/svc/Backdoor.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/Break.h b/k11_extension/include/svc/Break.h index 4528e2f..bf3b289 100644 --- a/k11_extension/include/svc/Break.h +++ b/k11_extension/include/svc/Break.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/ConnectToPort.h b/k11_extension/include/svc/ConnectToPort.h index 2e66076..a5fc538 100644 --- a/k11_extension/include/svc/ConnectToPort.h +++ b/k11_extension/include/svc/ConnectToPort.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/ControlMemory.h b/k11_extension/include/svc/ControlMemory.h index d98d6fb..65c0a65 100644 --- a/k11_extension/include/svc/ControlMemory.h +++ b/k11_extension/include/svc/ControlMemory.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/ControlService.h b/k11_extension/include/svc/ControlService.h index 088c831..9ad5c27 100644 --- a/k11_extension/include/svc/ControlService.h +++ b/k11_extension/include/svc/ControlService.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/CopyHandle.h b/k11_extension/include/svc/CopyHandle.h index 24265e6..563d83e 100644 --- a/k11_extension/include/svc/CopyHandle.h +++ b/k11_extension/include/svc/CopyHandle.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/CustomBackdoor.h b/k11_extension/include/svc/CustomBackdoor.h index 4b3aa6b..4f4bb78 100644 --- a/k11_extension/include/svc/CustomBackdoor.h +++ b/k11_extension/include/svc/CustomBackdoor.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/GetCFWInfo.h b/k11_extension/include/svc/GetCFWInfo.h index 44f08ec..e94fe65 100644 --- a/k11_extension/include/svc/GetCFWInfo.h +++ b/k11_extension/include/svc/GetCFWInfo.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/GetHandleInfo.h b/k11_extension/include/svc/GetHandleInfo.h index 334cccd..fd60269 100644 --- a/k11_extension/include/svc/GetHandleInfo.h +++ b/k11_extension/include/svc/GetHandleInfo.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/GetProcessInfo.h b/k11_extension/include/svc/GetProcessInfo.h index db71723..c0ec51c 100644 --- a/k11_extension/include/svc/GetProcessInfo.h +++ b/k11_extension/include/svc/GetProcessInfo.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/GetSystemInfo.h b/k11_extension/include/svc/GetSystemInfo.h index ad3ea18..022af85 100644 --- a/k11_extension/include/svc/GetSystemInfo.h +++ b/k11_extension/include/svc/GetSystemInfo.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/GetThreadInfo.h b/k11_extension/include/svc/GetThreadInfo.h index 2c8b8f9..a584ee0 100644 --- a/k11_extension/include/svc/GetThreadInfo.h +++ b/k11_extension/include/svc/GetThreadInfo.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/KernelSetState.h b/k11_extension/include/svc/KernelSetState.h index 0c04c90..33f63e2 100644 --- a/k11_extension/include/svc/KernelSetState.h +++ b/k11_extension/include/svc/KernelSetState.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/MapProcessMemoryEx.h b/k11_extension/include/svc/MapProcessMemoryEx.h index 189d7db..e1017aa 100644 --- a/k11_extension/include/svc/MapProcessMemoryEx.h +++ b/k11_extension/include/svc/MapProcessMemoryEx.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/SendSyncRequest.h b/k11_extension/include/svc/SendSyncRequest.h index a0e1a3d..29844ee 100644 --- a/k11_extension/include/svc/SendSyncRequest.h +++ b/k11_extension/include/svc/SendSyncRequest.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/SetGpuProt.h b/k11_extension/include/svc/SetGpuProt.h index 0e8c223..753d439 100644 --- a/k11_extension/include/svc/SetGpuProt.h +++ b/k11_extension/include/svc/SetGpuProt.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/SetWifiEnabled.h b/k11_extension/include/svc/SetWifiEnabled.h index ab5bdd5..b30b854 100644 --- a/k11_extension/include/svc/SetWifiEnabled.h +++ b/k11_extension/include/svc/SetWifiEnabled.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/TranslateHandle.h b/k11_extension/include/svc/TranslateHandle.h index 8ab1342..e4c3e2f 100644 --- a/k11_extension/include/svc/TranslateHandle.h +++ b/k11_extension/include/svc/TranslateHandle.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svc/UnmapProcessMemoryEx.h b/k11_extension/include/svc/UnmapProcessMemoryEx.h index ef7f151..b50dced 100644 --- a/k11_extension/include/svc/UnmapProcessMemoryEx.h +++ b/k11_extension/include/svc/UnmapProcessMemoryEx.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/svcHandler.h b/k11_extension/include/svcHandler.h index e15dfb4..c621d8f 100644 --- a/k11_extension/include/svcHandler.h +++ b/k11_extension/include/svcHandler.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/synchronization.h b/k11_extension/include/synchronization.h index a6c09c4..2eb9982 100644 --- a/k11_extension/include/synchronization.h +++ b/k11_extension/include/synchronization.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/types.h b/k11_extension/include/types.h index 68cb364..826657b 100644 --- a/k11_extension/include/types.h +++ b/k11_extension/include/types.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/include/utils.h b/k11_extension/include/utils.h index 4b17442..b68dc21 100644 --- a/k11_extension/include/utils.h +++ b/k11_extension/include/utils.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/debug.c b/k11_extension/source/debug.c index 9473aae..0561e3b 100644 --- a/k11_extension/source/debug.c +++ b/k11_extension/source/debug.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/fatalExceptionHandlers.s b/k11_extension/source/fatalExceptionHandlers.s index c7a3d64..3d7aea5 100644 --- a/k11_extension/source/fatalExceptionHandlers.s +++ b/k11_extension/source/fatalExceptionHandlers.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/fatalExceptionHandlersMain.c b/k11_extension/source/fatalExceptionHandlersMain.c index a7bde74..3e0c5c0 100644 --- a/k11_extension/source/fatalExceptionHandlersMain.c +++ b/k11_extension/source/fatalExceptionHandlersMain.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/globals.c b/k11_extension/source/globals.c index 4a02376..62042e2 100644 --- a/k11_extension/source/globals.c +++ b/k11_extension/source/globals.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/ipc.c b/k11_extension/source/ipc.c index 2e4289e..f224989 100644 --- a/k11_extension/source/ipc.c +++ b/k11_extension/source/ipc.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -71,7 +71,7 @@ SessionInfo *SessionInfo_Lookup(KSession *session) ret = NULL; else ret = (void **)(sessionInfos[id].session->autoObject.vtable) == customSessionVtable ? &sessionInfos[id] : NULL; - + KRecursiveLock__Unlock(&sessionInfosLock); KRecursiveLock__Unlock(criticalSectionLock); @@ -242,7 +242,7 @@ Result doPublishToProcessHook(Handle handle, u32 *cmdbuf) bool terminateRosalina = cmdbuf[1] == 0x100 && cmdbuf[2] == 0; // cmdbuf[2] to check for well-formed requests u32 savedCmdbuf[4]; memcpy(savedCmdbuf, cmdbuf, 16); - + if(!terminateRosalina || GetProcessId(&pid, cmdbuf[3]) != 0) terminateRosalina = false; else @@ -256,7 +256,7 @@ Result doPublishToProcessHook(Handle handle, u32 *cmdbuf) terminateRosalina = false; ((KAutoObject *)process)->vtable->DecrementReferenceCount((KAutoObject *)process); } - + if(terminateRosalina && nbSection0Modules == 6) { Handle rosalinaProcessHandle; @@ -300,7 +300,7 @@ bool doErrfThrowHook(u32 *cmdbuf) */ //{ "qtm", (Result)0xF96183FE }, - { "", 0 }, // impossible case to ensure the array has at least 1 element + { "", 0 }, // impossible case to ensure the array has at least 1 element }; for(u32 i = 0; i < sizeof(errorCodesToIgnore) / sizeof(errorCodesToIgnore[0]); i++) diff --git a/k11_extension/source/main.c b/k11_extension/source/main.c index 9be76f1..013d1fc 100644 --- a/k11_extension/source/main.c +++ b/k11_extension/source/main.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/memory.c b/k11_extension/source/memory.c index 4f6b8a0..66d5fca 100644 --- a/k11_extension/source/memory.c +++ b/k11_extension/source/memory.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/start.s b/k11_extension/source/start.s index fcefbfe..2f6f1f9 100644 --- a/k11_extension/source/start.s +++ b/k11_extension/source/start.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc.c b/k11_extension/source/svc.c index 34bde61..bea25ae 100644 --- a/k11_extension/source/svc.c +++ b/k11_extension/source/svc.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/Backdoor.s b/k11_extension/source/svc/Backdoor.s index 5228f0d..9049c2a 100644 --- a/k11_extension/source/svc/Backdoor.s +++ b/k11_extension/source/svc/Backdoor.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/Break.s b/k11_extension/source/svc/Break.s index 781b8d0..027febf 100644 --- a/k11_extension/source/svc/Break.s +++ b/k11_extension/source/svc/Break.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/ConnectToPort.c b/k11_extension/source/svc/ConnectToPort.c index 9575cf6..b197436 100644 --- a/k11_extension/source/svc/ConnectToPort.c +++ b/k11_extension/source/svc/ConnectToPort.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/ControlMemory.c b/k11_extension/source/svc/ControlMemory.c index ab7626d..6bf1209 100644 --- a/k11_extension/source/svc/ControlMemory.c +++ b/k11_extension/source/svc/ControlMemory.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/ControlService.c b/k11_extension/source/svc/ControlService.c index c356e1b..504296d 100644 --- a/k11_extension/source/svc/ControlService.c +++ b/k11_extension/source/svc/ControlService.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/CopyHandle.c b/k11_extension/source/svc/CopyHandle.c index 25b08da..d68959e 100644 --- a/k11_extension/source/svc/CopyHandle.c +++ b/k11_extension/source/svc/CopyHandle.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/CustomBackdoor.s b/k11_extension/source/svc/CustomBackdoor.s index 9078bac..fa512a0 100644 --- a/k11_extension/source/svc/CustomBackdoor.s +++ b/k11_extension/source/svc/CustomBackdoor.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/GetCFWInfo.c b/k11_extension/source/svc/GetCFWInfo.c index a7bc7ed..87f6379 100644 --- a/k11_extension/source/svc/GetCFWInfo.c +++ b/k11_extension/source/svc/GetCFWInfo.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/GetHandleInfo.c b/k11_extension/source/svc/GetHandleInfo.c index 389bd9d..56b7d7d 100644 --- a/k11_extension/source/svc/GetHandleInfo.c +++ b/k11_extension/source/svc/GetHandleInfo.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -41,7 +41,7 @@ Result GetHandleInfoHook(s64 *out, Handle handle, u32 type) } else obj = KProcessHandleTable__ToKAutoObject(handleTable, handle); - + if(obj == NULL) return 0xD8E007F7; diff --git a/k11_extension/source/svc/GetProcessInfo.c b/k11_extension/source/svc/GetProcessInfo.c index b1e0dad..adf5647 100644 --- a/k11_extension/source/svc/GetProcessInfo.c +++ b/k11_extension/source/svc/GetProcessInfo.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/GetSystemInfo.c b/k11_extension/source/svc/GetSystemInfo.c index 3f6a7be..9cb8b51 100644 --- a/k11_extension/source/svc/GetSystemInfo.c +++ b/k11_extension/source/svc/GetSystemInfo.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/GetThreadInfo.c b/k11_extension/source/svc/GetThreadInfo.c index 267431e..7581933 100644 --- a/k11_extension/source/svc/GetThreadInfo.c +++ b/k11_extension/source/svc/GetThreadInfo.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/KernelSetState.c b/k11_extension/source/svc/KernelSetState.c index f5fd1f9..28362e6 100644 --- a/k11_extension/source/svc/KernelSetState.c +++ b/k11_extension/source/svc/KernelSetState.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/MapProcessMemoryEx.c b/k11_extension/source/svc/MapProcessMemoryEx.c index abc5558..27a3ef2 100644 --- a/k11_extension/source/svc/MapProcessMemoryEx.c +++ b/k11_extension/source/svc/MapProcessMemoryEx.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/SendSyncRequest.c b/k11_extension/source/svc/SendSyncRequest.c index 215c5ae..a6ed021 100644 --- a/k11_extension/source/svc/SendSyncRequest.c +++ b/k11_extension/source/svc/SendSyncRequest.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/SetGpuProt.c b/k11_extension/source/svc/SetGpuProt.c index 17ef2f7..ce136fb 100644 --- a/k11_extension/source/svc/SetGpuProt.c +++ b/k11_extension/source/svc/SetGpuProt.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/SetWifiEnabled.c b/k11_extension/source/svc/SetWifiEnabled.c index 38ff0a2..431e72f 100644 --- a/k11_extension/source/svc/SetWifiEnabled.c +++ b/k11_extension/source/svc/SetWifiEnabled.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/TranslateHandle.c b/k11_extension/source/svc/TranslateHandle.c index e0b35be..67f4164 100644 --- a/k11_extension/source/svc/TranslateHandle.c +++ b/k11_extension/source/svc/TranslateHandle.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/UnmapProcessMemoryEx.c b/k11_extension/source/svc/UnmapProcessMemoryEx.c index 2f3d999..30ffc6a 100644 --- a/k11_extension/source/svc/UnmapProcessMemoryEx.c +++ b/k11_extension/source/svc/UnmapProcessMemoryEx.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svc/wrappers.s b/k11_extension/source/svc/wrappers.s index 7482859..91dc359 100644 --- a/k11_extension/source/svc/wrappers.s +++ b/k11_extension/source/svc/wrappers.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/svcHandler.s b/k11_extension/source/svcHandler.s index 1b07a62..a0f8074 100644 --- a/k11_extension/source/svcHandler.s +++ b/k11_extension/source/svcHandler.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/synchronization.c b/k11_extension/source/synchronization.c index 4b0811e..efa5947 100644 --- a/k11_extension/source/synchronization.c +++ b/k11_extension/source/synchronization.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/k11_extension/source/utils.s b/k11_extension/source/utils.s index f5ea72a..528c52f 100644 --- a/k11_extension/source/utils.s +++ b/k11_extension/source/utils.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/source/3dsheaders.h b/source/3dsheaders.h index e974674..5ea8b9e 100644 --- a/source/3dsheaders.h +++ b/source/3dsheaders.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/buttons.h b/source/buttons.h index 369b1de..8be3396 100644 --- a/source/buttons.h +++ b/source/buttons.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/cache.h b/source/cache.h index 3d8e31a..b98006a 100644 --- a/source/cache.h +++ b/source/cache.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/cache.s b/source/cache.s index fcc55dc..66506ad 100644 --- a/source/cache.s +++ b/source/cache.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/source/config.c b/source/config.c index f006841..14aba08 100644 --- a/source/config.c +++ b/source/config.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/config.h b/source/config.h index ebd14cd..87f05ce 100644 --- a/source/config.h +++ b/source/config.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/crypto.c b/source/crypto.c index 60958d3..7d9ccb2 100755 --- a/source/crypto.c +++ b/source/crypto.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -532,7 +532,7 @@ void setupKeyslots(void) aes_setkey(0x25, keyX0x25s[ISDEVUNIT ? 1 : 0], AES_KEYX, AES_INPUT_BE | AES_INPUT_NORMAL); aes_setkey(0x2F, keyY0x2Fs[ISDEVUNIT ? 1 : 0], AES_KEYY, AES_INPUT_BE | AES_INPUT_NORMAL); - if(ISN3DS) + if(ISN3DS) { //Setup 0x05 KeyY __attribute__((aligned(4))) static const u8 keyY0x5[AES_BLOCK_SIZE] = {0x4D, 0x80, 0x4F, 0x4E, 0x99, 0x90, 0x19, 0x46, 0x13, 0xA2, 0x04, 0xAC, 0x58, 0x44, 0x60, 0xBE}; @@ -547,7 +547,7 @@ void setupKeyslots(void) {0xDD, 0xDA, 0xA4, 0xC6, 0x2C, 0xC4, 0x50, 0xE9, 0xDA, 0xB6, 0x9B, 0x0D, 0x9D, 0x2A, 0x21, 0x98} }, decKey[AES_BLOCK_SIZE]; - //Initialize Key 0x18 + //Initialize Key 0x18 aes_setkey(0x11, key1s[ISDEVUNIT ? 1 : 0], AES_KEYNORMAL, AES_INPUT_BE | AES_INPUT_NORMAL); aes_use_keyslot(0x11); aes(decKey, keyBlocks[0], 1, NULL, AES_ECB_DECRYPT_MODE, 0); diff --git a/source/crypto.h b/source/crypto.h index 2bf4729..747b0b4 100755 --- a/source/crypto.h +++ b/source/crypto.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/draw.c b/source/draw.c index 76d7334..92b337e 100644 --- a/source/draw.c +++ b/source/draw.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/draw.h b/source/draw.h index 807dd0d..82cab98 100644 --- a/source/draw.h +++ b/source/draw.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/emunand.c b/source/emunand.c index df8c6b5..4a79e1e 100644 --- a/source/emunand.c +++ b/source/emunand.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/emunand.h b/source/emunand.h index c4655e6..114ef6b 100644 --- a/source/emunand.h +++ b/source/emunand.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/exceptions.c b/source/exceptions.c index 70886df..730119c 100644 --- a/source/exceptions.c +++ b/source/exceptions.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/exceptions.h b/source/exceptions.h index 387b77d..764d2d5 100644 --- a/source/exceptions.h +++ b/source/exceptions.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/firm.c b/source/firm.c index 285e66f..c6d73dd 100755 --- a/source/firm.c +++ b/source/firm.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/firm.h b/source/firm.h index 337c2e1..f1a6e98 100644 --- a/source/firm.h +++ b/source/firm.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/fmt.c b/source/fmt.c index fa19519..a342d94 100644 --- a/source/fmt.c +++ b/source/fmt.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -218,7 +218,7 @@ u32 vsprintf(char *buf, const char *fmt, va_list args) fmt++; integerType = 1; } - + } else if(*fmt == 'h') { diff --git a/source/fmt.h b/source/fmt.h index 56c4e59..74a468f 100644 --- a/source/fmt.h +++ b/source/fmt.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/fs.c b/source/fs.c index f765042..4e1bf48 100644 --- a/source/fs.c +++ b/source/fs.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/fs.h b/source/fs.h index 9b93140..fc3888f 100644 --- a/source/fs.h +++ b/source/fs.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/i2c.c b/source/i2c.c index 4ce7300..a92f721 100644 --- a/source/i2c.c +++ b/source/i2c.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/i2c.h b/source/i2c.h index 13537b6..474a01e 100644 --- a/source/i2c.h +++ b/source/i2c.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/main.c b/source/main.c index d8fea38..120b8ae 100644 --- a/source/main.c +++ b/source/main.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -60,7 +60,7 @@ void main(int argc, char **argv, u32 magicWord) //Shell closed, no error booting NTRCARD, NAND paritions not even considered isNtrBoot = bootMediaStatus[3] == 2 && !bootMediaStatus[1] && !bootPartitionsStatus[0] && !bootPartitionsStatus[1]; - + if((magicWord & 0xFFFF) == 0xBEEF && argc >= 1) //Normal (B9S) boot { bootType = isNtrBoot ? B9SNTR : B9S; diff --git a/source/memory.c b/source/memory.c index 3e62695..312db49 100644 --- a/source/memory.c +++ b/source/memory.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/memory.h b/source/memory.h index 0cb8401..c2e27ff 100644 --- a/source/memory.h +++ b/source/memory.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/patches.c b/source/patches.c index d687fcb..6968711 100644 --- a/source/patches.c +++ b/source/patches.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/patches.h b/source/patches.h index 3bee425..1382125 100644 --- a/source/patches.h +++ b/source/patches.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/pin.c b/source/pin.c index d25d6b3..f5ebed1 100644 --- a/source/pin.c +++ b/source/pin.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -69,7 +69,7 @@ void newPin(bool allowSkipping, u32 pinMode) { if(reset) { - for(u32 i = 0; i < cnt; i++) + for(u32 i = 0; i < cnt; i++) drawCharacter(true, 10 + (16 + 2 * i) * SPACING_X, 10 + 3 * SPACING_Y, COLOR_BLACK, (char)enteredPassword[i]); cnt = 0; @@ -154,7 +154,7 @@ bool verifyPin(u32 pinMode) drawFormattedString(true, 10, 10 + 3 * SPACING_Y, COLOR_WHITE, "PIN (%u digits): ", lengthBlock[0]); bool isBottomSplashValid = getFileSize("splashpin.bin") == SCREEN_BOTTOM_FBSIZE; - if(isBottomSplashValid) + if(isBottomSplashValid) { isBottomSplashValid = fileRead(fbs[0].bottom, "splashpin.bin", SCREEN_BOTTOM_FBSIZE) == SCREEN_BOTTOM_FBSIZE; } @@ -184,7 +184,7 @@ bool verifyPin(u32 pinMode) { if(reset) { - for(u32 i = 0; i < cnt; i++) + for(u32 i = 0; i < cnt; i++) drawCharacter(true, 10 + (16 + 2 * i) * SPACING_X, 10 + 3 * SPACING_Y, COLOR_BLACK, '*'); cnt = 0; @@ -225,7 +225,7 @@ bool verifyPin(u32 pinMode) { reset = true; - drawString(true, 10, 10 + 5 * SPACING_Y, COLOR_RED, "Wrong PIN, try again"); + drawString(true, 10, 10 + 5 * SPACING_Y, COLOR_RED, "Wrong PIN, try again"); } } diff --git a/source/pin.h b/source/pin.h index ed4933c..0fdd82a 100644 --- a/source/pin.h +++ b/source/pin.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/screen.c b/source/screen.c index 3448fea..0423dca 100644 --- a/source/screen.c +++ b/source/screen.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -57,7 +57,7 @@ static void invokeArm11Function(Arm11Operation op) { while(*operation != ARM11_READY); *operation = op; - while(*operation != ARM11_READY); + while(*operation != ARM11_READY); } void prepareArm11ForFirmlaunch(void) diff --git a/source/screen.h b/source/screen.h index 3dc18eb..39e772c 100644 --- a/source/screen.h +++ b/source/screen.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/start.s b/source/start.s index 149b1f9..57ff88a 100644 --- a/source/start.s +++ b/source/start.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/source/strings.c b/source/strings.c index 7820554..28b2e55 100644 --- a/source/strings.c +++ b/source/strings.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/strings.h b/source/strings.h index de573de..38fbf16 100644 --- a/source/strings.h +++ b/source/strings.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/types.h b/source/types.h index 5bd8db1..addd0ff 100644 --- a/source/types.h +++ b/source/types.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/source/utils.c b/source/utils.c index e82a499..db1348a 100644 --- a/source/utils.c +++ b/source/utils.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -86,7 +86,7 @@ u32 waitInput(bool isMenu) if(!key) { - if((!(i2cReadRegister(I2C_DEV_MCU, 0xF) & 2) && shouldShellShutdown) || + if((!(i2cReadRegister(I2C_DEV_MCU, 0xF) & 2) && shouldShellShutdown) || (i2cReadRegister(I2C_DEV_MCU, 0x10) & 1) == 1) mcuPowerOff(); oldKey = 0; dPadDelay = 0; diff --git a/source/utils.h b/source/utils.h index 3756e20..53210ff 100644 --- a/source/utils.h +++ b/source/utils.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/3dsx.h b/sysmodules/rosalina/include/3dsx.h index 61ef1da..826f22e 100644 --- a/sysmodules/rosalina/include/3dsx.h +++ b/sysmodules/rosalina/include/3dsx.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/MyThread.h b/sysmodules/rosalina/include/MyThread.h index 7872f50..631a779 100644 --- a/sysmodules/rosalina/include/MyThread.h +++ b/sysmodules/rosalina/include/MyThread.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/draw.h b/sysmodules/rosalina/include/draw.h index 281d843..eb6d52c 100644 --- a/sysmodules/rosalina/include/draw.h +++ b/sysmodules/rosalina/include/draw.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/errdisp.h b/sysmodules/rosalina/include/errdisp.h index eab4b51..625e211 100644 --- a/sysmodules/rosalina/include/errdisp.h +++ b/sysmodules/rosalina/include/errdisp.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/fmt.h b/sysmodules/rosalina/include/fmt.h index f4d6d64..7e1daf7 100644 --- a/sysmodules/rosalina/include/fmt.h +++ b/sysmodules/rosalina/include/fmt.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/fsreg.h b/sysmodules/rosalina/include/fsreg.h index 6b589e5..cf7736f 100644 --- a/sysmodules/rosalina/include/fsreg.h +++ b/sysmodules/rosalina/include/fsreg.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb.h b/sysmodules/rosalina/include/gdb.h index 3db08fe..e59c91d 100644 --- a/sysmodules/rosalina/include/gdb.h +++ b/sysmodules/rosalina/include/gdb.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/breakpoints.h b/sysmodules/rosalina/include/gdb/breakpoints.h index 65cf0bb..a0667eb 100644 --- a/sysmodules/rosalina/include/gdb/breakpoints.h +++ b/sysmodules/rosalina/include/gdb/breakpoints.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/debug.h b/sysmodules/rosalina/include/gdb/debug.h index 46c4c2f..7a41c36 100644 --- a/sysmodules/rosalina/include/gdb/debug.h +++ b/sysmodules/rosalina/include/gdb/debug.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/mem.h b/sysmodules/rosalina/include/gdb/mem.h index a826c80..0d56a5c 100644 --- a/sysmodules/rosalina/include/gdb/mem.h +++ b/sysmodules/rosalina/include/gdb/mem.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/monitor.h b/sysmodules/rosalina/include/gdb/monitor.h index ef6c7e6..beda885 100644 --- a/sysmodules/rosalina/include/gdb/monitor.h +++ b/sysmodules/rosalina/include/gdb/monitor.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/net.h b/sysmodules/rosalina/include/gdb/net.h index dec7661..cb31b9a 100644 --- a/sysmodules/rosalina/include/gdb/net.h +++ b/sysmodules/rosalina/include/gdb/net.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/query.h b/sysmodules/rosalina/include/gdb/query.h index 0fe4221..8b8116b 100644 --- a/sysmodules/rosalina/include/gdb/query.h +++ b/sysmodules/rosalina/include/gdb/query.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/regs.h b/sysmodules/rosalina/include/gdb/regs.h index 62ca0c8..c4c59e4 100644 --- a/sysmodules/rosalina/include/gdb/regs.h +++ b/sysmodules/rosalina/include/gdb/regs.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/remote_command.h b/sysmodules/rosalina/include/gdb/remote_command.h index ba57b46..56182ca 100644 --- a/sysmodules/rosalina/include/gdb/remote_command.h +++ b/sysmodules/rosalina/include/gdb/remote_command.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/server.h b/sysmodules/rosalina/include/gdb/server.h index f4364e5..5292326 100644 --- a/sysmodules/rosalina/include/gdb/server.h +++ b/sysmodules/rosalina/include/gdb/server.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/stop_point.h b/sysmodules/rosalina/include/gdb/stop_point.h index e278ebb..9992335 100644 --- a/sysmodules/rosalina/include/gdb/stop_point.h +++ b/sysmodules/rosalina/include/gdb/stop_point.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/thread.h b/sysmodules/rosalina/include/gdb/thread.h index 885da3b..84e6636 100644 --- a/sysmodules/rosalina/include/gdb/thread.h +++ b/sysmodules/rosalina/include/gdb/thread.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/verbose.h b/sysmodules/rosalina/include/gdb/verbose.h index ce00629..541889e 100644 --- a/sysmodules/rosalina/include/gdb/verbose.h +++ b/sysmodules/rosalina/include/gdb/verbose.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/watchpoints.h b/sysmodules/rosalina/include/gdb/watchpoints.h index 2b4190d..55fa6e7 100644 --- a/sysmodules/rosalina/include/gdb/watchpoints.h +++ b/sysmodules/rosalina/include/gdb/watchpoints.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/gdb/xfer.h b/sysmodules/rosalina/include/gdb/xfer.h index 2c84ccb..36e1efc 100644 --- a/sysmodules/rosalina/include/gdb/xfer.h +++ b/sysmodules/rosalina/include/gdb/xfer.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/hbloader.h b/sysmodules/rosalina/include/hbloader.h index 97d34cc..d1f2029 100644 --- a/sysmodules/rosalina/include/hbloader.h +++ b/sysmodules/rosalina/include/hbloader.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/ifile.h b/sysmodules/rosalina/include/ifile.h index f3f070a..2d4e510 100644 --- a/sysmodules/rosalina/include/ifile.h +++ b/sysmodules/rosalina/include/ifile.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/input_redirection.h b/sysmodules/rosalina/include/input_redirection.h index 2ff384c..c1c5163 100644 --- a/sysmodules/rosalina/include/input_redirection.h +++ b/sysmodules/rosalina/include/input_redirection.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/memory.h b/sysmodules/rosalina/include/memory.h index e2712b0..49f9f60 100644 --- a/sysmodules/rosalina/include/memory.h +++ b/sysmodules/rosalina/include/memory.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/menu.h b/sysmodules/rosalina/include/menu.h index 6fcc48b..48fb370 100644 --- a/sysmodules/rosalina/include/menu.h +++ b/sysmodules/rosalina/include/menu.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/menus.h b/sysmodules/rosalina/include/menus.h index b1da981..b50bb18 100644 --- a/sysmodules/rosalina/include/menus.h +++ b/sysmodules/rosalina/include/menus.h @@ -1,7 +1,7 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/menus/cheats.h b/sysmodules/rosalina/include/menus/cheats.h index 17228dc..cd66c6c 100644 --- a/sysmodules/rosalina/include/menus/cheats.h +++ b/sysmodules/rosalina/include/menus/cheats.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/menus/debugger.h b/sysmodules/rosalina/include/menus/debugger.h index 2487e0c..07b5f17 100644 --- a/sysmodules/rosalina/include/menus/debugger.h +++ b/sysmodules/rosalina/include/menus/debugger.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/menus/miscellaneous.h b/sysmodules/rosalina/include/menus/miscellaneous.h index 9cf1983..2ae570e 100644 --- a/sysmodules/rosalina/include/menus/miscellaneous.h +++ b/sysmodules/rosalina/include/menus/miscellaneous.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/menus/n3ds.h b/sysmodules/rosalina/include/menus/n3ds.h index 1ee2024..8d4d4e6 100644 --- a/sysmodules/rosalina/include/menus/n3ds.h +++ b/sysmodules/rosalina/include/menus/n3ds.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/menus/process_list.h b/sysmodules/rosalina/include/menus/process_list.h index a0564c3..e71a120 100644 --- a/sysmodules/rosalina/include/menus/process_list.h +++ b/sysmodules/rosalina/include/menus/process_list.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/menus/process_patches.h b/sysmodules/rosalina/include/menus/process_patches.h index 9bd9687..d784a73 100644 --- a/sysmodules/rosalina/include/menus/process_patches.h +++ b/sysmodules/rosalina/include/menus/process_patches.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/menus/sysconfig.h b/sysmodules/rosalina/include/menus/sysconfig.h index c826c91..911c9c0 100644 --- a/sysmodules/rosalina/include/menus/sysconfig.h +++ b/sysmodules/rosalina/include/menus/sysconfig.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/minisoc.h b/sysmodules/rosalina/include/minisoc.h index cf0229f..983cd95 100644 --- a/sysmodules/rosalina/include/minisoc.h +++ b/sysmodules/rosalina/include/minisoc.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/services.h b/sysmodules/rosalina/include/services.h index a27a33e..b3c49e3 100644 --- a/sysmodules/rosalina/include/services.h +++ b/sysmodules/rosalina/include/services.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/sock_util.h b/sysmodules/rosalina/include/sock_util.h index cef6d32..f66f100 100644 --- a/sysmodules/rosalina/include/sock_util.h +++ b/sysmodules/rosalina/include/sock_util.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/include/utils.h b/sysmodules/rosalina/include/utils.h index 2896afc..466c1ab 100644 --- a/sysmodules/rosalina/include/utils.h +++ b/sysmodules/rosalina/include/utils.h @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/3dsx.c b/sysmodules/rosalina/source/3dsx.c index 8abddbc..e67706b 100644 --- a/sysmodules/rosalina/source/3dsx.c +++ b/sysmodules/rosalina/source/3dsx.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/MyThread.c b/sysmodules/rosalina/source/MyThread.c index 8ede9eb..375a6c7 100644 --- a/sysmodules/rosalina/source/MyThread.c +++ b/sysmodules/rosalina/source/MyThread.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -36,7 +36,7 @@ static void _thread_begin(void* arg) // NORMAL APPS SHOULD NOT DO THIS, EVER u32 *tls = (u32 *)getThreadLocalStorage(); memset(tls, 0, 0x80); - tls[0] = 0x21545624; + tls[0] = 0x21545624; // ROSALINA HACKJOB END // Rosalina specific: diff --git a/sysmodules/rosalina/source/draw.c b/sysmodules/rosalina/source/draw.c index f3f770a..a3efcf0 100644 --- a/sysmodules/rosalina/source/draw.c +++ b/sysmodules/rosalina/source/draw.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/errdisp.c b/sysmodules/rosalina/source/errdisp.c index 5b0010f..ca512d1 100644 --- a/sysmodules/rosalina/source/errdisp.c +++ b/sysmodules/rosalina/source/errdisp.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -185,7 +185,7 @@ static void ERRF_DisplayError(ERRF_FatalErrInfo *info) u32 posY = Draw_DrawString(10, 10, COLOR_RED, userString[0] == 0 ? "An error occurred (ErrDisp)" : userString); char buf[0x400]; - + ERRF_FormatError(buf, info); posY = posY < 30 ? 30 : posY; @@ -216,10 +216,10 @@ static Result ERRF_SaveErrorToFile(ERRF_FatalErrInfo *info) archiveId = isSdMode ? ARCHIVE_SDMC : ARCHIVE_NAND_RW; res = IFile_Open(&file, archiveId, fsMakePath(PATH_EMPTY, ""), fsMakePath(PATH_ASCII, "/luma/errdisp.txt"), FS_OPEN_WRITE | FS_OPEN_CREATE); - + if(R_FAILED(res)) return res; - + res = IFile_GetSize(&file, &size); if(R_FAILED(res)) { diff --git a/sysmodules/rosalina/source/fmt.c b/sysmodules/rosalina/source/fmt.c index 9de0715..a4ab1d9 100644 --- a/sysmodules/rosalina/source/fmt.c +++ b/sysmodules/rosalina/source/fmt.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -214,7 +214,7 @@ int vsprintf(char *buf, const char *fmt, va_list args) fmt++; integerType = 1; } - + } else if(*fmt == 'h') { diff --git a/sysmodules/rosalina/source/fsreg.c b/sysmodules/rosalina/source/fsreg.c index 56d2829..23875f3 100644 --- a/sysmodules/rosalina/source/fsreg.c +++ b/sysmodules/rosalina/source/fsreg.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb.c b/sysmodules/rosalina/source/gdb.c index c68ad9e..60ccf5c 100644 --- a/sysmodules/rosalina/source/gdb.c +++ b/sysmodules/rosalina/source/gdb.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb/breakpoints.c b/sysmodules/rosalina/source/gdb/breakpoints.c index bb157a4..d2f5fd8 100644 --- a/sysmodules/rosalina/source/gdb/breakpoints.c +++ b/sysmodules/rosalina/source/gdb/breakpoints.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb/debug.c b/sysmodules/rosalina/source/gdb/debug.c index f9ce5e2..fd82804 100644 --- a/sysmodules/rosalina/source/gdb/debug.c +++ b/sysmodules/rosalina/source/gdb/debug.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb/mem.c b/sysmodules/rosalina/source/gdb/mem.c index fe81325..17080e6 100644 --- a/sysmodules/rosalina/source/gdb/mem.c +++ b/sysmodules/rosalina/source/gdb/mem.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb/monitor.c b/sysmodules/rosalina/source/gdb/monitor.c index 76ca806..f2ce63c 100644 --- a/sysmodules/rosalina/source/gdb/monitor.c +++ b/sysmodules/rosalina/source/gdb/monitor.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb/net.c b/sysmodules/rosalina/source/gdb/net.c index 0bad8e3..46ca1b9 100644 --- a/sysmodules/rosalina/source/gdb/net.c +++ b/sysmodules/rosalina/source/gdb/net.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb/query.c b/sysmodules/rosalina/source/gdb/query.c index 1fc88a9..2aa5ca4 100644 --- a/sysmodules/rosalina/source/gdb/query.c +++ b/sysmodules/rosalina/source/gdb/query.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb/regs.c b/sysmodules/rosalina/source/gdb/regs.c index 1062ce2..ce04dc4 100644 --- a/sysmodules/rosalina/source/gdb/regs.c +++ b/sysmodules/rosalina/source/gdb/regs.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb/remote_command.c b/sysmodules/rosalina/source/gdb/remote_command.c index c565927..80a488f 100644 --- a/sysmodules/rosalina/source/gdb/remote_command.c +++ b/sysmodules/rosalina/source/gdb/remote_command.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb/server.c b/sysmodules/rosalina/source/gdb/server.c index 06dfb4a..c61b75a 100644 --- a/sysmodules/rosalina/source/gdb/server.c +++ b/sysmodules/rosalina/source/gdb/server.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb/stop_point.c b/sysmodules/rosalina/source/gdb/stop_point.c index 5c88075..394e0b5 100644 --- a/sysmodules/rosalina/source/gdb/stop_point.c +++ b/sysmodules/rosalina/source/gdb/stop_point.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb/thread.c b/sysmodules/rosalina/source/gdb/thread.c index 783c127..4e38bd3 100644 --- a/sysmodules/rosalina/source/gdb/thread.c +++ b/sysmodules/rosalina/source/gdb/thread.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb/verbose.c b/sysmodules/rosalina/source/gdb/verbose.c index fea7d42..274a47b 100644 --- a/sysmodules/rosalina/source/gdb/verbose.c +++ b/sysmodules/rosalina/source/gdb/verbose.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/gdb/watchpoints.c b/sysmodules/rosalina/source/gdb/watchpoints.c index 7e6383f..4296006 100644 --- a/sysmodules/rosalina/source/gdb/watchpoints.c +++ b/sysmodules/rosalina/source/gdb/watchpoints.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -99,7 +99,7 @@ int GDB_AddWatchpoint(GDBContext *ctx, u32 address, u32 size, WatchpointKind kin ((u32)kind << 3) | /* kind */ (2 << 1) | /* user mode only */ (1 << 0) ; /* enabled */ - + s64 out; Result r = svcGetHandleInfo(&out, ctx->debug, 0x10000); // context ID diff --git a/sysmodules/rosalina/source/gdb/xfer.c b/sysmodules/rosalina/source/gdb/xfer.c index 3eaf92a..d295b10 100644 --- a/sysmodules/rosalina/source/gdb/xfer.c +++ b/sysmodules/rosalina/source/gdb/xfer.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/hbloader.c b/sysmodules/rosalina/source/hbloader.c index 2a12692..3a8d426 100644 --- a/sysmodules/rosalina/source/hbloader.c +++ b/sysmodules/rosalina/source/hbloader.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/ifile.c b/sysmodules/rosalina/source/ifile.c index 0f45cc7..b2e8c88 100644 --- a/sysmodules/rosalina/source/ifile.c +++ b/sysmodules/rosalina/source/ifile.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/input_redirection.c b/sysmodules/rosalina/source/input_redirection.c index 311f769..90b6bfe 100644 --- a/sysmodules/rosalina/source/input_redirection.c +++ b/sysmodules/rosalina/source/input_redirection.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/input_redirection_hooks.s b/sysmodules/rosalina/source/input_redirection_hooks.s index e54e9df..3dcba6e 100644 --- a/sysmodules/rosalina/source/input_redirection_hooks.s +++ b/sysmodules/rosalina/source/input_redirection_hooks.s @@ -1,5 +1,5 @@ @ This file is part of Luma3DS -@ Copyright (C) 2016-2017 Aurora Wright, TuxSH +@ Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/main.c b/sysmodules/rosalina/source/main.c index 1dafa6a..c061aa0 100644 --- a/sysmodules/rosalina/source/main.c +++ b/sysmodules/rosalina/source/main.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 @@ -94,7 +94,7 @@ void initSystem() // NORMAL APPS SHOULD NOT DO THIS, EVER u32 *tls = (u32 *)getThreadLocalStorage(); memset(tls, 0, 0x80); - tls[0] = 0x21545624; + tls[0] = 0x21545624; // ROSALINA HACKJOB END // Rosalina specific: diff --git a/sysmodules/rosalina/source/memory.c b/sysmodules/rosalina/source/memory.c index de08c3d..bb14562 100644 --- a/sysmodules/rosalina/source/memory.c +++ b/sysmodules/rosalina/source/memory.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/menu.c b/sysmodules/rosalina/source/menu.c index 96a8469..ae32bf3 100644 --- a/sysmodules/rosalina/source/menu.c +++ b/sysmodules/rosalina/source/menu.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/menus.c b/sysmodules/rosalina/source/menus.c index 97a8166..85c7d4a 100644 --- a/sysmodules/rosalina/source/menus.c +++ b/sysmodules/rosalina/source/menus.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/menus/cheats.c b/sysmodules/rosalina/source/menus/cheats.c index 82207ff..64351bb 100644 --- a/sysmodules/rosalina/source/menus/cheats.c +++ b/sysmodules/rosalina/source/menus/cheats.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS - * Copyright (C) 2016-2017 Aurora Wright, TuxSH + * Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/menus/debugger.c b/sysmodules/rosalina/source/menus/debugger.c index 82b02bd..e8fa5e6 100644 --- a/sysmodules/rosalina/source/menus/debugger.c +++ b/sysmodules/rosalina/source/menus/debugger.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/menus/miscellaneous.c b/sysmodules/rosalina/source/menus/miscellaneous.c index 69013c3..6877bfc 100644 --- a/sysmodules/rosalina/source/menus/miscellaneous.c +++ b/sysmodules/rosalina/source/menus/miscellaneous.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/menus/n3ds.c b/sysmodules/rosalina/source/menus/n3ds.c index 1a7822c..2752e9f 100644 --- a/sysmodules/rosalina/source/menus/n3ds.c +++ b/sysmodules/rosalina/source/menus/n3ds.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/menus/process_list.c b/sysmodules/rosalina/source/menus/process_list.c index 3667dd1..14c49e7 100644 --- a/sysmodules/rosalina/source/menus/process_list.c +++ b/sysmodules/rosalina/source/menus/process_list.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/menus/process_patches.c b/sysmodules/rosalina/source/menus/process_patches.c index 47021a8..ca096b1 100644 --- a/sysmodules/rosalina/source/menus/process_patches.c +++ b/sysmodules/rosalina/source/menus/process_patches.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/menus/sysconfig.c b/sysmodules/rosalina/source/menus/sysconfig.c index 2a0a350..ca8b7e1 100644 --- a/sysmodules/rosalina/source/menus/sysconfig.c +++ b/sysmodules/rosalina/source/menus/sysconfig.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/minisoc.c b/sysmodules/rosalina/source/minisoc.c index e894ed6..06f04cc 100644 --- a/sysmodules/rosalina/source/minisoc.c +++ b/sysmodules/rosalina/source/minisoc.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/services.c b/sysmodules/rosalina/source/services.c index c9ac26c..979a731 100644 --- a/sysmodules/rosalina/source/services.c +++ b/sysmodules/rosalina/source/services.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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 diff --git a/sysmodules/rosalina/source/sock_util.c b/sysmodules/rosalina/source/sock_util.c index 2eb62a9..8f0daf5 100644 --- a/sysmodules/rosalina/source/sock_util.c +++ b/sysmodules/rosalina/source/sock_util.c @@ -1,6 +1,6 @@ /* * This file is part of Luma3DS -* Copyright (C) 2016-2017 Aurora Wright, TuxSH +* Copyright (C) 2016-2018 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