Minimum Vblank Frequency of 60Hz (#3561)

This commit is contained in:
UltraDaCat
2025-09-12 18:39:20 +02:00
committed by GitHub
parent dc6bfbeb12
commit 698458061e
2 changed files with 7 additions and 4 deletions

View File

@@ -411,6 +411,9 @@ bool isLoggingEnabled() {
}
u32 vblankFreq() {
if (vblankFrequency.get() < 60) {
vblankFrequency = 60;
}
return vblankFrequency.get();
}

View File

@@ -1240,10 +1240,10 @@
<bool>false</bool>
</property>
<property name="suffix">
<string>Hz</string>
<string notr="true">Hz</string>
</property>
<property name="minimum">
<number>1</number>
<number>60</number>
</property>
<property name="maximum">
<number>9999</number>
@@ -2088,8 +2088,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>946</width>
<height>299</height>
<width>944</width>
<height>274</height>
</rect>
</property>
<property name="sizePolicy">