This mutex should not have been made local, thanks @unknownbrackets

This commit is contained in:
Henrik Rydgård 2017-03-13 16:13:18 +01:00
parent a8310249f8
commit ad5bf8c6f6
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,8 @@ extern "C"
#include "ext/libkirk/kirk_engine.h"
};
std::mutex NPDRMDemoBlockDevice::mutex_;
BlockDevice *constructBlockDevice(FileLoader *fileLoader) {
// Check for CISO
if (!fileLoader->Exists())

View File

@ -105,7 +105,7 @@ public:
private:
FileLoader *fileLoader_;
std::mutex mutex_;
static std::mutex mutex_;
u32 lbaSize;
u32 psarOffset;