1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-23 03:02:53 +01:00

fix: cleanup basic handler in np term

This commit is contained in:
RipleyTom 2021-10-22 17:38:00 +02:00 committed by Megamouse
parent 9afa960979
commit 962e140cea

View File

@ -381,6 +381,11 @@ void np_handler::init_NP(u32 poolsize, vm::ptr<void> poolptr)
void np_handler::terminate_NP() void np_handler::terminate_NP()
{ {
// TODO: proper cleanup of everything here
// Unregister basic handler
basic_handler.registered = false;
// Reset memory pool // Reset memory pool
mpool.set(0); mpool.set(0);
mpool_size = 0; mpool_size = 0;