aboutsummaryrefslogtreecommitdiff
path: root/mousew16.c
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2026-08-30 23:02:11 +0200
committerJavier <dev.git@javispedro.com>2026-08-30 23:02:11 +0200
commitd27caefd5fb1465c6641a4555f66d2d1b64ff804 (patch)
tree5d7e1ad7280550ddf88eda4425a650b99ad3cda1 /mousew16.c
parent8ed9a1bb205faf76f6487a2d8a94f3cf2fb721c9 (diff)
downloadvbados-d27caefd5fb1465c6641a4555f66d2d1b64ff804.tar.gz
vbados-d27caefd5fb1465c6641a4555f66d2d1b64ff804.zip
fix out of memory error in windows 3.0 by fixing data segment
Diffstat (limited to 'mousew16.c')
-rw-r--r--mousew16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mousew16.c b/mousew16.c
index 2d539e3..85ffac4 100644
--- a/mousew16.c
+++ b/mousew16.c
@@ -288,7 +288,7 @@ static void send_wheel_movement(int8_t z, BOOL horizontal)
#endif /* USE_WHEEL */
/** Called by the int33 mouse driver. */
-static void FAR int33_mouse_callback(uint16_t events, uint16_t buttons, int16_t x, int16_t y, int16_t delta_x, int16_t delta_y)
+void FAR int33_mouse_callback(uint16_t events, uint16_t buttons, int16_t x, int16_t y, int16_t delta_x, int16_t delta_y)
#pragma aux (INT33_CB) int33_mouse_callback
{
int status = 0;