diff options
| author | comex <comexk@gmail.com> | 2014-10-28 23:39:35 -0400 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2014-10-28 23:39:35 -0400 |
| commit | 089e32ba7d7f48993fa0706f7b9f69a12bf7192a (patch) | |
| tree | 5714587e3115ac41da9c1c30f7b154ccc1124929 /Source/Core/VideoCommon/VertexLoader.cpp | |
| parent | 7747c9efbb35d5c3cd79f54f3c00721346eb24b5 (diff) | |
| parent | c81e3da22f8f0c4d4afdb2c05c9d2282a54d35ac (diff) | |
Merge pull request #1307 from comex/bitset
Higher level bitset wrapper
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index 291bb94c62..e4974a8b2b 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -141,7 +141,7 @@ void VertexLoader::CompileVertexTranslator() m_compiledCode = GetCodePtr(); // We only use RAX (caller saved) and RBX (callee saved). - ABI_PushRegistersAndAdjustStack(1 << RBX, 8); + ABI_PushRegistersAndAdjustStack({RBX}, 8); // save count MOV(64, R(RBX), R(ABI_PARAM1)); @@ -402,7 +402,7 @@ void VertexLoader::CompileVertexTranslator() SUB(64, R(RBX), Imm8(1)); J_CC(CC_NZ, loop_start); - ABI_PopRegistersAndAdjustStack(1 << RBX, 8); + ABI_PopRegistersAndAdjustStack({RBX}, 8); RET(); #endif } |
