mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Compare commits
4 Commits
2559a93f4d
...
4b23efd110
Author | SHA1 | Date | |
---|---|---|---|
|
4b23efd110 | ||
|
2c92e5b5b3 | ||
|
fe96bf4108 | ||
|
137cf485b2 |
@ -1,22 +0,0 @@
|
||||
{
|
||||
"name": "SDL2",
|
||||
"buildsystem": "autotools",
|
||||
"config-opts": ["--disable-static"],
|
||||
"sources": [
|
||||
{
|
||||
"type": "dir",
|
||||
"path": "../../Externals/SDL/SDL"
|
||||
}
|
||||
],
|
||||
"cleanup": [ "/bin/sdl2-config",
|
||||
"/include",
|
||||
"/lib/libSDL2.la",
|
||||
"/lib/libSDL2main.a",
|
||||
"/lib/libSDL2main.la",
|
||||
"/lib/libSDL2_test.a",
|
||||
"/lib/libSDL2_test.la",
|
||||
"/lib/cmake",
|
||||
"/share/aclocal",
|
||||
"/lib/pkgconfig"]
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
app-id: org.DolphinEmu.dolphin-emu
|
||||
runtime: org.kde.Platform
|
||||
runtime-version: '6.7'
|
||||
runtime-version: '6.8'
|
||||
sdk: org.kde.Sdk
|
||||
command: dolphin-emu-wrapper
|
||||
rename-desktop-file: dolphin-emu.desktop
|
||||
@ -47,9 +47,6 @@ modules:
|
||||
url: https://github.com/Unrud/xdg-screensaver-shim/archive/0.0.2.tar.gz
|
||||
sha256: 0ed2a69fe6ee6cbffd2fe16f85116db737f17fb1e79bfb812d893cf15c728399
|
||||
|
||||
# build the vendored SDL2 from Externals until the runtime gets 2.30.6
|
||||
- SDL2/SDL2.json
|
||||
|
||||
- name: dolphin-emu
|
||||
buildsystem: cmake-ninja
|
||||
config-opts:
|
||||
|
@ -360,11 +360,6 @@ void CoreTimingManager::Throttle(const s64 target_cycle)
|
||||
{
|
||||
// Based on number of cycles and emulation speed, increase the target deadline
|
||||
const s64 cycles = target_cycle - m_throttle_last_cycle;
|
||||
|
||||
// Prevent any throttling code if the amount of time passed is < ~0.122ms
|
||||
if (cycles < m_throttle_min_clock_per_sleep)
|
||||
return;
|
||||
|
||||
m_throttle_last_cycle = target_cycle;
|
||||
|
||||
const double speed = Core::GetIsThrottlerTempDisabled() ? 0.0 : m_emulation_speed;
|
||||
@ -442,7 +437,6 @@ void CoreTimingManager::LogPendingEvents() const
|
||||
void CoreTimingManager::AdjustEventQueueTimes(u32 new_ppc_clock, u32 old_ppc_clock)
|
||||
{
|
||||
m_throttle_clock_per_sec = new_ppc_clock;
|
||||
m_throttle_min_clock_per_sleep = new_ppc_clock / 1200;
|
||||
|
||||
for (Event& ev : m_event_queue)
|
||||
{
|
||||
|
@ -203,7 +203,6 @@ private:
|
||||
s64 m_throttle_last_cycle = 0;
|
||||
TimePoint m_throttle_deadline = Clock::now();
|
||||
s64 m_throttle_clock_per_sec = 0;
|
||||
s64 m_throttle_min_clock_per_sleep = 0;
|
||||
bool m_throttle_disable_vi_int = false;
|
||||
|
||||
DT m_max_fallback = {};
|
||||
|
Loading…
Reference in New Issue
Block a user