summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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.
2018-09-17Merge pull request #1290 from FernandoS27/shader-headerbunnei
Implemented (Partialy) Shader Header
2018-09-17Merge pull request #1311 from FernandoS27/fast-swizzlebunnei
Optimized Texture Swizzling
2018-09-17Merge pull request #1312 from lioncash/fwdbunnei
service/vi: Replace includes with forward declarations where applicable
2018-09-17Merge pull request #1313 from lioncash/errorbunnei
kernel/errors: Amend error code for ERR_NOT_FOUND
2018-09-17Merge pull request #1314 from lioncash/castbunnei
audio_core/time_stretch: Silence truncation warnings in Process()
2018-09-17Merge pull request #1316 from lioncash/shadowbunnei
gl_shader_decompiler: Get rid of variable shadowing within LEA instructions
2018-09-17Merge pull request #1318 from lioncash/errors-smbunnei
services/sm: Amend error code constants
2018-09-17Merge pull request #1321 from lioncash/audio-shadowbunnei
cubeb_sink: Get rid of variable shadowing within CubebSink's constructor
2018-09-17Merge pull request #1315 from lioncash/sizebunnei
kernel/svc: Handle a few error cases within memory-related functions
2018-09-17Merge pull request #1320 from lioncash/namebunnei
cubeb_sink: Correct context name in ListCubebSinkDevices()
2018-09-17Merge pull request #1328 from FearlessTobi/port-4192bunnei
Port #4192 from Citra: "svc: change unknown to thread in CreateThread"
2018-09-17Merge pull request #1327 from FearlessTobi/port-4171bunnei
Port #4171 from Citra: "Tests: Remove glad test OS X work-around"
2018-09-17Merge pull request #1326 from FearlessTobi/port-4182bunnei
Port #4182 from Citra: "Prefix all size_t with std::"
2018-09-17Merge pull request #1329 from raven02/bgr5a1ubunnei
Implement RenderTargetFormat::BGR5A1_UNORM
2018-09-17Merge pull request #1335 from lioncash/copybunnei
game_list_p: Take map iterator contents by const reference
2018-09-17Merge pull request #1336 from lioncash/antialiasbunnei
yuzu/util: Antialias game list compatibility pixmaps
2018-09-17yuzu/util: Antialias game list compatibility pixmapsLioncash
We pass a hint to the QPainter instance that we want anti-aliasing on the compatibility icons, which prevents the circles from looking fairly jagged, and actually makes them look circular.
2018-09-17game_list_p: Amend typo in GameListItemCompat's constructor parameterLioncash
Adds a missing 'i' character that was missing in compatibility.
2018-09-17game_list_p: Take map iterator contents by const referenceLioncash
We don't need to copy the whole struct in this instance, we can just utilize a reference instead.
2018-09-17Implement ASTC_2D_8X8 (Bayonetta 2)raven02
2018-09-15Merge pull request #1273 from Subv/ld_sizesbunnei
Shaders: Implemented multiple-word loads and stores to and from attribute memory.
2018-09-15Merge pull request #1271 from Subv/kepler_enginebunnei
GPU: Basic implementation of the Kepler Inline Memory engine (p2mf).
2018-09-16Implement RenderTargetFormat::BGR5A1_UNORM (Pokken Tournament DX)raven02
2018-09-15Shaders: Implemented multiple-word loads and stores to and from attribute ↵Subv
memory. This seems to be an optimization performed by nouveau.
2018-09-15Port # #4192 from Citra: "svc: change unknown to thread in CreateThread"Valentin Vanelslande
2018-09-15Tests: Remove glad test OS X work-aroundYuri Kunde Schlesner
2018-09-15Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi
2018-09-14Optimized Texture SwizzlingFernandoS27
2018-09-14cubeb_sink: Get rid of variable shadowing within CubebSink's constructorLioncash
The parameter of the lambda was shadowing the variable that was being assigned to.
2018-09-14cubeb_sink: Correct context name in ListCubebSinkDevices()Lioncash
This ain't Citra.
2018-09-14services/sm: Amend error code constantsLioncash
Courtesy of @ogniK5377. This also moves them into the cpp file and limits the visibility to where they're directly used. It also gets rid of unused or duplicate error codes.
2018-09-13kernel/svc: Sanitize creation of shared memory via svcCreateSharedMemory()Lioncash
The kernel caps the size limit of shared memory to 8589930496 bytes (or (1GB - 512 bytes) * 8), so approximately 8GB, where every GB has a 512 byte sector taken off of it. It also ensures the shared memory is created with either read or read/write permissions for both permission types passed in, allowing the remote permissions to also be set as "don't care".
2018-09-13kernel/svc: Sanitize addresses, permissions, and sizes within ↵Lioncash
svcMapSharedMemory() and svcUnmapSharedMemory() Part of the checking done by the kernel is to check if the given address and size are 4KB aligned, as well as checking if the size isn't zero. It also only allows mapping shared memory as readable or read/write, but nothing else, and so we shouldn't allow mapping as anything else either.
2018-09-13gl_shader_decompiler: Get rid of variable shadowing within LEA instructionsLioncash
These variables are already defined within an outer scope.
2018-09-13kernel/svc: Sanitize addresses and sizes within svcMapMemory() and ↵Lioncash
svcUnmapMemory() The kernel checks if the addresses and given size is 4KB aligned before continuing onwards to map the memory.
2018-09-13kernel/svc: Sanitize heap sizes within svcSetHeapSize()Lioncash
The kernel checks if the given size is a multiple of 2MB and <= to 4GB before going ahead and attempting to allocate that much memory.
2018-09-13Merge pull request #1310 from lioncash/kernel-nsbunnei
kernel/thread: Include thread-related enums within the kernel namespace
2018-09-13Merge pull request #1309 from lioncash/nestedbunnei
service: Use nested namespace specifiers where applicable
2018-09-13audio_core/time_stretch: Silence truncation warnings in Process()Lioncash
The SoundTouch API only accepts uint amount of samples.
2018-09-13Merge pull request #1307 from lioncash/plbunnei
services/pl_u: Add missing Korean font to the fallback case for shared fonts
2018-09-13kernel/errors: Amend error code for ERR_NOT_FOUNDLioncash
This is the value returned by the kernel for svcConnectToNamedPort() if the named port cannot be found.
2018-09-13service/vi: Replace includes with forward declarations where applicableLioncash