| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Unicorn long-since lost most of its use, due to dynarmic gaining support
for handling most instructions. At this point any further issues
encountered should be used to make dynarmic better.
This also allows us to remove our dependency on Python.
|
| |\
| |
| | |
common: Enable warnings as errors
|
| | |
| |
| |
| | |
Cleans up common so that we can enable warnings as errors.
|
| |\ \
| | |
| | | |
hle: service: ldr: Implement UnloadNrr.
|
| | | |
| | |
| | |
| | | |
- Used by Final Fantasy X/X-2 HD Remaster.
|
| |\ \ \
| | | |
| | | | |
async_shaders: Increase Async worker thread count for >8 thread cpus
|
| | | | |
| | | |
| | | |
| | | | |
Adds 1 async worker thread for every 2 available threads above 8
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
* Rename to align with switchbrew
* Rename to align with switchbrew and remove gpu function that checks if clearing should be done.
|
| |\ \ \ \
| |_|/ /
|/| | | |
shader/arithmetic: Implement FCMP immediate + register variant
|
| | | | |
| | | |
| | | |
| | | | |
Trivially add the encoding for this.
|
| |\ \ \ \
| |_|_|/
|/| | | |
video_core: unbreak -Werror in NVDEC with Clang
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp:41:15: error: unused variable 'OutOfMemory' [-Werror,-Wunused-const-variable]
constexpr u32 OutOfMemory{static_cast<u32>(-12)};
^
|
| |/ / /
| | |
| | |
| | | |
Prevents the compiler tripping up about Windows headers.
|
| |\ \ \
| | | |
| | | | |
General: Make ignoring a discarded return value an error
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
MSVC lets us fine-tune catching expressions with no side-effects a
little more.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allows our CI to catch more potential bugs. This also removes the
[[nodiscard]] attribute of IOFile's Open member function. There are
cases where a file may want to be opened, but have the status of it
checked at a later time.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It's deprecated in the language to autogenerate these if the destructor
for a type is specified, so we can explicitly specify how we want these
to be generated.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Prevents values from mistakenly being discarded in cases where it's a
bug to do so.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The API of VP9 exposes a WasFrameHidden() function which accesses this
member. Given the constructor previously didn't initialize this member,
it's a potential vector for an uninitialized read.
Instead, we can initialize this to a deterministic value to prevent that
from occurring.
|
| |/ / /
| | |
| | |
| | |
| | | |
These helper functions don't directly modify any member state and can be
hidden from view.
|
| |\ \ \
| |_|/
|/| | |
nvdec: Minor tidying up
|
| | | |
| | |
| | |
| | | |
Enforces the type of the desired value in calling code.
|
| | | |
| | |
| | |
| | | |
We can move the buffer here to avoid a heap reallocation
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
The move will already occur without std::move.
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Prevents a few unnecessary inclusions.
|
| |\ \ \
| | | |
| | | | |
Add hotplug, rumble and fix 3rd party adapters for the GC adapter
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Fixes compilation on MSVC
|
| |\ \ \ \
| | | | |
| | | | | |
web_service: follow-up fix to #4842
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* The web_service http request is now fixed on Windows (R) platform.
* The issue is due to a complicated race-condition in `httplib`, a detailed
explanation is available at https://github.com/yhirose/cpp-httplib/pull/701
* A pending Pull Request on `httplib` has been applied to remedy the
said race-condition.
* The socket availability check is removed due to a behavioral chice of
`httplib` that a socket will not be created before any actual request
is sent.
|
| |\ \ \ \
| | | | |
| | | | | |
kernel: Use the current time as the default RNG seed
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Use the current time, not zero, as the default RNG seed.
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
sync_manager: Amend parameter order of calls to SyncptIncr constructor
|
| | | |/ /
| |/| |
| | | |
| | | | |
Corrects some cases where the arguments would be incorrectly swapped.
|
| | | | |
| | | |
| | | |
| | | | |
- Fixes a shutdown crash when we try to submit telemetry if there is a service issue.
|
| | | | | |
|
| |\ \ \ \
| |_|_|/
|/| | | |
service: Update function tables
|
| | |/ /
| | |
| | |
| | | |
Updates function tables according to info on SwitchBrew.
|
| |\ \ \
| | | |
| | | | |
hle/kernel: Remove unused registered_core_threads to fix data races
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This member was only used on asserts and it triggered data races.
Remove it to fix them.
|
| |\ \ \ \
| | | | |
| | | | | |
common/fiber: Take shared_ptr<Fiber> by copy in YieldTo
|
| | |/ / /
| | | |
| | | |
| | | |
| | | | |
YieldTo does not intend to modify the passed shared_ptrs.
Pass it by copy to keep a reference count while this function executes.
|
| |\ \ \ \
| | | | |
| | | | | |
tests: Fix data race in fibers test
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previous to this commit, the tests were using operator[] from
unordered_map to query elements but this silently inserts empty elements
when they don't exist. If all threads were executed without concurrency,
this wouldn't be an issue, but the same unordered_map could be written
from two threads at the same time. This is a data race and makes some
previously inserted elements invisible for a short period of time,
causing them to insert and return an empty element. This default
constructed element (a zero) was used to index an array of fibers that
asserted when one of them was nullptr, shutting the test session off.
To address this issue, lock on thread id reads and writes. This could be
a shared mutex to allow concurrent reads, but the definition of
std::this_thread::get_id is fuzzy when using non-standard techniques
like fibers. I opted to use a standard mutex.
While we are at it, fix the included headers.
|
| |\ \ \ \
| | | | |
| | | | | |
video_core: Enforce -Werror=type-limits
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Silences one warning and avoids introducing more in the future.
|