diff options
author | Javier <dev.git@javispedro.com> | 2022-04-08 02:17:46 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-08 02:17:46 +0200 |
commit | 98a343355c3459b892792585788069bac3bc40e7 (patch) | |
tree | 1ff4674815775c323822e03c3c0f05c49204a549 /dostsr.h | |
parent | db308ca65b8f0ddb61969e7e4b4fb2145d8a27c2 (diff) | |
download | vbados-98a343355c3459b892792585788069bac3bc40e7.tar.gz vbados-98a343355c3459b892792585788069bac3bc40e7.zip |
try to detect video mode changes
Diffstat (limited to 'dostsr.h')
-rw-r--r-- | dostsr.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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. */ |