Skip to content

Commit

Permalink
uninit mods on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
shiiion committed Apr 8, 2021
1 parent cbb4a17 commit 2897b8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Core/Core/HW/HW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
#include "Core/State.h"
#include "Core/WiiRoot.h"

#include "Core/PrimeHack/HackConfig.h"

namespace HW
{
void Init()
Expand Down Expand Up @@ -61,6 +63,8 @@ void Init()

void Shutdown()
{
prime::GetHackManager()->shutdown();

// IOS should always be shut down regardless of bWii because it can be running in GC mode (MIOS).
IOS::HLE::Shutdown(); // Depends on Memory
IOS::Shutdown();
Expand Down

0 comments on commit 2897b8d

Please sign in to comment.