David Marcec
2097ef79e3
Made svcSetHeapSize and svcCreateSharedMemory more readable
7 years ago
David Marcec
67518a57b9
Reworked svcs slightly, improved error messages in AM and fsp_srv
7 years ago
David Marcec
775267deb9
Fixed hwopus compile error
7 years ago
David Marcec
7caebd7e0e
Improved error messages in AM, HwOpus and NvMap
7 years ago
David Marcec
224dcaf1a5
Improved error messages for SVCs
7 years ago
David Marcec
5ae0d6cba2
Changed logging to be "Log before execution", Added more error logging, all services should now log on some level
7 years ago
Mat M
a94cdcf36f
Merge pull request #1800 from encounter/svcgetinfo
svc: Return ERR_INVALID_ENUM_VALUE from svcGetInfo
7 years ago
Luke Street
7d5b774d8a
svc: Return ERR_INVALID_ENUM_VALUE from svcGetInfo
7 years ago
bunnei
748632351d
Merge pull request #1791 from bunnei/nvdrv-stub
nvdrv: Implement/stub DumpGraphicsMemoryInfo and GetStatus.
7 years ago
bunnei
3f8a365d78
Merge pull request #1787 from bunnei/fix-gpu-mm
memory_manager: Do not allow 0 to be a valid GPUVAddr.
7 years ago
bunnei
e5d6a2cc01
Merge pull request #1641 from DarkLordZach/sm-register-unregister
sm: Implement RegisterService and UnregisterService
7 years ago
bunnei
f983bac4e5
Merge pull request #1731 from DarkLordZach/change-dir-crash
filesystem: Clear registered union paths on factory creation
7 years ago
bunnei
7e2d2545af
Merge pull request #1725 from FernandoS27/gl43
Update OpenGL's backend version from 3.3 to 4.3
7 years ago
bunnei
254f9854dc
Merge pull request #1785 from Tinob/master
Add support for clear_flags register
7 years ago
bunnei
20b178ddc3
Merge pull request #1692 from Hedges/GDBClean
GDBStub Improvements
7 years ago
bunnei
491a01f8aa
Merge pull request #1708 from ogniK5377/res-scale
Report resolution scaling support for vi and am
7 years ago
bunnei
78314332c2
Merge pull request #1747 from DarkLordZach/exefs-lfs
patch_manager: Add support for applying LayeredFS patches to ExeFS
7 years ago
bunnei
d4339a4c76
Merge pull request #1769 from ReinUsesLisp/cc
gl_shader_decompiler: Rename cc to condition code and name internal flags
7 years ago
bunnei
6b564d4275
nvdrv: Implement/stub DumpGraphicsMemoryInfo and GetStatus.
- Used by Undertale.
7 years ago
Rodolfo Bogado
d311047172
Add support for clear_flags register
7 years ago
bunnei
d87a557869
Merge pull request #1744 from degasus/shader_cache
shader_cache: Only lock covered instructions.
7 years ago
bunnei
26f2b8ff7e
Merge pull request #1741 from lioncash/kbd
software_keyboard: Minor changes
7 years ago
bunnei
ae72f4154e
memory_manager: Do not allow 0 to be a valid GPUVAddr.
- Fixes a bug with Undertale using 0 for a render target.
7 years ago
bunnei
fc193b0050
Merge pull request #1770 from DarkLordZach/applet-stub
applets: Add StubApplet and use it as fallback when AppletId is not implemented
7 years ago
bunnei
3ec1fda8ae
Merge pull request #1777 from lioncash/core-mgr
core: Relocate CPU core management to its own class
7 years ago
bunnei
b8ce2936a9
Merge pull request #1773 from lioncash/thread
common/thread: Minor cleanup
7 years ago
Hexagon12
7ba80865a9
Added predicate comparison LessEqualWithNan ( #1736 )
* Added predicate comparison LessEqualWithNan
* oops
* Clang fix
7 years ago
bunnei
e90a06465e
Merge pull request #1756 from ReinUsesLisp/fix-textures
gl_shader_decompiler: Fix register overwriting on texture calls
7 years ago
bunnei
111fd1c2e9
Merge pull request #1766 from FernandoS27/fix-txq
Properly Implemented TXQ Instruction
7 years ago
bunnei
9673401302
Merge pull request #1762 from bunnei/getgputime
nvhost_ctrl_gpu: Implement IoctlGetGpuTime.
7 years ago
Zach Hilman
1bf2d163e3
am: Return StubApplet instead of nullptr when AppletId not found
7 years ago
ReinUsesLisp
b9f0e17558
gl_shader_decompiler: Add a message for unimplemented cc generation
7 years ago
Mat M
1c4ca87291
Merge pull request #1779 from DarkLordZach/debug-pad-unmapped
debug_pad: Avoid loading input for nonexistent buttons (Home and Screenshot)
7 years ago
Zach Hilman
e66f2db880
debug_pad: Avoid loading input for nonexistent buttons (Home and Screenshot)
Prevents memory exceptions when the debug pad is enabled.
7 years ago
bunnei
c4d7ee67fd
Merge pull request #1775 from bunnei/blend-eq
maxwell_3d: Implement alternate blend equations.
7 years ago
bunnei
afff2f4f2f
Merge pull request #1765 from bunnei/multi-audout
audout_u: Add support for multiple IAudioOut streams.
7 years ago
bunnei
0fb584ec0e
Merge pull request #1764 from bunnei/macrointerpreter
macro_interpreter: Implement AddWithCarry and SubtractWithBorrow.
7 years ago
Lioncash
7128bf879f
core: Relocate CPU core management to its own class
Keeps the CPU-specific behavior from being spread throughout the main
System class. This will also act as the home to contain member functions
that perform operations on all cores. The reason for this being that the
following pattern is sort of prevalent throughout sections of the
codebase:
If clearing the instruction cache for all 4 cores is necessary:
Core::System::GetInstance().ArmInterface(0).ClearInstructionCache();
Core::System::GetInstance().ArmInterface(1).ClearInstructionCache();
Core::System::GetInstance().ArmInterface(2).ClearInstructionCache();
Core::System::GetInstance().ArmInterface(3).ClearInstructionCache();
This is kind of... well, silly to copy around whenever it's needed.
especially when it can be reduced down to a single line.
This change also puts the basics in place to begin "ungrafting" all of the
forwarding member functions from the System class that are used to
access CPU state or invoke CPU-specific behavior. As such, this change
itself makes no changes to the direct external interface of System. This
will be covered by another changeset.
7 years ago
bunnei
e48ea86186
macro_interpreter: Implement AddWithCarry and SubtractWithBorrow.
- Used by Undertale.
7 years ago
bunnei
985ee6c596
audout_u: Add support for multiple IAudioOut streams.
- Used by Undertale.
7 years ago
bunnei
e17f9a1ed9
maxwell_3d: Implement alternate blend equations.
- Used by Undertale.
7 years ago
Lioncash
db0cee0b0a
common/thread: Drop Hungarian notation on SetCurrentThreadName's parameter
This is inconsistent with our coding style.
7 years ago
bunnei
f467d8e8a3
Merge pull request #1737 from FernandoS27/layer-copy
Implemented Fast Layered Copy
7 years ago
bunnei
d85816e36f
Merge pull request #1771 from lioncash/bit-set
common: Remove bit_set.h
7 years ago
bunnei
7f5f6018c4
Merge pull request #1767 from lioncash/handle
kernel/handle_table: Minor changes
7 years ago
Lioncash
1eb9558dd8
common/thread: Make Barrier's 'count' member non-const
While admirable as a means to ensure immutability, this has the
unfortunate downside of making the class non-movable. std::move cannot
actually perform a move operation if the provided operand has const data
members (std::move acts as an operation to "slide" resources out of an
object instance). Given Barrier contains move-only types such as
std::mutex, this can lead to confusing error messages if an object ever
contained a Barrier instance and said object was attempted to be moved.
7 years ago
Lioncash
e5a57346ea
common/thread: Initialize class member variables where applicable
Simplifies the constructor interfaces for Barrier and Event classes.
7 years ago
Lioncash
6459301aa3
common/thread: Group non-member functions together
Keeps the non-member interface in one spot instead of split into two
places, making it nicer to locate functions.
7 years ago
Lioncash
814e65334e
common/thread: Remove SleepCurrentThread()
This is also unused and superceded by standard functionality. The
standard library provides std::this_thread::sleep_for(), which provides
a much more flexible interface, as different time units can be used with
it.
7 years ago
Lioncash
c8c46d0278
common/thread: Remove unused CurrentThreadId()
This is an old function that's no longer necessary. C++11 introduced
proper threading support to the language and a thread ID can be
retrieved via std::this_thread::get_id() if it's ever needed.
7 years ago