aboutsummaryrefslogtreecommitdiff
path: root/mousmain.c
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-12 22:38:20 +0200
committerJavier <dev.git@javispedro.com>2022-04-12 22:38:20 +0200
commita109a1193ca3cf64a29265103075922d2dd9fc1b (patch)
treecde59f7e29ccca176dd150a51e8caf4613a86d1f /mousmain.c
parent2b9f509a04acb88d9ac72bce23b28099efdc4878 (diff)
downloadvbados-a109a1193ca3cf64a29265103075922d2dd9fc1b.tar.gz
vbados-a109a1193ca3cf64a29265103075922d2dd9fc1b.zip
add file date/time listing support, closeall call
Diffstat (limited to 'mousmain.c')
-rw-r--r--mousmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mousmain.c b/mousmain.c
index 8692048..c6d2e96 100644
--- a/mousmain.c
+++ b/mousmain.c
@@ -274,8 +274,8 @@ static int configure_driver(LPTSRDATA data)
static int move_driver_to_umb(LPTSRDATA __far * data)
{
- segment_t cur_seg = FP_SEG(data);
- segment_t umb_seg = reallocate_to_umb(&cur_seg, get_resident_size() + DOS_PSP_SIZE);
+ segment_t cur_seg = FP_SEG(*data);
+ segment_t umb_seg = reallocate_to_umb(cur_seg, get_resident_size() + DOS_PSP_SIZE);
if (umb_seg) {
// Update the data pointer with the new segment