Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Build fix for previous commit.
  • Loading branch information
Sonicadvance1 committed Oct 12, 2013
1 parent cf7521d commit 0556193
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Core/Core/Src/PowerPC/JitArmIL/JitILAsm.cpp
Expand Up @@ -49,7 +49,7 @@ void JitArmILAsmRoutineManager::Generate()
Operand2 iCacheMask = Operand2(0xE, 2); // JIT_ICACHE_MASK
BIC(R12, R12, iCacheMask); // R12 contains PC & JIT_ICACHE_MASK here.

MOVI2R(R14, (u32)jit->GetBlockCache()->GetICache());
MOVI2R(R14, (u32)jit->GetBlockCache()->iCache);

LDR(R12, R14, R12); // R12 contains iCache[PC & JIT_ICACHE_MASK] here
// R12 Confirmed this is the correct iCache Location loaded.
Expand Down
3 changes: 2 additions & 1 deletion Source/Core/VideoBackends/OGL/Src/FramebufferManager.cpp
Expand Up @@ -7,6 +7,7 @@
#include "VertexShaderGen.h"
#include "OnScreenDisplay.h"
#include "GLFunctions.h"
#include "DriverDetails.h"

#include "TextureConverter.h"
#include "Render.h"
Expand Down Expand Up @@ -66,7 +67,7 @@ FramebufferManager::FramebufferManager(int targetWidth, int targetHeight, int ms

// Create EFB target.
u32 depthType, rgbaType;
if (DriverDetails::HasBug(BUG_ISTEGRA))
if (DriverDetails::HasBug(DriverDetails::BUG_ISTEGRA))
{
depthType = GL_DEPTH_COMPONENT;
rgbaType = GL_RGBA;
Expand Down
3 changes: 2 additions & 1 deletion Source/Core/VideoBackends/OGL/Src/TextureConverter.cpp
Expand Up @@ -19,6 +19,7 @@
#include "Render.h"
#include "FileUtil.h"
#include "HW/Memmap.h"
#include "DriverDetails.h"

namespace OGL
{
Expand Down Expand Up @@ -168,7 +169,7 @@ void Init()
glTexParameteri(getFbType(), GL_TEXTURE_MAX_LEVEL, 0);

u32 rgbaType;
if (DriverDetails::HasBug(BUG_ISTEGRA))
if (DriverDetails::HasBug(DriverDetails::BUG_ISTEGRA))
rgbaType = GL_RGBA;
else
rgbaType = GL_RGBA8;
Expand Down

0 comments on commit 0556193

Please sign in to comment.