mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
Fixes for abstract class without virtual destructor
This commit is contained in:
parent
e0d5cdd5e1
commit
9a37acee3e
2 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ class vfsDevice
|
||||||
public:
|
public:
|
||||||
vfsDevice(const std::string& ps3_path, const std::string& local_path);
|
vfsDevice(const std::string& ps3_path, const std::string& local_path);
|
||||||
vfsDevice() {}
|
vfsDevice() {}
|
||||||
|
virtual ~vfsDevice() {}
|
||||||
|
|
||||||
virtual vfsFileBase* GetNewFileStream()=0;
|
virtual vfsFileBase* GetNewFileStream()=0;
|
||||||
virtual vfsDirBase* GetNewDirStream()=0;
|
virtual vfsDirBase* GetNewDirStream()=0;
|
||||||
|
|
|
@ -86,7 +86,7 @@ void KernelExplorer::Update()
|
||||||
for (const auto id : Emu.GetIdManager().get_IDs(SYS_SEMAPHORE_OBJECT))
|
for (const auto id : Emu.GetIdManager().get_IDs(SYS_SEMAPHORE_OBJECT))
|
||||||
{
|
{
|
||||||
const auto sem = Emu.GetIdManager().get<lv2_sema_t>(id);
|
const auto sem = Emu.GetIdManager().get<lv2_sema_t>(id);
|
||||||
sprintf(name, "Semaphore: ID = 0x%x '%s', Count = %d, Max Count = %d, Waiters = %lld", id, &name64(sem->name), sem->value.load(), sem->max, sem->sq.size());
|
sprintf(name, "Semaphore: ID = 0x%x '%s', Count = %d, Max Count = %d, Waiters = %#llx", id, &name64(sem->name), sem->value.load(), sem->max, sem->sq.size());
|
||||||
m_tree->AppendItem(node, name);
|
m_tree->AppendItem(node, name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue