mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 01:45:35 -05:00
Compare commits
4 commits
13b30e591a
...
0e8d4c60bc
Author | SHA1 | Date | |
---|---|---|---|
|
0e8d4c60bc | ||
|
81cd8d1bca | ||
|
48cad613c7 | ||
|
f9fed578aa |
6 changed files with 29 additions and 21 deletions
|
@ -35,6 +35,12 @@
|
|||
* Add hashtag symbol to CommonFilter::Any (#1131)
|
||||
* Disable forward compat on android (c9e97af)
|
||||
|
||||
## v3.9.2
|
||||
* Fix searching for mods returning unavailable mods (#1149)
|
||||
|
||||
## v3.9.1
|
||||
* Fix mod downloads not checking version (f575187)
|
||||
|
||||
## v3.9.0
|
||||
* Many changes to the settings ui (#1108)
|
||||
* Fuzzy search is now more reasonable
|
||||
|
|
|
@ -237,7 +237,7 @@ endif()
|
|||
|
||||
set(MAT_JSON_AS_INTERFACE ON)
|
||||
CPMAddPackage("gh:geode-sdk/result@1.2.1")
|
||||
CPMAddPackage("gh:geode-sdk/json@3.0.3")
|
||||
CPMAddPackage("gh:geode-sdk/json@3.1.0")
|
||||
CPMAddPackage("gh:fmtlib/fmt#11.0.2")
|
||||
|
||||
target_compile_definitions(${PROJECT_NAME} INTERFACE MAT_JSON_DYNAMIC=1)
|
||||
|
|
|
@ -37,15 +37,15 @@ static void patchCall(uintptr_t addr, uintptr_t newCall) {
|
|||
$execute {
|
||||
if (LoaderImpl::get()->isForwardCompatMode()) return;
|
||||
|
||||
#if GEODE_COMP_GD_VERSION == 22040
|
||||
// BitmapDC::~BitmapDC
|
||||
#if 0 // TODO: mat GEODE_COMP_GD_VERSION == 22040
|
||||
patchCall(0xC9A56, (uintptr_t)&RemoveFontResourceWHook);
|
||||
|
||||
// BitmapDC::setFont
|
||||
patchCall(0xCB5BC, (uintptr_t)&RemoveFontResourceWHook);
|
||||
patchCall(0xCB642, (uintptr_t)&AddFontResourceWHook);
|
||||
#else
|
||||
// #pragma message("Unsupported GD version!")
|
||||
#pragma message("Unsupported GD version!")
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
|
@ -505,6 +505,7 @@ void Loader::Impl::loadModGraph(Mod* node, bool early) {
|
|||
thread::setName("Mod Unzip");
|
||||
log::loadNest(nest);
|
||||
auto res = unzipFunction();
|
||||
this->queueInMainThread([=, this, res = std::move(res)]() {
|
||||
auto prevNest = log::saveNest();
|
||||
log::loadNest(nest);
|
||||
if (!res) {
|
||||
|
@ -518,7 +519,6 @@ void Loader::Impl::loadModGraph(Mod* node, bool early) {
|
|||
log::loadNest(prevNest);
|
||||
return;
|
||||
}
|
||||
this->queueInMainThread([=, this]() {
|
||||
loadFunction();
|
||||
log::loadNest(prevNest);
|
||||
});
|
||||
|
|
|
@ -554,11 +554,10 @@ ServerRequest<ServerModsList> server::getMods(ModsQuery const& query, bool useCa
|
|||
// Add search params
|
||||
if (query.query) {
|
||||
req.param("query", *query.query);
|
||||
} else {
|
||||
// Target current GD version and Loader version when query is not set
|
||||
}
|
||||
|
||||
req.param("gd", GEODE_GD_VERSION_STR);
|
||||
req.param("geode", Loader::get()->getVersion().toNonVString());
|
||||
}
|
||||
|
||||
if (query.platforms.size()) {
|
||||
std::string plats = "";
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
#include "ModPopup.hpp"
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include <Geode/binding/ButtonSprite.hpp>
|
||||
#include <Geode/ui/MDTextArea.hpp>
|
||||
#include <Geode/ui/TextInput.hpp>
|
||||
|
|
Loading…
Reference in a new issue