From 32a0045001027a0cb7b4a9fdf8a5f9f7532ed4c0 Mon Sep 17 00:00:00 2001 From: gibbed Date: Sat, 19 Oct 2013 01:18:18 -0700 Subject: [PATCH] This is probably better. --- src/xenia/cpu/x64/x64_emitter.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xenia/cpu/x64/x64_emitter.cc b/src/xenia/cpu/x64/x64_emitter.cc index f29c46b66..4edcc1357 100644 --- a/src/xenia/cpu/x64/x64_emitter.cc +++ b/src/xenia/cpu/x64/x64_emitter.cc @@ -576,8 +576,8 @@ void X64Emitter::GenerateBasicBlock(FunctionBlock* block) { clear_all_constant_gpr_values(); // TODO: this fixes crashes when not using instruction/branch tracing. Figure out why it's broken. - c.save(c.getGpArg(0)); - c.save(c.getGpArg(1)); + c.spill(c.getGpArg(0)); + c.spill(c.getGpArg(1)); // This will create a label if it hasn't already been done. std::map::iterator label_it =