mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
x86 buildfix, warning fix
This commit is contained in:
parent
c9aa3479a4
commit
1a1462ecb0
2 changed files with 3 additions and 1 deletions
|
@ -128,7 +128,7 @@ public:
|
|||
|
||||
void GetSize(int level, int *w, int *h) const {
|
||||
_dbg_assert_(State() == ReplacementState::ACTIVE);
|
||||
_dbg_assert_(level < levels_.size());
|
||||
_dbg_assert_((size_t)level < levels_.size());
|
||||
*w = levels_[level].fullW;
|
||||
*h = levels_[level].fullH;
|
||||
}
|
||||
|
|
|
@ -204,9 +204,11 @@ JittedVertexDecoder VertexDecoderJitCache::Compile(const VertexDecoder &dec, int
|
|||
#endif
|
||||
|
||||
// Initialize alpha reg.
|
||||
#if PPSSPP_ARCH(AMD64)
|
||||
if (dec.col) {
|
||||
MOV(32, R(alphaReg), Imm32(1));
|
||||
}
|
||||
#endif
|
||||
|
||||
bool prescaleStep = false;
|
||||
// Look for prescaled texcoord steps
|
||||
|
|
Loading…
Add table
Reference in a new issue