Minimum Vblank Frequency of 60Hz (#3561)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions

This commit is contained in:
UltraDaCat 2025-09-12 18:39:20 +02:00 committed by GitHub
parent dc6bfbeb12
commit 698458061e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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">