ConvertListDataType now converts all of the lists.

This commit is contained in:
brandman211 2012-06-08 02:25:24 +00:00
parent 67a9f86c78
commit 4a6fed75d9
1 changed files with 11 additions and 6 deletions

View File

@ -897,14 +897,11 @@ namespace BizHawk.MultiClient
switch (GetDataSize()) switch (GetDataSize())
{ {
case atype.BYTE: case atype.BYTE:
real = (int)(byte)real; return (int)(byte)real;
break;
case atype.WORD: case atype.WORD:
real = (int)(ushort)real; return (int)(ushort)real;
break;
case atype.DWORD: case atype.DWORD:
real = (int)(uint)real; return (int)(uint)real;
break;
} }
return real; return real;
case asigned.HEX: case asigned.HEX:
@ -1088,6 +1085,14 @@ namespace BizHawk.MultiClient
{ {
for (int x = 0; x < searchList.Count; x++) for (int x = 0; x < searchList.Count; x++)
searchList[x].signed = s; searchList[x].signed = s;
for (int x = 0; x < undoList.Count; x++)
undoList[x].signed = s;
for (int x = 0; x < weededList.Count; x++)
weededList[x].signed = s;
for (int x = 0; x < prevList.Count; x++)
prevList[x].signed = s;
for (int x = 0; x < redoList.Count; x++)
redoList[x].signed = s;
} }
private void signedToolStripMenuItem_Click(object sender, EventArgs e) private void signedToolStripMenuItem_Click(object sender, EventArgs e)