Compare commits

..

No commits in common. "disc-read-error" and "master" have entirely different histories.

2 changed files with 32 additions and 3 deletions

32
deps/premake/wintoast.lua vendored Normal file
View File

@ -0,0 +1,32 @@
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)

View File

@ -189,9 +189,6 @@ namespace mods
// Load mod.ff
utils::hook::call(0x1405A562A, db_load_x_assets_stub); // R_LoadGraphicsAssets According to myself but I don't remember where I got it from
// Allow loading of unsigned fastfiles
utils::hook::nop(0x1402427A5, 2); // DB_InflateInit
command::add("loadmod", [](const command::params& params) -> void
{
if (params.size() != 2)