mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-25 00:04:49 +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:
@@ -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