mods: add missing patch
Co-authored-by: mjkzy <mjkzyalt@gmail.com>
This commit is contained in:
parent
c99fb7c6a0
commit
189cca6a80
32
deps/premake/wintoast.lua
vendored
32
deps/premake/wintoast.lua
vendored
@ -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)
|
|
@ -169,6 +169,9 @@ namespace fastfiles
|
|||||||
|
|
||||||
// Fix compressor type on streamed file load
|
// Fix compressor type on streamed file load
|
||||||
db_read_stream_file_hook.create(0x14027AA70, db_read_stream_file_stub);
|
db_read_stream_file_hook.create(0x14027AA70, db_read_stream_file_stub);
|
||||||
|
|
||||||
|
// Allow loading of unsigned fastfiles
|
||||||
|
utils::hook::nop(0x1402427A5, 2); // DB_InflateInit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user