mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-21 18:29:05 +02:00
Initialize textStart/textEnd for fake modules.
Otherwise we try to unload random memory, sometimes this breaks weird things.
This commit is contained in:
1 parent
b4244fb4d9
commit
829f70dacd
1 file changed
+1
-1
@@ -212,7 +212,7 @@ enum NativeModuleStatus {
|
||||
|
||||
class Module : public KernelObject {
|
||||
public:
|
||||
Module() : memoryBlockAddr(0), isFake(false) {}
|
||||
Module() : textStart(0), textEnd(0), memoryBlockAddr(0), isFake(false) {}
|
||||
~Module() {
|
||||
if (memoryBlockAddr) {
|
||||
userMemory.Free(memoryBlockAddr);
|
||||
|
||||
Reference in new issue
Block a user