Uncomment mapdumping code.

This commit is contained in:
upthorn 2018-12-21 22:35:38 -08:00
parent b343a19acc
commit d3cb19e56b
1 changed files with 2 additions and 2 deletions

View File

@ -2911,13 +2911,13 @@ namespace BizHawk.Client.EmuHawk
//EmuHawkPluginLibrary.SetGameExtraPadding(160, 112, 160, 112); //EmuHawkPluginLibrary.SetGameExtraPadding(160, 112, 160, 112);
if (_dumpMap <= 1) EccoDrawBoxes(); if (_dumpMap <= 1) EccoDrawBoxes();
// Uncomment the following block to enable mapdumping // Uncomment the following block to enable mapdumping
/*if ((_api.MemLib.ReadU16(0xFFA7C8) > 1) && (_api.MemLib.ReadU16(0xFFA7C8) < 4)) if ((_api.MemLib.ReadU16(0xFFA7C8) > 1) && (_api.MemLib.ReadU16(0xFFA7C8) < 4))
{ {
_dumpMap = 1; _dumpMap = 1;
_rowStateGuid = string.Empty; _rowStateGuid = string.Empty;
_top = _bottom = _left = _right = 0; _top = _bottom = _left = _right = 0;
EmuHawkPluginLibrary.SetGameExtraPadding(0, 0, 0, 0); EmuHawkPluginLibrary.SetGameExtraPadding(0, 0, 0, 0);
}*/ }
if (_dumpMap == 3) if (_dumpMap == 3)
{ {
var levelID = _api.MemLib.ReadS8(0xFFA7D0); var levelID = _api.MemLib.ReadS8(0xFFA7D0);