diff options
author | Javier <dev.git@javispedro.com> | 2022-04-11 04:36:49 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-04-11 04:36:49 +0200 |
commit | 19231982b2f374aed286f4697aebd3fb9fda05d8 (patch) | |
tree | 1922eaf34af3d904ce0f75c0e812e8da8e0d38d4 /mousetsr.c | |
parent | 970f90228a6978712c28529437721caffec76202 (diff) | |
download | vbados-19231982b2f374aed286f4697aebd3fb9fda05d8.tar.gz vbados-19231982b2f374aed286f4697aebd3fb9fda05d8.zip |
add new virtualbox shared folders client
Diffstat (limited to 'mousetsr.c')
-rw-r--r-- | mousetsr.c | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -1448,20 +1448,14 @@ static LPTSRDATA int33_get_tsr_data(void); __value [es di] \ __modify [ax] -static LPTSRDATA local_get_tsr_data(void); -#pragma aux local_get_tsr_data = \ - "mov ax, cs" \ - "mov es, ax" \ - "mov di, offset data" \ - __value [es di] \ - __modify [ax] - LPTSRDATA __far get_tsr_data(bool installed) { if (installed) { return int33_get_tsr_data(); } else { - return local_get_tsr_data(); + // Get the TSR data of this instance, not the one currently installed + // This is as simple as getting the data from this segment + return MK_FP(get_cs(), FP_OFF(&data)); } } |