| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
We simply need to turn the literal argument to std::accumulate into a
double, rather than an int.
|
| |
|
|
|
|
| |
Co-Authored-By: jroweboy <jroweboy@gmail.com>
|
|
|
|
|
|
|
| |
Since C++17, the introduction of deduction guides for locking facilities
means that we no longer need to hardcode the mutex type into the locks
themselves, making it easier to switch mutex types, should it ever be
necessary in the future.
|
|
|
|
| |
This hasn't been used since ba8ff096fdc9f7ab101851c4cd06c3244a7d84c3
|
|
|
|
|
|
|
|
|
|
|
| |
The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which
replaces most of the includes in the core header with forward declarations.
This makes it so that if any of the headers the core header was
previously including change, then no one will need to rebuild the bulk
of the core, due to core.h being quite a prevalent inclusion.
This should make turnaround for changes much faster for developers.
|
|\
| |
| | |
Port #3353 from Citra: "citra-qt: Add customizable speed limit target "
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
25us is far too small, and would result in std::this_thread::sleep_for
being called with this as a maximum value. This means that a guest
application that produces frames instantly would only be limited to
40 kHz.
25ms is a more appropriate value, as it allows for a 60 Hz refresh
rate while providing enough slack in the negative region.
|
|
|
|
|
| |
ms is shorthand for milliseconds, not microseconds, and given there's no
comment indicating that this was intentional, it probably wasn't.
|
|
|
|
|
| |
Enforces the time unit being returned and also allows using the standard
time utilities to manipulate it.
|
|
|
|
|
| |
C++17 adds clamp() to the standard library, so we can remove ours in
favor of it.
|
|
|
|
| |
Adds in a missing EndGameFrame when nvdrv swaps buffers
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Now based on std::chrono, and also works in terms of emulated time
instead of frames, so we can in the future frame-limit even when the
display is disabled, etc.
The frame limiter can also be enabled along with v-sync now, which
should be useful for those with displays running at more than 60 Hz.
|
|
|
|
| |
More ergonomic to use and will be required for upcoming changes.
|
| |
|
|
|