mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 03:41:10 +08:00
remove savestate code from ems/xms
This commit is contained in:
parent
3b339e2356
commit
41c34b2a77
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user