mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
Assorted paranoia, get rid of an allocation in the audio loop
This commit is contained in:
1 parent
0170e8f081
commit
9979372a97
8 files changed
+21
-17
No files matched your search
@@ -81,6 +81,8 @@ void FrameTiming::PostSubmit() {
|
||||
}
|
||||
|
||||
Draw::PresentMode ComputePresentMode(Draw::DrawContext *draw, int *interval) {
|
||||
_assert_(draw);
|
||||
|
||||
Draw::PresentMode mode = Draw::PresentMode::FIFO;
|
||||
|
||||
if (draw->GetDeviceCaps().presentModesSupported & (Draw::PresentMode::IMMEDIATE | Draw::PresentMode::MAILBOX)) {
|
||||
|
||||
Reference in new issue
Block a user