Lioncash
fe262212e1
service: Add ldr services
Adds the skeleton for the ldr-related services based off the information
provided on Switch Brew.
8 years ago
Lioncash
7e87e94e33
service/nvdrv: Take std::string in Open() by const reference
Avoids copies from being made, since the string is only ever used for
lookup, the data is never transfered anywhere.
Ideally, we'd use a std::string_view here, but devices is a
std::unordered_map, not a std::map, so we can't use heterogenous lookup
here.
8 years ago
Lioncash
858c831282
service/nvdrv: Use std::move where applicable
Avoids unnecessary reference count increments and decrements.
In one case, we don't need to make a shared_ptr copy at all,
just to call a member function.
8 years ago
Lioncash
c96ea0051d
service: Add pm services
Adds the skeleton for the process management services based off
information on Switch Brew.
8 years ago
Lioncash
6dcc80c285
wait_tree: Add missing switch case for WaitTreeThread::GetText()
We were missing the enum entry for WaitIPC
8 years ago
Lioncash
397d500e33
service: Add the es service
Adds the skeleton for the ETicket service based off the information on
Switch Brew
8 years ago
Lioncash
11931ccf6a
time: Add the time:a service
Given we already have time:s and time:u, we should also have time:a
8 years ago
Subv
a99c559c69
GPU: Use the right texture format for sRGBA framebuffers.
8 years ago
Subv
6c114256ca
GPU: Allow the use of Z24S8 as a texture format.
8 years ago
Subv
b4ae8432b4
GPU: Implemented the Z32_S8_X24 depth buffer format.
8 years ago
Subv
72cb7ab18b
GPU: Allow using Z32 as a texture format.
8 years ago
Subv
1930980a26
GPU: Allow the usage of R8 as a render target format.
8 years ago
Subv
3b77420f15
GPU: Remove the assert that required the CODE_ADDRESS to be 0.
Games usually just leave it at 0 but nouveau sets it to something else. This already works fine, the assert is useless.
8 years ago
Subv
d10cc9c548
GPU: Implemented the R16 and R16F texture formats.
8 years ago
Lioncash
6bbabfe848
gl_rasterizer: Replace magic number with GL_INVALID_INDEX in SetupConstBuffers()
This is just the named constant that OpenGL provides, so we can use that
instead of using a literal -1
8 years ago
Lioncash
7300872843
gl_rasterizer: Use std::string_view instead of std::string when checking for extensions
We can avoid heap allocations here by just using a std::string_view
instead of performing unnecessary copying of the string data.
8 years ago
Lioncash
2aa1ec7f8d
gl_rasterizer: Use in-class member initializers where applicable
We can just assign to the members directly in these cases.
8 years ago
Lioncash
8dd50ecfb6
deconstructed_rom_directory: Remove unused FindRomFS() function
8 years ago
Lioncash
7449b47e7f
friend: Add friend:m, friend:s, and friend:v services
Given we already have friend:a and friend:u, we should add the remaining
services as well.
8 years ago
Lioncash
4ac9553a75
friend/interface: Add missing CreateDaemonSuspendSessionService() to the function handler table
8 years ago
Lioncash
a8473054f0
friend: Deduplicate interfaces
8 years ago
Lioncash
46a1bbceea
svc: Resolve sign comparison warnings in WaitSynchronization()
The loop's induction variable was signed, but we were comparing against
an unsigned variable.
8 years ago
Lioncash
5bd30caa5c
svc: Log parameters in SetMemoryAttribute()
Provides slightly more context than only logging out the address value.
8 years ago
Lioncash
bf002d355b
time: Simplify interface creation
We can use one instance of the interface instead of duplicating code.
8 years ago
MerryMage
672d7dd573
core_timing: Split off utility functions into core_timing_util
8 years ago
MerryMage
86834affbb
CMakeLists: Sort filenames
8 years ago
Lioncash
8bfaf576fb
wait_tree: Silence warning about all code paths not returning a value
If code execution hits this spot, something has gone very wrong, so mark
the path as unreachable. This silences a warning on MSVC.
8 years ago
Lioncash
01efb33957
set_sys: Implement SetColorSetId()
8 years ago
Lioncash
506fb32dd5
ipc_helper: Add helper member function for popping enum values to RequestParser
8 years ago
bunnei
772c408826
gl_rasterizer: Implement texture border color.
8 years ago
bunnei
a5062c345f
maxwell_to_gl: Implement Texture::WrapMode::Border.
8 years ago
Subv
3a80e8ab24
GPU: Implement texture format R32F.
8 years ago
Lioncash
75c3f87d24
arm_dynarmic: Make MakeJit() a const member function
This functions doesn't modify instance state, so it can be a made a
const member function.
8 years ago
Lioncash
88f34a5b96
core: Make converting constructors explicit where applicable
Avoids unwanted implicit conversions. Thankfully, given the large amount
of cleanup in past PRs, only this tiny amount is left over to cover.
8 years ago
bunnei
295d3104fb
maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.
8 years ago
Lioncash
592a444838
apm/interface: Remove redundant declaration of InstallInterfaces()
This is already declared in apm/apm.h
8 years ago
Lioncash
ecc4f5065a
mutex: Pass SharedPtr to GetHighestPriorityMutexWaitingThread() by reference
The pointed to thread's members are simply observed in this case, so we
don't need to copy it here.
8 years ago
Zach Hilman
bd410ce242
VFS Regression and Accuracy Fixes ( #776 )
* Regression and Mode Fixes
* Review Fixes
* string_view correction
* Add operator& for FileSys::Mode
* Return std::string from SanitizePath
* Farming Simulator Fix
* Use != With mode operator&
8 years ago
Lioncash
a15433c2a9
hle_ipc: Make constructors explicit where applicable
8 years ago
Lioncash
97ce8f0457
gl_shader_decompiler: Correct return value of WriteTexsInstruction()
This should be returning void, not a std::string
8 years ago
Lioncash
1c25b997e8
ipc_helpers: Make member variables of ResponseBuilder private
These aren't used externally at all, so they can be made private.
8 years ago
bunnei
567ae2ae9c
gl_shader_decompiler: Implement shader instruction TLDS.
8 years ago
bunnei
889da74c9d
gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.
8 years ago
bunnei
c8cb44909a
gl_rasterizer_cache: Implement RenderTargetFormat RGBA32_FLOAT.
8 years ago
bunnei
e1ffcc6817
gl_rasterizer_cache: Implement RenderTargetFormat BGRA8_UNORM.
8 years ago
bunnei
ff355e7684
gl_rasterizer_cache: Add missing log statements.
8 years ago
bunnei
04cf719b92
gl_shader_decompiler: Print instruction value in shader comments.
8 years ago
bunnei
658f096c03
gl_shader_decompiler: Check if SetRegister result is ZeroIndex.
8 years ago
Lioncash
78051d5378
exclusive_monitor: Use consistent type alias for u64
Uses the same type aliases we use for virtual addresses, and converts
one lingering usage of std::array<uint64_t, 2> to u128 for consistency.
8 years ago
Lioncash
6904f9f6b1
partition_filesystem: Use std::move where applicable
Avoids copying a std::string instance and avoids unnecessary atomic
reference count incrementing and decrementing.
8 years ago