aboutsummaryrefslogtreecommitdiff
path: root/dostsr.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-08 02:17:46 +0200
committerJavier <dev.git@javispedro.com>2022-04-08 02:17:46 +0200
commit98a343355c3459b892792585788069bac3bc40e7 (patch)
tree1ff4674815775c323822e03c3c0f05c49204a549 /dostsr.h
parentdb308ca65b8f0ddb61969e7e4b4fb2145d8a27c2 (diff)
downloadvbados-98a343355c3459b892792585788069bac3bc40e7.tar.gz
vbados-98a343355c3459b892792585788069bac3bc40e7.zip
try to detect video mode changes
Diffstat (limited to 'dostsr.h')
-rw-r--r--dostsr.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/dostsr.h b/dostsr.h
index 5aae98c..50d4441 100644
--- a/dostsr.h
+++ b/dostsr.h
@@ -53,8 +53,8 @@
#define VERSION_MAJOR 0
#define VERSION_MINOR 4
-#define REPORTED_VERSION_MAJOR 8
-#define REPORTED_VERSION_MINOR 0x20
+#define REPORTED_VERSION_MAJOR 6
+#define REPORTED_VERSION_MINOR 0x30
#if USE_VIRTUALBOX
#include "vbox.h"
@@ -121,6 +121,8 @@ typedef struct tsrdata {
/** Current remainder of delta movement that does not yet translate to an entire mickey
* Usually only when mickeysPerLine is not a multiple of 8. */
struct point delta_frac;
+ /** Last absolute position (to compute a delta for relative motion emulation). Using -1 for "none". */
+ struct point abs_pos;
/** Total mickeys moved in the last second. */
uint16_t total_motion;
/** Ticks when the above value was last reset. */