Fixes for abstract class without virtual destructor

This commit is contained in:
Danila Malyutin 2015-07-27 01:48:17 +03:00
parent e0d5cdd5e1
commit 9a37acee3e
2 changed files with 2 additions and 1 deletions

View file

@ -12,6 +12,7 @@ class vfsDevice
public:
vfsDevice(const std::string& ps3_path, const std::string& local_path);
vfsDevice() {}
virtual ~vfsDevice() {}
virtual vfsFileBase* GetNewFileStream()=0;
virtual vfsDirBase* GetNewDirStream()=0;

View file

@ -86,7 +86,7 @@ void KernelExplorer::Update()
for (const auto id : Emu.GetIdManager().get_IDs(SYS_SEMAPHORE_OBJECT))
{
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);
}
}