[JIT]: Minor change
This commit is contained in:
@@ -40,7 +40,7 @@ int JIT::Step() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
u32 upperIndex = paddr >> kUpperShift;
|
u32 upperIndex = paddr >> kUpperShift;
|
||||||
u32 lowerIndex = paddr & 0xff;
|
u32 lowerIndex = paddr & kLowerMask;
|
||||||
|
|
||||||
if (!blockCache[upperIndex].empty()) {
|
if (!blockCache[upperIndex].empty()) {
|
||||||
if (blockCache[upperIndex][lowerIndex]) {
|
if (blockCache[upperIndex][lowerIndex]) {
|
||||||
|
|||||||
@@ -44,9 +44,9 @@ private:
|
|||||||
friend struct Cop1;
|
friend struct Cop1;
|
||||||
friend struct Registers;
|
friend struct Registers;
|
||||||
using BlockFn = int (*)();
|
using BlockFn = int (*)();
|
||||||
|
std::vector<std::vector<BlockFn>> blockCache;
|
||||||
Xbyak::Label branch_likely_not_taken;
|
Xbyak::Label branch_likely_not_taken;
|
||||||
|
|
||||||
std::vector<std::vector<BlockFn>> blockCache;
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
Xbyak::Address GPR(const size_t index) const {
|
Xbyak::Address GPR(const size_t index) const {
|
||||||
if constexpr (sizeof(T) == 1) {
|
if constexpr (sizeof(T) == 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user