From 808a54e2173e5d72bd941768db5750317459f52b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 16 Feb 2020 17:40:06 +0100 Subject: [PATCH] Cleanups --- gfx/video_layout.c | 22 ++++++++++++++++++++++ gfx/video_layout.h | 23 +++++++++++++++++++++++ menu/menu_shader.c | 4 +++- 3 files changed, 48 insertions(+), 1 deletion(-) diff --git a/gfx/video_layout.c b/gfx/video_layout.c index 87735fa201..f8443c0223 100644 --- a/gfx/video_layout.c +++ b/gfx/video_layout.c @@ -1,3 +1,25 @@ +/* Copyright (C) 2010-2020 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (video_layout.c). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + #include #include #include diff --git a/gfx/video_layout.h b/gfx/video_layout.h index 8979e20329..fa9390dd16 100644 --- a/gfx/video_layout.h +++ b/gfx/video_layout.h @@ -1,5 +1,28 @@ +/* Copyright (C) 2010-2020 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (video_layout.h). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + #ifndef VIDEO_LAYOUT_H #define VIDEO_LAYOUT_H + #include "video_layout/types.h" #include #include diff --git a/menu/menu_shader.c b/menu/menu_shader.c index 0a9ab874bf..a7fdd7d9e4 100644 --- a/menu/menu_shader.c +++ b/menu/menu_shader.c @@ -26,8 +26,10 @@ #include "../config.h" #endif -#include "menu_driver.h" +#include "menu_entries.h" #include "menu_shader.h" + +#include "../command.h" #include "../file_path_special.h" #include "../paths.h" #include "../retroarch.h"