Misc fixes (#517)

* Misc fixes

* Removed the skip for draw calls without RTs

* Remove Srgb image stores to rework later
This commit is contained in:
Vladislav Mikhalin 2024-08-21 23:54:23 +03:00 committed by GitHub
parent dfd305ff77
commit 79680c50c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 89 additions and 27 deletions

View file

@ -366,6 +366,9 @@ bool AvPlayerSource::GetAudioData(SceAvPlayerFrameInfo& audio_info) {
}
u64 AvPlayerSource::CurrentTime() {
if (!IsActive()) {
return 0;
}
using namespace std::chrono;
return duration_cast<milliseconds>(high_resolution_clock::now() - m_start_time).count();
}