mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2025-12-28 02:05:00 +01:00
scope_exit: Add SCOPE_SUCCESS and SCOPE_EXIT
This commit is contained in:
parent
bafb39ebc5
commit
64761dbc72
4 changed files with 89 additions and 34 deletions
|
|
@ -153,7 +153,7 @@ Jit::~Jit() {}
|
|||
void Jit::Run() {
|
||||
ASSERT(!is_executing);
|
||||
is_executing = true;
|
||||
SCOPE_EXIT({ this->is_executing = false; });
|
||||
SCOPE_EXIT { this->is_executing = false; };
|
||||
|
||||
impl->jit_state.halt_requested = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue