remove savestate code from ems/xms

This commit is contained in:
Jonathan Campbell 2013-10-20 12:35:27 -07:00
parent 3b339e2356
commit 41c34b2a77
2 changed files with 0 additions and 39 deletions

View File

@ -31,7 +31,6 @@
#include "setup.h"
#include "support.h"
#include "cpu.h"
#include "../save_state.h"
#include "dma.h"
#define EMM_PAGEFRAME 0xE000
@ -1471,26 +1470,3 @@ void EMS_Init(Section* sec) {
//Initialize static members
Bit16u EMS::ems_baseseg = 0;
//save state support
namespace
{
class SerializeEMS : public SerializeGlobalPOD
{
public:
SerializeEMS() : SerializeGlobalPOD("EMS")
{
registerPOD(emm_handles);
registerPOD(emm_mappings);
registerPOD(emm_segmentmappings);
registerPOD(GEMMIS_seg);
registerPOD(vcpi.enabled);
registerPOD(vcpi.ems_handle);
registerPOD(vcpi.pm_interface);
registerPOD(vcpi.private_area);
registerPOD(vcpi.pic1_remapping);
registerPOD(vcpi.pic2_remapping);
}
} dummy;
}

View File

@ -29,7 +29,6 @@
#include "inout.h"
#include "xms.h"
#include "bios.h"
#include "../save_state.h"
#define XMS_HANDLES 50 /* 50 XMS Memory Blocks */
#define XMS_VERSION 0x0300 /* version 3.00 */
@ -488,17 +487,3 @@ void XMS_Init(Section* sec) {
sec->AddDestroyFunction(&XMS_ShutDown,true);
}
//save state support
namespace
{
class SerializeXMS : public SerializeGlobalPOD
{
public:
SerializeXMS() : SerializeGlobalPOD("XMS")
{
registerPOD(xms_handles);
}
} dummy;
}