limit reported disk space to 1GB, take 2
Dan Kegel
dank at kegel.com
Sun Jul 23 19:29:31 CDT 2006
This patch gets Lotus SmartSuite for Windows 3.1
to install, and is less hacky than my last try.
That app, and probably many other win16 apps,
refuses to install if the reported disk space is
unexpected larger than the disks that were common back then.
I tested conformance with a little test app that calls
int21/ah=36h and prints out the results in hex.
The test program and results on several drives
are attached to
http://bugs.winehq.org/show_bug.cgi?id=5711
Changelog:
winedos/int21.c: limit disk space reported by ah=36h to 1GB
int21.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 52 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diskfree.patch
Type: text/x-patch
Size: 3249 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060723/a82ed45a/diskfree.bin
More information about the wine-patches
mailing list