diff options
author | fvdl <fvdl> | 2000-09-01 14:50:45 +0000 |
---|---|---|
committer | fvdl <fvdl> | 2000-09-01 14:50:45 +0000 |
commit | 810f40a002abb5fba166787396314c071a5815a2 (patch) | |
tree | 03deb00c08078399a58dd1bdc63eec52fb1bf01e /emulators | |
parent | 5944bfeb28cec219f2ba965454ad5d468a9d4c50 (diff) | |
download | pkgsrc-810f40a002abb5fba166787396314c071a5815a2.tar.gz |
Patch to make bochs accept 2.88 floppies in the bochsrc file.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/bochs/patches/patch-af | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/emulators/bochs/patches/patch-af b/emulators/bochs/patches/patch-af new file mode 100644 index 00000000000..ec882551e1d --- /dev/null +++ b/emulators/bochs/patches/patch-af @@ -0,0 +1,17 @@ +$NetBSD: patch-af,v 1.1 2000/09/01 14:50:45 fvdl Exp $ + +--- main.cc.orig Tue Jan 4 21:28:26 2000 ++++ main.cc Fri Sep 1 16:01:16 2000 +@@ -447,8 +447,12 @@ + if (!strncmp(params[i], "1_44=", 5)) { + strcpy(bx_options.floppya.path, ¶ms[i][5]); + bx_options.floppya.type = BX_FLOPPY_1_44; + } ++ else if (!strncmp(params[i], "2_88=", 5)) { ++ strcpy(bx_options.floppya.path, ¶ms[i][5]); ++ bx_options.floppya.type = BX_FLOPPY_2_88; ++ } + else if (!strncmp(params[i], "1_2=", 4)) { + strcpy(bx_options.floppya.path, ¶ms[i][4]); + bx_options.floppya.type = BX_FLOPPY_1_2; + } |