mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-20 06:24:17 +00:00
core: Reset cpu_core after kernel.
- Fixes a crash on Android. core.cpp: check if video_dumper is created before trying to shut it down
This commit is contained in:
parent
b7a156f7c8
commit
da3a9bfc96
1 changed files with 2 additions and 2 deletions
|
@ -541,11 +541,11 @@ void System::Shutdown(bool is_deserializing) {
|
|||
archive_manager.reset();
|
||||
service_manager.reset();
|
||||
dsp_core.reset();
|
||||
cpu_cores.clear();
|
||||
kernel.reset();
|
||||
cpu_cores.clear();
|
||||
timing.reset();
|
||||
|
||||
if (video_dumper->IsDumping()) {
|
||||
if (video_dumper && video_dumper->IsDumping()) {
|
||||
video_dumper->StopDumping();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue