diff --git a/deps/premake/wintoast.lua b/deps/premake/wintoast.lua deleted file mode 100644 index deffb7c..0000000 --- a/deps/premake/wintoast.lua +++ /dev/null @@ -1,32 +0,0 @@ -wintoast = { - source = path.join(dependencies.basePath, "WinToast"), -} - -function wintoast.import() - links { "WinToast" } - wintoast.includes() -end - -function wintoast.includes() - includedirs { - path.join(wintoast.source, "include"), - } -end - -function wintoast.project() - project "WinToast" - language "C++" - - wintoast.includes() - rapidjson.import(); - - files { - path.join(wintoast.source, "include/wintoastlib.h"), - path.join(wintoast.source, "src/wintoastlib.cpp"), - } - - warnings "Off" - kind "StaticLib" -end - -table.insert(dependencies, wintoast) diff --git a/src/client/component/fastfiles.cpp b/src/client/component/fastfiles.cpp index 7830283..17b4629 100644 --- a/src/client/component/fastfiles.cpp +++ b/src/client/component/fastfiles.cpp @@ -169,6 +169,9 @@ namespace fastfiles // Fix compressor type on streamed file load db_read_stream_file_hook.create(0x14027AA70, db_read_stream_file_stub); + + // Allow loading of unsigned fastfiles + utils::hook::nop(0x1402427A5, 2); // DB_InflateInit } } };