mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-06-01 03:10:38 +00:00
This commit is contained in:
parent
9b6701dc4d
commit
f21fa3d966
|
@ -807,6 +807,9 @@ static void page_flush_tb(struct uc_struct *uc)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
if (uc->l1_map == NULL)
|
||||||
|
return;
|
||||||
|
|
||||||
for (i = 0; i < V_L1_SIZE; i++) {
|
for (i = 0; i < V_L1_SIZE; i++) {
|
||||||
page_flush_tb_1(V_L1_SHIFT / V_L2_BITS - 1, uc->l1_map + i);
|
page_flush_tb_1(V_L1_SHIFT / V_L2_BITS - 1, uc->l1_map + i);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue