Comment fix + new QOL method

This commit is contained in:
Nemoumbra committed 2024-09-14 19:46:04 +03:00
1 parent a6be0517dc
commit 00cd142365
2 files changed
+5 -1

No files matched your search

+2 -1
View File
@@ -172,7 +172,8 @@ bool IRJit::CompileBlock(u32 em_address, std::vector<IRInst> &instructions, u32
}
if (!CompileNativeBlock(&blocks_, block_num, preload))
return false;
// Overwrites the first instruction, and also updates stats.
// Updates stats, also patches the first MIPS instruction into an emuhack if 'preload == false'
blocks_.FinalizeBlock(block_num, preload);
if (!preload)
FinalizeNativeBlock(&blocks_, block_num);
+3
View File
@@ -91,6 +91,9 @@ public:
u32 GetOriginalStart() const {
return origAddr_;
}
u64 GetHash() const {
return hash_;
}
void Finalize(int number);
void Destroy(int number);