Commit a4026648 authored by PoroCYon's avatar PoroCYon

Fix compilation under VS 2017

parent 92a4e1dc
......@@ -395,12 +395,13 @@ namespace Altar.Recomp
{
foreach (var inst in instructions)
{
var ins_ = inst;
var instdata = new BinBuffer();
instdata.Write(inst);
uint size;
unsafe
{
size = DisasmExt.Size(&inst, bytecodeVersion) * 4;
size = DisasmExt.Size(&ins_, bytecodeVersion) * 4;
}
data.Buffer.Write(instdata, 0, (int)size, 0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment