Update to spice2x-25-04-25 (pre-apply)
> broken commit
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "external/rapidjson/document.h"
|
||||
#include "avs/game.h"
|
||||
#include "hooks/graphics/graphics.h"
|
||||
#include "misc/eamuse.h"
|
||||
#include "launcher/launcher.h"
|
||||
#include "touch/touch.h"
|
||||
@@ -18,7 +19,12 @@ namespace api::modules {
|
||||
|
||||
Touch::Touch() : Module("touch") {
|
||||
is_sdvx = avs::game::is_model("KFC");
|
||||
|
||||
is_tdj_fhd = (avs::game::is_model("LDJ") && games::iidx::is_tdj_fhd());
|
||||
// special case: when windowed subscreen is in use, use the original coords
|
||||
if (GRAPHICS_IIDX_WSUB) {
|
||||
is_tdj_fhd = false;
|
||||
}
|
||||
|
||||
functions["read"] = std::bind(&Touch::read, this, _1, _2);
|
||||
functions["write"] = std::bind(&Touch::write, this, _1, _2);
|
||||
|
||||
Reference in New Issue
Block a user