summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-09-20Logging: Change the TimeStretch::Process log from debug to trace level.Subv
This function is called too many times and makes the debug logging basically unusable due to the spam.
2018-09-20Merge pull request #1370 from Hedges/GDBCleanMat M
Correct endianness of BRK
2018-09-20Merge pull request #1362 from MerryMage/dynarmicMat M
externals: Update dynarmic to 171d116
2018-09-20Correct endianness of BKPTJarek Syrylak
2018-09-20arm_dynarmic: Halt when BRK encounteredMerryMage
2018-09-20Merge pull request #1358 from DarkLordZach/temp-storagebunnei
savedata_factory: Add TemporaryStorage SaveDataType
2018-09-20Merge pull request #1363 from lioncash/controlbunnei
control_metadata: Move language name array definition to the cpp file
2018-09-20Merge pull request #1361 from lioncash/naxbunnei
xts_archive/nax: Minor interface changes
2018-09-20Removed unneeded event clearDavid Marcec
2018-09-20Implemented NTC & IEnsureNetworkClockAvailabilityServiceDavid Marcec
Needed because of the recent nim fixes
2018-09-19control_metadata: Remove unnecessary else within GetLanguageEntry()Lioncash
There's no need to indent the code here, given the if case contains a return statement at the end of it.
2018-09-19control_metadata: Move language name array definition to the cpp fileLioncash
This was used in two different translation units (deconstructed_rom_directory and patch_manager). This means we'd be pointlessly duplicating the whole array twice due to it being defined within the header.
2018-09-19arm_dynarmic: Support BKPT instructionMerryMage
2018-09-19xts_archive: Remove unused variables from CalculateHMAC256()Lioncash
These variables aren't used, which still has an impact, as std::vector cannot be optimized away by the compiler (it's constructor and destructor are both non-trivial), so this was just wasting memory.
2018-09-19xts_archive: Make AsNCA() return a std::unique_ptr instead of a std::shared_ptrLioncash
std::shared_ptr isn't strictly necessary here and is only ever used in contexts where the object doesn't depend on being shared. This also makes the interface more flexible, as it's possible to create a std::shared_ptr from a std::unique_ptr (std::shared_ptr has a constructor that accepts a std::unique_ptr), but not the other way around.
2018-09-19nax: Avoid re-parsing NAX data with GetFileType()Lioncash
An instance of the NAX apploader already has an existing NAX instance in memory. Calling directly into IdentifyType() directly would re-parse the whole file again into yet another NAX instance, only to toss it away again. This gets rid of unnecessary/redundant file parsing and allocations.
2018-09-19nax: Avoid unnecessary calls to AsNCA() in IdentifyType()Lioncash
AsNCA() allocates an NCA instance every time it's called. In the current manner it's used, it's quite inefficient as it's making a redundant allocation. We can just amend the order of the conditionals to make it easier to just call it once.
2018-09-19xts_archive: Ensure NAX's type member is always initializedLioncash
Ensures that the member always has a deterministic value.
2018-09-19xts_archive: Amend initializer order of NAX's constructorLioncash
Orders the initializer list in the same order the members would be initialized. Avoids compiler warnings.
2018-09-19Reworked incorrect nifm stubs (#1355)David
* Reworked incorrect nifm stubs Need confirmation on `CreateTemporaryNetworkProfile`, unsure which game uses it but according to reversing. It should return a uuid which we currently don't do. Any 0 client id is considered an invalid client id. GetRequestState 0 is considered invalid. * Fixups for nifm
2018-09-19Merge pull request #1356 from degasus/hotfixbunnei
gl_rasterizer: Fix StartAddress handling with indexed draw calls.
2018-09-19Merge pull request #1359 from ogniK5377/nesbunnei
Fixed GetAccountId stub, Added error code for OpenDirectory and added ActivateNpadWithRevision
2018-09-19Fixed GetAccountId stub, Added error code for OpenDirectory and added ↵David Marcec
ActivateNpadWithRevision With these, `Nintendo Entertainment System - Nintendo Switch Online` loads
2018-09-19savedata_factory: Add TemporaryStorage SaveDataTypeZach Hilman
Seems to be used by NSO NES Emulator
2018-09-19gl_rasterizer: Fix StartAddress handling with indexed draw calls.Markus Wick
We uploaded the wrong data before. So the offset on the host GPU pointer may work for the first vertices, the last ones run out bounds. Let's just offset the upload instead.
2018-09-19Removed MakeBuilder as it's not needed anymoreDavid Marcec
2018-09-19Removed the use of rp.MakeBuilderDavid Marcec
Due to keeping the code style consistent in the yuzu codebase. `rb = rp.MakeBuilder(...)` was replaced with `rb{ctx, ...}`
2018-09-18Merge pull request #1348 from ogniK5377/GetImageSizebunnei
Implemented IProfile::GetImageSize
2018-09-18Merge pull request #1319 from lioncash/audiobunnei
audio_core: Replace includes with forward declarations where applicable.
2018-09-18Merge pull request #1351 from ogniK5377/GetDefaultDisplayResolutionbunnei
Implemented GetDefaultDisplayResolution
2018-09-18Merge pull request #1341 from lioncash/dependencybunnei
core/core_cpu: Replace exclusive monitor include with forward declaration
2018-09-18Merge pull request #1346 from lioncash/svcbunnei
svc_wrap: Convert the PARAM macro into a function
2018-09-18Merge pull request #1350 from ogniK5377/Six-Axis-Stubbunnei
Stubbed ActivateConsoleSixAxisSensor & StartConsoleSixAxisSensor
2018-09-18Merge pull request #1342 from lioncash/truncbunnei
gl_shader_decompiler: Avoid truncation warnings within LD_A and ST_A code
2018-09-18Merge pull request #1279 from FernandoS27/csetpbunnei
shader_decompiler: Implemented (Partialy) Control Codes and CSETP
2018-09-18Merge pull request #1299 from FernandoS27/texture-sanatizebunnei
shader_decompiler: Asserts for Texture Instructions
2018-09-18Invalid default value of username in yuzu_cmd (#1334)Philippe Babin
* Fix bug where default username value for yuzu_cmd create an userprofile with uninitialize data as username * Fix format * Apply code review changes * Remove nullptr check
2018-09-18Merge pull request #1343 from lioncash/mutexbunnei
kernel/svc: Handle invalid address cases within svcArbitrateLock() and svcArbitrateUnlock()
2018-09-18Merge pull request #1344 from lioncash/armbunnei
arm_interface: Remove ARM11-isms from the CPU interface
2018-09-18Merge pull request #1345 from lioncash/writebunnei
arm_dynarmic: Correct ExclusiveWrite128()'s operation
2018-09-19Added ActivateGestureDavid Marcec
2018-09-19Implemented GetDefaultDisplayResolutionDavid Marcec
2018-09-19Added StopSixAxisSensorDavid Marcec
2018-09-19Stubbed ActivateConsoleSixAxisSensor & StartConsoleSixAxisSensorDavid Marcec
2018-09-19Implemented GetImageSizeDavid Marcec
2018-09-18svc_wrap: Convert the PARAM macro into a functionLioncash
This can just be a regular function, getting rid of the need to also explicitly undef the define at the end of the file. Given FuncReturn() was already converted into a function, it's #undef can also be removed.
2018-09-18arm_dynarmic: Correct ExclusiveWrite128()'s operationLioncash
Previously the second half of the value being written would overwrite the first half. Thankfully this wasn't a bug that was being encountered, as the function is currently unused.
2018-09-18arm_interface: Remove ARM11-isms from the CPU interfaceLioncash
This modifies the CPU interface to more accurately match an AArch64-supporting CPU as opposed to an ARM11 one. Two of the methods don't even make sense to keep around for this interface, as Adv Simd is used, rather than the VFP in the primary execution state. This is essentially a modernization change that should have occurred from the get-go.
2018-09-17kernel/mutex: Replace ResultCode construction for invalid addresses with the ↵Lioncash
named variant We already have a ResultCode constant for the case of an invalid address, so we can just use it instead of re-rolling that ResultCode type.
2018-09-17kernel/svc: Handle error cases for svcArbitrateLock() and svcArbitrateUnlock()Lioncash
The kernel does the equivalent of the following check before proceeding: if (address + 0x8000000000 < 0x7FFFE00000) { return ERR_INVALID_MEMORY_STATE; } which is essentially what our IsKernelVirtualAddress() function does. So we should also be checking for this. The kernel also checks if the given input addresses are 4-byte aligned, however our Mutex::TryAcquire() and Mutex::Release() functions already handle this, so we don't need to add code for this case.