From 967524cd760bd2778fbba6b702489a7f0f957bfd Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Thu, 14 Feb 2013 15:00:55 +0000 Subject: [PATCH] Clean up Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3818 --- include/dma.h | 2 -- src/hardware/dma.cpp | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dma.h b/include/dma.h index d0e4fc79..3f2915cb 100644 --- a/include/dma.h +++ b/include/dma.h @@ -115,6 +115,4 @@ bool SecondDMAControllerAvailable(void); void DMA_SetWrapping(Bitu wrap); -static Bit32u dma_wrapping = 0xffff; - #endif diff --git a/src/hardware/dma.cpp b/src/hardware/dma.cpp index 6d1bb9b0..830aa58d 100644 --- a/src/hardware/dma.cpp +++ b/src/hardware/dma.cpp @@ -31,6 +31,8 @@ DmaController *DmaControllers[2]; #define EMM_PAGEFRAME4K ((0xE000*16)/4096) Bit32u ems_board_mapping[LINK_START]; +static Bit32u dma_wrapping = 0xffff; + static void UpdateEMSMapping(void) { /* if EMS is not present, this will result in a 1:1 mapping */ Bitu i;