mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 08:43:38 +01:00
Warning fix, memleak fix
This commit is contained in:
1 parent
6a3856674c
commit
42186e8e9e
2 files changed
+3
-1
No files matched your search
@@ -5560,7 +5560,7 @@ void __NetMatchingCallbacks() //(int matchingId)
|
||||
if (actionAfterMatchingMipsCall < 0) {
|
||||
actionAfterMatchingMipsCall = __KernelRegisterActionType(AfterMatchingMipsCall::Create);
|
||||
}
|
||||
DEBUG_LOG(SCENET, "AdhocMatching - Remaining Events: %d", matchingEvents.size());
|
||||
DEBUG_LOG(SCENET, "AdhocMatching - Remaining Events: %d", (int)matchingEvents.size());
|
||||
DEBUG_LOG(SCENET, "AdhocMatchingCallback: [ID=%i][EVENT=%i][%s]", args[0], args[1], mac2str((SceNetEtherAddr*)Memory::GetPointer(args[2])).c_str());
|
||||
AfterMatchingMipsCall* after = (AfterMatchingMipsCall*)__KernelCreateAction(actionAfterMatchingMipsCall);
|
||||
after->SetData(args[0], args[1], args[2]);
|
||||
|
||||
@@ -50,6 +50,8 @@ FramebufferManagerCommon::FramebufferManagerCommon(Draw::DrawContext *draw)
|
||||
}
|
||||
|
||||
FramebufferManagerCommon::~FramebufferManagerCommon() {
|
||||
DeviceLost();
|
||||
|
||||
DecimateFBOs();
|
||||
for (auto vfb : vfbs_) {
|
||||
DestroyFramebuf(vfb);
|
||||
|
||||
Reference in new issue
Block a user