diff --git a/zsnes/src/ui.asm b/zsnes/src/ui.asm index 26c5a085..08bb7902 100644 --- a/zsnes/src/ui.asm +++ b/zsnes/src/ui.asm @@ -1309,7 +1309,7 @@ DetermineNew: mov bx,ax mov edx,fnamest+1 call Get_File_Date -%ifndef __LINUX__ +%ifdef __MSDOS__ shl edx,16 mov dx,cx %endif diff --git a/zsnes/src/video/procvid.asm b/zsnes/src/video/procvid.asm index f79731f8..5e81f263 100644 --- a/zsnes/src/video/procvid.asm +++ b/zsnes/src/video/procvid.asm @@ -1210,7 +1210,7 @@ DetermineNew: mov bx,ax mov edx,fnamest+1 call Get_File_Date -%ifndef __LINUX__ +%ifdef __MSDOS__ shl edx,16 mov dx,cx %endif