From f66b3024f91d26f4ff495373fcc9496946533170 Mon Sep 17 00:00:00 2001 From: fvdl Date: Fri, 1 Sep 2000 14:50:45 +0000 Subject: Patch to make bochs accept 2.88 floppies in the bochsrc file. --- emulators/bochs/patches/patch-af | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 emulators/bochs/patches/patch-af (limited to 'emulators/bochs') 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; + } -- cgit v1.2.3