Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
melonDS
Commits
e4b1526b
Commit
e4b1526b
authored
Jul 31, 2020
by
RSDuck
Browse files
reset JIT fastmem on JIT block cache reset as well
parent
2a3147db
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ARMJIT.cpp
View file @
e4b1526b
...
...
@@ -1159,6 +1159,10 @@ void ResetBlockCache()
{
printf
(
"Resetting JIT block cache...
\n
"
);
// could be replace through a function which only resets
// the permissions but we're too lazy
ARMJIT_Memory
::
Reset
();
InvalidLiterals
.
Clear
();
for
(
int
i
=
0
;
i
<
ARMJIT_Memory
::
memregions_Count
;
i
++
)
memset
(
FastBlockLookupRegions
[
i
],
0xFF
,
CodeRegionSizes
[
i
]
*
sizeof
(
u64
)
/
2
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment