mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
Fix compilation on GCC and other Linux fixes (#80)
This commit is contained in:
parent
96dcc7c82e
commit
454b587e36
43 changed files with 339 additions and 292 deletions
|
@ -158,15 +158,15 @@ void LatteMRT::ApplyCurrentState()
|
|||
if (colorView)
|
||||
{
|
||||
key += ((uint64)colorView);
|
||||
key = _rotl64(key, 5);
|
||||
key = std::rotl(key, 5);
|
||||
fboLookupView = colorView;
|
||||
}
|
||||
key = _rotl64(key, 7);
|
||||
key = std::rotl(key, 7);
|
||||
}
|
||||
if (sLatteCurrentRendertargets.depthBuffer.view)
|
||||
{
|
||||
key += ((uint64)sLatteCurrentRendertargets.depthBuffer.view);
|
||||
key = _rotl64(key, 5);
|
||||
key = std::rotl(key, 5);
|
||||
key += (sLatteCurrentRendertargets.depthBuffer.hasStencil);
|
||||
if (fboLookupView == NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue