mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-11-29 10:48:56 -08:00
Compare commits
2
Commits
c83496776e
...
26-10-30
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
37f947b57f | ||
|
|
63bfef7c69 |
No files matched your search
@@ -1,11 +1,14 @@
|
||||
#include "core.h"
|
||||
|
||||
#include <climits>
|
||||
#include <cstring>
|
||||
#include <mutex>
|
||||
#include <optional>
|
||||
#include <vector>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "avs/game.h"
|
||||
#include "external/robin_hood.h"
|
||||
#include "games/popn/popn.h"
|
||||
#include "launcher/logger.h"
|
||||
@@ -1181,6 +1184,18 @@ namespace avs {
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef SPICE64
|
||||
// nabla increased heap size a few months into service (June 2026?)
|
||||
if (dll_name == "soundvoltex.dll" &&
|
||||
avs::game::is_ext(2025121501, INT_MAX)) {
|
||||
auto old_size = HEAP_SIZE;
|
||||
HEAP_SIZE = 0x18000000;
|
||||
DEFAULT_HEAP_SIZE_SET = true;
|
||||
log_info("avs-core", "updated heap size: {} -> {} (nabla)", old_size, avs::core::HEAP_SIZE);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
// hack, both hello! popn and popn hc using popn.dll
|
||||
if (games::popn::is_pikapika_model()) {
|
||||
auto old_size = HEAP_SIZE;
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "settings.h"
|
||||
#include "transform.h"
|
||||
|
||||
#include "hooks/graphics/graphics.h"
|
||||
#include "touch/touch.h"
|
||||
#include "util/logging.h"
|
||||
|
||||
@@ -141,6 +142,13 @@ namespace nativetouch::inject {
|
||||
end_mouse_contact(window);
|
||||
}
|
||||
|
||||
// SDVX accepts both mouse and touch on its windowed subscreen, causing duplicate input.
|
||||
if (GRAPHICS_WINDOWED &&
|
||||
window == SDVX_SUBSCREEN_WINDOW &&
|
||||
message >= WM_MOUSEFIRST && message <= WM_MOUSELAST) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user