summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | system_archive: Add + and - buttons to the Nintendo Extended OSS fontGravatar Morph2020-12-182-315/+343
| | |
* | | system_archive: Update Nintendo Extended OSS fontGravatar Morph2020-12-172-182/+347
|/ / | | | | | | Co-authored-by: Its-Rei <kupfel@gmail.com>
* | Merge pull request #5190 from Morph1984/validate_device_handleGravatar bunnei2020-12-152-0/+45
|\ \ | | | | | | controllers/npad: Validate device handles before use
| * | controllers/npad: Validate device handles before useGravatar Morph2020-12-122-0/+45
| | | | | | | | | | | | Some games such as NEKOPARA Vol. 3 send invalid device handles when calling InitializeVibrationDevice. Introduce a check to validate the device handle before use.
* | | Merge pull request #5119 from Morph1984/fs-opendatastoragewithprogramindexGravatar bunnei2020-12-1510-10/+147
|\ \ \ | | | | | | | | fsp_srv: Implement OpenDataStorageWithProgramIndex
| * | | fsp_srv: Implement OpenDataStorageWithProgramIndexGravatar Morph2020-12-086-1/+83
| | | | | | | | | | | | | | | | - Used by RollerCoaster Tycoon 3: Complete Edition
| * | | file_sys: Consolidate common Title ID operationsGravatar Morph2020-12-084-9/+64
| | | |
* | | | Merge pull request #5168 from Morph1984/aoc-PurchaseEventManagerGravatar bunnei2020-12-142-2/+76
|\ \ \ \ | |_|/ / |/| | | aoc_u: Stub IPurchaseEventManager and its service commands
| * | | IPurchaseEventManager: Implement GetPurchasedEventReadableHandleGravatar Morph2020-12-081-1/+14
| | | | | | | | | | | | | | | | | | | | - Used by Pokémon Café Mix - Used by DOOM: Eternal
| * | | IPurchaseEventManager: Stub Set(Default)DeliveryTargetGravatar Morph2020-12-081-2/+27
| | | | | | | | | | | | | | | | | | | | - Used by Pokémon Café Mix - Used by DOOM: Eternal
| * | | aoc_u: Stub Create(Permanent)EcPurchasedEventManagerGravatar Morph2020-12-082-2/+38
| |/ / | | | | | | | | | | | | - Used by Pokémon Café Mix - Used by DOOM: Eternal
* | | Merge pull request #5183 from lioncash/alias2Gravatar bunnei2020-12-1228-136/+142
|\ \ \ | | | | | | | | vfs: Use existing type aliases consistently
| * | | vfs: Use existing type aliases consistentlyGravatar Lioncash2020-12-1028-136/+142
| | | | | | | | | | | | | | | | | | | | Makes use of the VirtualDir and VirtualFile aliases across the board instead of having a few isolated places that don't use it.
* | | | Merge pull request #5187 from Morph1984/revert-stdfsGravatar bunnei2020-12-111-6/+2
|\ \ \ \ | | | | | | | | | | fs: Revert all std::filesystem changes
| * | | | Revert "Merge pull request #5176 from Morph1984/fix-createfile"Gravatar Morph2020-12-111-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6d6115475b4edccdf1bb4e96ecc3d3b1be319e76, reversing changes made to 5fe55b16a11d9ec607fb8a3fdddc77a4393cd96a.
* | | | | Merge pull request #5172 from lioncash/svc-wideGravatar bunnei2020-12-111-35/+25
|\ \ \ \ \ | |/ / / / |/| | | | svc: Remove unnecessary casts
| * | | | svc: Remove unnecessary castsGravatar Lioncash2020-12-081-35/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplifies and removes some casts. In all cases, these were generally widening from a 32-bit unsigned type to a 64-bit unsigned type, so no information would be lost from the conversion.
* | | | | Merge pull request #5123 from Morph1984/nim-IsLargeResourceAvailableGravatar bunnei2020-12-101-1/+13
|\ \ \ \ \ | |_|/ / / |/| | | | nim: Stub IsLargeResourceAvailable
| * | | | nim: Stub IsLargeResourceAvailableGravatar Morph2020-12-041-1/+13
| | | | | | | | | | | | | | | | | | | | - Used by Immortals Fenyx Rising
* | | | | vfs_real: Fix CreateFile for files without a file extensionGravatar Morph2020-12-091-2/+6
| | | | |
* | | | | Merge pull request #5142 from comex/xx-poll-eventsGravatar Rodrigo Locatti2020-12-096-71/+82
|\ \ \ \ \ | | | | | | | | | | | | network, sockets: Replace `POLL_IN`, `POLL_OUT`, etc. constants with an `enum class PollEvents`
| * | | | | network, sockets: Replace `POLL_IN`, `POLL_OUT`, etc. constants with an ↵Gravatar comex2020-12-066-71/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `enum class PollEvents` Actually, two enum classes, since for some reason there are two separate yet identical `PollFD` types used in the codebase. I get that one is ABI-compatible with the Switch while the other is an abstract type used for the host, but why not use `WSAPOLLFD` directly for the latter? Anyway, why make this change? Because on Apple platforms, `POLL_IN`, `POLL_OUT`, etc. (with an underscore) are defined as macros in <sys/signal.h>. (This is inherited from FreeBSD.) So defining a variable with the same name causes a compile error. I could just rename the variables, but while I was at it I thought I might as well switch to an enum for stronger typing. Also, change the type used for values copied directly to/from the `events` and `revents` fields of the host *native* `pollfd`/`WSASPOLLFD`, from `u32` to `short`, as `short` is the correct canonical type on both Unix and Windows.
* | | | | | Merge pull request #5166 from lioncash/log-castGravatar bunnei2020-12-0825-96/+90
|\ \ \ \ \ \ | | | | | | | | | | | | | | core: Remove unnecessary enum casts in log calls
| * | | | | | core: Remove unnecessary enum casts in log callsGravatar Lioncash2020-12-0725-96/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follows the video core PR. fmt doesn't require casts for enum classes anymore, so we can remove quite a few casts.
* | | | | | | Merge pull request #5135 from Morph1984/applets-shadowGravatar bunnei2020-12-081-1/+1
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | applets: Resolve variable shadowing
| * | | | | | applets: Resolve variable shadowingGravatar Morph2020-12-051-1/+1
| | |_|_|_|/ | |/| | | |
* | | | | | Merge pull request #5167 from lioncash/doc-memoryGravatar bunnei2020-12-081-2/+0
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | memory: Resolve -Wdocumentation warning for Write()
| * | | | | memory: Resolve -Wdocumentation warning for Write()Gravatar Lioncash2020-12-081-2/+0
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Write() doesn't return anything, so the @returns tag shouldn't be present.
* | | | | Merge pull request #5165 from lioncash/copy-controllerGravatar Morph2020-12-081-12/+11
|\ \ \ \ \ | | | | | | | | | | | | controller: Avoid unnecessary copies in ConfigurationComplete()
| * | | | | controller: Use std::move within ConvertToFrontendParameters()Gravatar Lioncash2020-12-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Avoids unnecessary copies.
| * | | | | controller: Avoid unnecessary copies in ConfigurationComplete()Gravatar Lioncash2020-12-071-9/+8
| |/ / / / | | | | | | | | | | | | | | | | | | | | Avoids unnecessary 1072 byte copies when querying info about controllers.
* | | | | Merge pull request #5020 from german77/AnalogfromButtonFixGravatar Morph2020-12-081-0/+2
|\ \ \ \ \ | |/ / / / |/| | | | Disable analog joystick from buttons by default
| * | | | Disable analog joystick from buttons by defaultGravatar german2020-12-071-0/+2
| | | | |
* | | | | Merge pull request #5153 from comex/xx-unixGravatar bunnei2020-12-072-5/+5
|\ \ \ \ \ | | | | | | | | | | | | CMakeLists,network: Create YUZU_UNIX macro to replace __unix__
| * | | | | CMakeLists,network: Create YUZU_UNIX macro to replace __unix__Gravatar comex2020-12-062-5/+5
| | |/ / / | |/| | | | | | | | | | | | | __unix__ is not predefined on Apple platforms even though they are Unix.
* | | | | Merge pull request #5148 from comex/xx-unused-fieldsGravatar bunnei2020-12-062-3/+3
|\ \ \ \ \ | | | | | | | | | | | | core: Mark unused fields as [[maybe_unused]]
| * | | | | core: Mark unused fields as [[maybe_unused]]Gravatar comex2020-12-062-3/+3
| |/ / / /
* | | | | Merge pull request #5154 from comex/xx-ipcGravatar bunnei2020-12-062-34/+37
|\ \ \ \ \ | | | | | | | | | | | | hle: Type check ResponseBuilder::Push arguments, and fix use in vi.cpp
| * | | | | hle: Type check ResponseBuilder::Push arguments, and fix use in vi.cppGravatar comex2020-12-062-34/+37
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a type check so that calling Push with an invalid type produces a compile error rather than a linker error. - vi.cpp was calling Push with a variable of type `std::size_t`. There's no explicit overload for `size_t`, but there is one for `u64`, which on most platforms is the same type as `size_t`. On macOS, however, it isn't: both types are 64 bits, but `size_t` is `unsigned long` and `u64` is `unsigned long long`. Regardless, it makes more sense to explicitly use `u64` here instead of `size_t`.
* | | | | Merge pull request #5147 from comex/xx-purevirtGravatar LC2020-12-071-33/+0
|\ \ \ \ \ | | | | | | | | | | | | nvdrv: Remove useless re-declaration of pure virtual methods that were already declared in the superclass
| * | | | | nvdrv: Remove useless re-declaration of pure virtual methods that were ↵Gravatar comex2020-12-061-33/+0
| |/ / / / | | | | | | | | | | | | | | | already declared in the superclass
* | | | | Merge pull request #5150 from comex/xx-boxcatGravatar LC2020-12-071-1/+1
|\ \ \ \ \ | | | | | | | | | | | | boxcat: Avoid unnecessary object copy
| * | | | | boxcat: Avoid unnecessary object copyGravatar comex2020-12-061-1/+1
| |/ / / /
* | | | | Merge pull request #5136 from lioncash/video-shadow3Gravatar LC2020-12-072-9/+9
|\ \ \ \ \ | |_|_|/ / |/| | | | video_core: Resolve more variable shadowing scenarios pt.3
| * | | | video_core: Resolve more variable shadowing scenarios pt.3Gravatar Lioncash2020-12-052-9/+9
| |/ / / | | | | | | | | | | | | | | | | Cleans out the rest of the occurrences of variable shadowing and makes any further occurrences of shadowing compiler errors.
* / / / Fix "explicitly defaulted but implicitly deleted" warningGravatar comex2020-12-061-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | `PhysicalCore`'s move assignment operator was declared as `= default`, but was implicitly deleted because `PhysicalCore` has fields of reference type. Switch to explicitly deleting it to avoid a Clang warning. The move *constructor* is still defaulted, and is required to exist due to the use of `std::vector<PhysicalCore>`.
* | / system_version: Update to 11.0.0Gravatar Chloe Marcec2020-12-051-6/+6
| |/ |/|
* | Merge pull request #4996 from bunnei/use-4jitsGravatar bunnei2020-12-0324-141/+194
|\ \ | | | | | | Kernel: Refactor to use 4-instances of Dynarmic & various cleanups and improvements
| * | kernel: scheduler: Minor cleanup to remove duplicated code.Gravatar bunnei2020-11-292-46/+14
| | |
| * | kernel: time_manager: Protect access with a mutex.Gravatar bunnei2020-11-292-1/+5
| | |