Commit Graph

9158 Commits (18334986177153e792ad3901a672f1cf56bf02bf)
 

Author SHA1 Message Date
Lioncash 1833498617 es: Update service function tables
Updated based off information provided by Switchbrew.
6 years ago
Lioncash a653be3510 audio: Update service function tables
Updated based off information provided by Switchbrew.
6 years ago
Lioncash 2b9fd23058 omm: Update service function tables
Updated based off information provided by Switchbrew.
6 years ago
Lioncash 4f52800822 nifm: Update service function tables
Updated based off information provided by switchbrew.
6 years ago
Lioncash f6c5a48dd1 hid: Update service function tables
Updated based off information provided by Switchbrew.
6 years ago
Lioncash d0cda7fe40 nim: Add the basic skeleton of the nim:eca service
Added based off information provided by Switchbrew
6 years ago
Lioncash d16bafc99d ns: Update service function table
Updated based off information provided by Switchbrew.
6 years ago
Lioncash a056b284cf set_cal: Update service function table
Updated based on information from Switchbrew.
6 years ago
bunnei fdd82b754a
Merge pull request #1523 from lioncash/lock
svc: Add missing error checks in svcArbitrateLock/svcArbitrateUnlock
6 years ago
bunnei 7f152f2273
Merge pull request #1511 from lioncash/content
content_archive: Minor reorganization changes
6 years ago
bunnei e5d428cf1e
Merge pull request #1521 from ogniK5377/imp-mmu
Used better names for mm:u and fixed a bad stub
6 years ago
bunnei 0291a86f60
Merge pull request #1522 from lioncash/core
core: Remove unnecessary assert in ArmInterface()
6 years ago
Lioncash 4b5ae8dbaa svc: Check for word alignment of addresses within svcArbitrateLock/svcArbitrateUnlock
The kernel itself checks whether or not the provided addresses are word
aligned before continuing, so we should be doing the same.
6 years ago
Lioncash 541e9624eb common: Add function for checking word alignment to alignment.h
This will be used in a following change to svcArbitrateLock() and
svcArbitrateUnlock()
6 years ago
Lioncash d27f4a4928 common: Move Is4KBAligned() to alignment.h
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.
6 years ago
Lioncash f109615be0 core: Remove unnecessary assert in ArmInterface()
CpuCore already does this sort of checking, so we can just call that
instead of duplicating the assertions.
6 years ago
bunnei d4ff4152ad
Merge pull request #1510 from lioncash/xci
XCI: Add function for checking the existence of the program NCA
6 years ago
bunnei 6acd8d166a
Merge pull request #1505 from FernandoS27/tex-3d
Implemented 3D Textures
6 years ago
David Marcec 98c7a6d622 Used better names for mm:u and fixed bad stub
InitializeWithId needs to return an id which is a u32 which should be a non zero value
6 years ago
bunnei 7dee60d7d2
Merge pull request #1444 from ogniK5377/better-hid
"Better Hid" Rework Part 1
6 years ago
bunnei 77e2d68df7
Merge pull request #1489 from FernandoS27/fix-tlds
shader_decompiler: Fix TLDS
6 years ago
FernandoS27 caaa9914fd Clang format and other fixes 6 years ago
FernandoS27 cb9fdc7a26 Implement Reinterpret Surface, to accurately blit 3D textures 6 years ago
FernandoS27 dbc34db6ce Implement GetInRange in the Rasterizer Cache 6 years ago
FernandoS27 fd9e2d0073 Implement 3D Textures 6 years ago
bunnei f912a82a8e
Merge pull request #1497 from bunnei/flush-framebuffers
Implement flushing in the rasterizer cache
6 years ago
bunnei 6e8752881c
Merge pull request #1498 from lioncash/aslr
svc: Clarify enum values for AddressSpaceBaseAddr and AddressSpaceSize in svcGetInfo()
6 years ago
bunnei 86dcf2942b
Merge pull request #1496 from FernandoS27/tex-array
Implement Arrays on Tex Instruction
6 years ago
bunnei afe22d8405
Merge pull request #1509 from DarkLordZach/device-save-data
savedata_factory: Add DeviceSaveData and fix TemporaryStorage
6 years ago
bunnei 648b55c6b9 gl_rasterizer_cache: Remove unnecessary block_depth=1 on Flush. 6 years ago
bunnei 2a035a1f6f gl_rasterizer_cache: Remove unnecessary temporary buffer with unswizzle. 6 years ago
David Marcec 8144fa42bd Using dual joycons as the default controller
Reason for the change is to allow both docked and undocked mode to work
6 years ago
bunnei 43b9494a0f gl_rasterizer_cache: Use AccurateCopySurface for use_accurate_gpu_emulation. 6 years ago
bunnei ee7c2dbf5a config: Rename use_accurate_framebuffers -> use_accurate_gpu_emulation.
- This will be used as a catch-all for slow-but-accurate GPU emulation paths.
6 years ago
bunnei 91602de7f2 rasterizer_cache: Refactor to support in-order flushing. 6 years ago
Lioncash 871350ae35 content_archive: Simpify assignment of bktr_base_romfs in the constructor
std::move doesn't actually dereference the data, so it doesn't matter
whether or not the type is null.
6 years ago
Lioncash 441b5b97bd content_archive: Make IsValidNCA() an internally linked function
This is only ever used within the cpp file, so it can just be an
internal function.
6 years ago
Lioncash 53e77ffbfe content_archive: Simplify rights ID check
This is the same as using std::any_of with an inverted predicate.
6 years ago
Lioncash d6604fa765 content_archive: Split loading into separate functions
The constructor alone is pretty large, the reading code should be split
into its consistuent parts to make it easier to understand it without
having to build a mental model of a 300+ line function.
6 years ago
Lioncash 4783ad54de content_archive: Pass and take NCASectionHeader instance by reference
Each header is 512 bytes in size, which is kind of an excessive amount
to copy all the time when it's possible to avoid doing so.
6 years ago
Lioncash 73e1e929a2 XCI: Add function for checking the existence of the program NCA
The only reason the getter existed was to check whether or not the
program NCA was null. Instead, we can just provide a function to query
for the existence of it, instead of exposing it entirely.
6 years ago
bunnei 0e59291310 gl_rasterizer_cache: Refactor to only call GetRegionEnd on surface creation. 6 years ago
bunnei 949d7832fa gl_rasterizer_cache: Only flush when use_accurate_framebuffers is enabled. 6 years ago
bunnei 5f79ba04bd gl_rasterizer_cache: Separate guest and host surface size managment. 6 years ago
bunnei 58be4dff79 gl_rasterizer_cache: Rename GetGLBytesPerPixel to GetBytesPerPixel.
- This does not really have anything to do with OpenGL.
6 years ago
bunnei cf7b46c101 gl_rasterizer_cache: Remove unused FlushSurface method. 6 years ago
bunnei 3afdfd7bfa gl_rasterizer: Implement flushing. 6 years ago
bunnei b4e29ccb81 gl_rasterizer_cache: Remove usage of Memory::Read/Write functions.
- These cannot be used within the cache, as they change cache state.
6 years ago
bunnei 4e9683e9d5 gl_rasterizer_cache: Clamp cached surface size to mapped GPU region size. 6 years ago
bunnei 37575eae65 memory_manager: Add a method for querying the end of a mapped GPU region. 6 years ago