From da2a6ed0ad2aa61ba4f72cf56480509bbbf296a4 Mon Sep 17 00:00:00 2001 From: neonloop Date: Sun, 16 Jul 2023 17:13:40 +0000 Subject: Updates Makefile and core patches --- .../fake-08/0001-add-missing-headers-gcc-13.patch | 88 ++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 patches/fake-08/0001-add-missing-headers-gcc-13.patch (limited to 'patches/fake-08') diff --git a/patches/fake-08/0001-add-missing-headers-gcc-13.patch b/patches/fake-08/0001-add-missing-headers-gcc-13.patch new file mode 100644 index 0000000..9f0c638 --- /dev/null +++ b/patches/fake-08/0001-add-missing-headers-gcc-13.patch @@ -0,0 +1,88 @@ +diff --git a/platform/libretro/libretrohosthelpers.h b/platform/libretro/libretrohosthelpers.h +index e898bf3..4f0d1b2 100644 +--- a/platform/libretro/libretrohosthelpers.h ++++ b/platform/libretro/libretrohosthelpers.h +@@ -1,4 +1,5 @@ + #include ++#include + + void setInputState( + uint8_t kDown, +@@ -7,4 +8,4 @@ void setInputState( + int16_t mouseY, + uint8_t mouseBtnState); + +-void setCartDirectory(std::string dir); +\ No newline at end of file ++void setCartDirectory(std::string dir); +diff --git a/source/PicoRam.h b/source/PicoRam.h +index ff4c4e9..424ffa8 100644 +--- a/source/PicoRam.h ++++ b/source/PicoRam.h +@@ -1,5 +1,6 @@ + #pragma once + ++#include + #include + #include + +diff --git a/source/emojiconversion.cpp b/source/emojiconversion.cpp +index 2db1635..38b5534 100644 +--- a/source/emojiconversion.cpp ++++ b/source/emojiconversion.cpp +@@ -16,11 +16,11 @@ + // replacement before they actually remove the feature. + #define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING 1 + +- + #include + #include + #include + #include ++#include + #include + #include + #include +@@ -164,4 +164,4 @@ std::string charset::upper_to_emoji(std::string str) + } + + return charset::utf8_to_pico8(newstring); +-} +\ No newline at end of file ++} +diff --git a/source/fontdata.cpp b/source/fontdata.cpp +index 1fdda14..cef9b3f 100644 +--- a/source/fontdata.cpp ++++ b/source/fontdata.cpp +@@ -1,6 +1,7 @@ + + //taken from tac08: https://github.com/0xcafed00d/tac08 + #include ++#include + + const char* font_ss_str = R"(77700000000000000000000000000000000000000000000000700000700000007770000000000000707000000000000000000000000000007070000007000000 + 77700000777000007770000070700000707000007070000007700000770000007000000000700000777000000000000000000000000000007070000070700000 +@@ -406,4 +407,4 @@ uint8_t defaultFontBinaryData[2048] = { + 0, 14, 30, 8, 14, 0, 0, 0, // char 253 + 8, 4, 99, 16, 8, 0, 0, 0, // char 254 + 8, 16, 99, 4, 8, 0, 0, 0, // char 255 +-}; +\ No newline at end of file ++}; +diff --git a/source/stringToDataHelpers.h b/source/stringToDataHelpers.h +index dfa8336..3766d29 100644 +--- a/source/stringToDataHelpers.h ++++ b/source/stringToDataHelpers.h +@@ -1,9 +1,10 @@ + #pragma once + + #include ++#include + + void copy_string_to_sprite_memory(uint8_t sprite_data[128 * 64], std::string data); + + void copy_mini_label_to_sprite_memory(uint8_t sprite_data[128 * 64], std::string data, int labeloffset); + +-void copy_string_to_memory(uint8_t* sprite_flag_data, std::string data); +\ No newline at end of file ++void copy_string_to_memory(uint8_t* sprite_flag_data, std::string data); -- cgit v1.2.3