aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-20psm: Stub GetBatteryChargePercentageZach Hilman
Used by LovePotion Lua Homebrew. Stubbed to return 100% charge.
2018-10-20service: Add skeleton for psm serviceZach Hilman
Seems to be the power controller. Listed in switchbrew under the category PTM services.
2018-10-20CMakeLists: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIRLioncash
This is more localized to what we want to enforce directory-wise with the project. CMAKE_SOURCE_DIR indicates the root of the source tree, but this would cause the wrong behavior if someone included yuzu as part of a larger buildsystem (for whatever reason). Instead, we want to use the directory where the "project(yuzu)" command was declared as the root path reference.
2018-10-20CMakeLists: Use target_compile_definitions instead of add_definitions to ↵Lioncash
define YUZU_ENABLE_COMPATIBILITY_REPORTING Keeps the definition constrained to the yuzu target and prevents polluting anything else in the same directory (should that ever happen). It also keeps it consistent with how the USE_DISCORD_PRESENCE definition is introduced below it.
2018-10-20web_service/CMakeLists: Make the CPPHTTPLIB_OPENSSL_SUPPORT constrained to ↵Lioncash
the web_service library only Given we link in httplib privately, we can also make the definition enabling OpenSSL support private as well. Prevents leaking a definition into other libraries that link with this one, like the core library.
2018-10-20kernel/process: Make the handle table per-processLioncash
In the kernel, there isn't a singular handle table that everything gets tossed into or used, rather, each process gets its own handle table that it uses. This currently isn't an issue for us, since we only execute one process at the moment, but we may as well get this out of the way so it's not a headache later on.
2018-10-20engines/maxwell_*: Use nested namespace specifiers where applicableLioncash
These three source files are the only ones within the engines directory that don't use nested namespaces. We may as well change these over to keep things consistent.
2018-10-20maxwell_dma: Make variables const where applicable within HandleCopy()Lioncash
These are never modified, so we can make that assumption explicit.
2018-10-20maxwell_dma: Make FlushAndInvalidate's size parameter a u64Lioncash
This prevents truncation warnings at the lambda's usage sites.
2018-10-20maxwell_dma: Remove unused variables in HandleCopy()Lioncash
These pointer variables are never used, so we can get rid of them.
2018-10-20svc: Fix vma boundary check in svcQueryMemoryLioncash
This should be comparing against the queried process' vma_map, not the current process'. The only reason this hasn't become an issue yet is we currently only handle one process being active at any time.
2018-10-20gl_shader_decompiler: Allow std::move to function in SetPredicateLioncash
If the variable being moved is const, then std::move will always perform a copy (since it can't actually move the data).
2018-10-20gl_shader_decompiler: Get rid of variable shadowing warningsLioncash
A variable with the same name was previously declared in an outer scope.
2018-10-20gl_shader_decompiler: Fix a few comment typosLioncash
2018-10-20Merge pull request #1535 from ReinUsesLisp/fixup-positionbunnei
gl_shader_decompiler: Move position varying declaration back to gl_shader_gen
2018-10-20gl_shader_decompiler: Move position varying declaration back to gl_shader_genReinUsesLisp
The intention of declaring them in gl_shader_decompiler was to be able to use blocks to implement geometry shaders. But that wasn't needed in the end and it caused issues when both vertex stages were being used, resulting in a redeclaration of "position".
2018-10-20Added auto controller switching to supported controllers and single joycon ↵David Marcec
button rotation This is a subset of the better-hid-2 changes, this fixes input in various games which don't support dual joycons. This pr will search for the next best controller which is supported by the current game
2018-10-19Merge pull request #1501 from ReinUsesLisp/half-floatbunnei
gl_shader_decompiler: Implement H* instructions
2018-10-19Merge pull request #1520 from lioncash/sanbunnei
svc: Add missing sanitizing checks for MapSharedMemory/UnmapSharedMemory
2018-10-19Merge pull request #1517 from bunnei/dmabunnei
GPU/DMA: Flush the source region and invalidate the destination region when doing a DMA transfer.
2018-10-19Merge pull request #1526 from lioncash/svc-idbunnei
service: Update function tables
2018-10-19Merge pull request #1530 from DarkLordZach/aoc-8bunnei
aoc_u: Stub GetAddOnContentListChangedEvent
2018-10-19Merge pull request #1516 from lioncash/hidbunnei
hid: Minor cleanup-related changes
2018-10-19aoc_u: Stub GetAddOnContentListChangedEventZach Hilman
This event signals the game when new DLC is purchased from the eShop while the game is running. Since, for the forseeable future, yuzu will not have this ability, it seems safe to stub with a dummy event that will never fire. This is needed to boot Sonic Mania Plus (update v1.04).
2018-10-19Merge pull request #1529 from DarkLordZach/key-derivation-crashMat M
crypto: Use compressed sizes in offset calculation for KIP decompression
2018-10-19crypto: Use compressed sizes in offset calculation for KIP decompressionZach Hilman
Fixes a fatal crash on start when deriving keys.
2018-10-19vfs: Remove InterpretAsDirectory and related functionsZach Hilman
When writing VFS, it initally seemed useful to include a function to in-place convert container files into directories in one homogenous directory structure, but re-evaluating it now there have been plenty of chances to use it and there has always been a better way. Removing as it is unused and likely will not be used.
2018-10-19Merge pull request #1525 from ogniK5377/block-homebunnei
Home button blocking stub
2018-10-20Stubbed home blockingDavid Marcec
Needed by arms due to new hid rework
2018-10-19es: Update service function tablesLioncash
Updated based off information provided by Switchbrew.
2018-10-19audio: Update service function tablesLioncash
Updated based off information provided by Switchbrew.
2018-10-19omm: Update service function tablesLioncash
Updated based off information provided by Switchbrew.
2018-10-19nifm: Update service function tablesLioncash
Updated based off information provided by switchbrew.
2018-10-19hid: Update service function tablesLioncash
Updated based off information provided by Switchbrew.
2018-10-19nim: Add the basic skeleton of the nim:eca serviceLioncash
Added based off information provided by Switchbrew
2018-10-19ns: Update service function tableLioncash
Updated based off information provided by Switchbrew.
2018-10-19set_cal: Update service function tableLioncash
Updated based on information from Switchbrew.
2018-10-18GPU: Improved implementation of maxwell DMA (Subv).bunnei
2018-10-18decoders: Introduce functions for un/swizzling subrects.bunnei
2018-10-18GPU: Invalidate destination address of kepler_memory writes.bunnei
2018-10-18fermi_2d: Add support for more accurate surface copies.bunnei
2018-10-18Merge pull request #1523 from lioncash/lockbunnei
svc: Add missing error checks in svcArbitrateLock/svcArbitrateUnlock
2018-10-18Merge pull request #1511 from lioncash/contentbunnei
content_archive: Minor reorganization changes
2018-10-18Merge pull request #1521 from ogniK5377/imp-mmubunnei
Used better names for mm:u and fixed a bad stub
2018-10-18Merge pull request #1522 from lioncash/corebunnei
core: Remove unnecessary assert in ArmInterface()
2018-10-18svc: Check for word alignment of addresses within ↵Lioncash
svcArbitrateLock/svcArbitrateUnlock The kernel itself checks whether or not the provided addresses are word aligned before continuing, so we should be doing the same.
2018-10-18common: Add function for checking word alignment to alignment.hLioncash
This will be used in a following change to svcArbitrateLock() and svcArbitrateUnlock()
2018-10-18common: Move Is4KBAligned() to alignment.hLioncash
Aligning on 4KB pages isn't a Switch-specific thing, so this can be moved to common so it can be used with other things as well.
2018-10-18core: Remove unnecessary assert in ArmInterface()Lioncash
CpuCore already does this sort of checking, so we can just call that instead of duplicating the assertions.
2018-10-18Merge pull request #1510 from lioncash/xcibunnei
XCI: Add function for checking the existence of the program NCA