diff --git a/rpcs3/Emu/SysCalls/Modules/sceNp.cpp b/rpcs3/Emu/SysCalls/Modules/sceNp.cpp index 8b921e77ff..7d69bbf725 100644 --- a/rpcs3/Emu/SysCalls/Modules/sceNp.cpp +++ b/rpcs3/Emu/SysCalls/Modules/sceNp.cpp @@ -12,22 +12,6 @@ extern Module sceNp; -struct sceNpInternal -{ - bool m_bSceNpInitialized; - bool m_bScoreInitialized; - bool m_bLookupInitialized; - bool m_bSceNpUtilBandwidthTestInitialized; - - sceNpInternal() - : m_bSceNpInitialized(false), - m_bScoreInitialized(false), - m_bLookupInitialized(false), - m_bSceNpUtilBandwidthTestInitialized(false) - { - } -}; - sceNpInternal sceNpInstance; s32 sceNpInit(u32 poolsize, vm::ptr poolptr) diff --git a/rpcs3/Emu/SysCalls/Modules/sceNp.h b/rpcs3/Emu/SysCalls/Modules/sceNp.h index 90530bc7d5..eee17a67b8 100644 --- a/rpcs3/Emu/SysCalls/Modules/sceNp.h +++ b/rpcs3/Emu/SysCalls/Modules/sceNp.h @@ -219,6 +219,24 @@ enum using SceNpBasicEventHandler = func_def arg)>; +struct sceNpInternal +{ + bool m_bSceNpInitialized; + bool m_bScoreInitialized; + bool m_bLookupInitialized; + bool m_bSceNpUtilBandwidthTestInitialized; + + sceNpInternal() + : m_bSceNpInitialized(false), + m_bScoreInitialized(false), + m_bLookupInitialized(false), + m_bSceNpUtilBandwidthTestInitialized(false) + { + } +}; + +extern sceNpInternal sceNpInstance; + // NP Manager Utility statuses enum { diff --git a/rpcs3/Emu/SysCalls/Modules/sceNp2.cpp b/rpcs3/Emu/SysCalls/Modules/sceNp2.cpp index 784e42deb7..9299293258 100644 --- a/rpcs3/Emu/SysCalls/Modules/sceNp2.cpp +++ b/rpcs3/Emu/SysCalls/Modules/sceNp2.cpp @@ -2,7 +2,7 @@ #include "Emu/Memory/Memory.h" #include "Emu/SysCalls/Modules.h" -#include "sceNp.cpp" +#include "sceNp.h" extern Module sceNp2;