bunnei
fa24c17b95
decoders: Introduce functions for un/swizzling subrects.
7 years ago
bunnei
6a6fbb1478
GPU: Invalidate destination address of kepler_memory writes.
7 years ago
bunnei
e3fdb2ff4b
fermi_2d: Add support for more accurate surface copies.
7 years ago
bunnei
6af379e62c
Merge pull request #1523 from lioncash/lock
svc: Add missing error checks in svcArbitrateLock/svcArbitrateUnlock
7 years ago
bunnei
57e45734a3
Merge pull request #1511 from lioncash/content
content_archive: Minor reorganization changes
7 years ago
bunnei
94d2738c05
Merge pull request #1521 from ogniK5377/imp-mmu
Used better names for mm:u and fixed a bad stub
7 years ago
bunnei
7a2baf0d3d
Merge pull request #1522 from lioncash/core
core: Remove unnecessary assert in ArmInterface()
7 years ago
Lioncash
c015a42cc2
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.
7 years ago
Lioncash
da8827def6
common: Add function for checking word alignment to alignment.h
This will be used in a following change to svcArbitrateLock() and
svcArbitrateUnlock()
7 years ago
Lioncash
7784a1ca44
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.
7 years ago
Lioncash
3813aafaaf
core: Remove unnecessary assert in ArmInterface()
CpuCore already does this sort of checking, so we can just call that
instead of duplicating the assertions.
7 years ago
bunnei
c08893660f
Merge pull request #1510 from lioncash/xci
XCI: Add function for checking the existence of the program NCA
7 years ago
bunnei
1504e6bc71
Merge pull request #1505 from FernandoS27/tex-3d
Implemented 3D Textures
7 years ago
David Marcec
9aa32c18b6
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
7 years ago
bunnei
cc962d05af
Merge pull request #1444 from ogniK5377/better-hid
"Better Hid" Rework Part 1
7 years ago
bunnei
cb9b63b186
Merge pull request #1489 from FernandoS27/fix-tlds
shader_decompiler: Fix TLDS
7 years ago
FernandoS27
efa39b1b35
Clang format and other fixes
7 years ago
FernandoS27
c841b2ec48
Implement Reinterpret Surface, to accurately blit 3D textures
7 years ago
FernandoS27
893e144b02
Implement GetInRange in the Rasterizer Cache
7 years ago
FernandoS27
1469c546c3
Implement 3D Textures
7 years ago
bunnei
9ed245a363
Merge pull request #1497 from bunnei/flush-framebuffers
Implement flushing in the rasterizer cache
7 years ago
bunnei
70d4649954
Merge pull request #1498 from lioncash/aslr
svc: Clarify enum values for AddressSpaceBaseAddr and AddressSpaceSize in svcGetInfo()
7 years ago
bunnei
f0924b6e95
Merge pull request #1496 from FernandoS27/tex-array
Implement Arrays on Tex Instruction
7 years ago
bunnei
7fe8c12342
Merge pull request #1509 from DarkLordZach/device-save-data
savedata_factory: Add DeviceSaveData and fix TemporaryStorage
7 years ago
bunnei
898c5576b5
gl_rasterizer_cache: Remove unnecessary block_depth=1 on Flush.
7 years ago
bunnei
a205f5a4df
gl_rasterizer_cache: Remove unnecessary temporary buffer with unswizzle.
7 years ago
David Marcec
128f14d60e
Using dual joycons as the default controller
Reason for the change is to allow both docked and undocked mode to work
7 years ago
bunnei
30c357b12b
gl_rasterizer_cache: Use AccurateCopySurface for use_accurate_gpu_emulation.
7 years ago
bunnei
b1c31be284
config: Rename use_accurate_framebuffers -> use_accurate_gpu_emulation.
- This will be used as a catch-all for slow-but-accurate GPU emulation paths.
7 years ago
bunnei
b3ee8ceca5
rasterizer_cache: Refactor to support in-order flushing.
7 years ago
Lioncash
b00f4831b0
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.
7 years ago
Lioncash
6adf7a6f99
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.
7 years ago
Lioncash
401a947c41
content_archive: Simplify rights ID check
This is the same as using std::any_of with an inverted predicate.
7 years ago
Lioncash
33363de6df
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.
7 years ago
Lioncash
067a174e00
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.
7 years ago
Lioncash
54ff822f66
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.
7 years ago
bunnei
f5df68346c
gl_rasterizer_cache: Refactor to only call GetRegionEnd on surface creation.
7 years ago
bunnei
5084ec9509
gl_rasterizer_cache: Only flush when use_accurate_framebuffers is enabled.
7 years ago
bunnei
54918b45fe
gl_rasterizer_cache: Separate guest and host surface size managment.
7 years ago
bunnei
1b8aabcb7b
gl_rasterizer_cache: Rename GetGLBytesPerPixel to GetBytesPerPixel.
- This does not really have anything to do with OpenGL.
7 years ago
bunnei
7a80c6f83f
gl_rasterizer_cache: Remove unused FlushSurface method.
7 years ago
bunnei
6ac61f1799
gl_rasterizer: Implement flushing.
7 years ago
bunnei
1aba2e2fe9
gl_rasterizer_cache: Remove usage of Memory::Read/Write functions.
- These cannot be used within the cache, as they change cache state.
7 years ago
bunnei
4f43267355
gl_rasterizer_cache: Clamp cached surface size to mapped GPU region size.
7 years ago
bunnei
ac8ab8f305
memory_manager: Add a method for querying the end of a mapped GPU region.
7 years ago
bunnei
a8c8207341
rasterizer_cache: Reintroduce method for flushing.
7 years ago
bunnei
5ec58fa78f
gl_rasterizer_cache: Reintroduce code for handling swizzle and flush to guest RAM.
7 years ago
bunnei
57e652436a
Merge pull request #1443 from DarkLordZach/lower-loader-logs-1
content_archive/patch_manager: Lower log levels to eliminate some unnecessary logs
7 years ago
David
e160ae78c8
Implement VI ConvertScalingMode ( #1475 )
* Implement VI ConvertScalingMode
* Fixed push enum
* Scale mode now uses Nintendo scale mode as an enum as well
7 years ago
bunnei
10792dbff6
Merge pull request #1502 from lioncash/unique
core: Convert shared_ptr instances into unique_ptr instances where applicable for System and Cpu
7 years ago