FernandoS27
259da93567
Added Saturation to FMUL32I
7 years ago
FernandoS27
8e1239fbc5
Assert that multiple render targets are not set while alpha testing
7 years ago
FernandoS27
59a004f915
Use standard UBO and fix/stylize the code
7 years ago
FernandoS27
17315cee16
Cache uniform locations and restructure the implementation
7 years ago
FernandoS27
bcb5b924fd
Remove SyncAlphaTest and clang format
7 years ago
FernandoS27
7b39107e3a
Added Alpha Func
7 years ago
FernandoS27
aa620c14af
Implemented Alpha Testing
7 years ago
FernandoS27
5c5b4e8e7d
Fixed FSETP and FSET
7 years ago
FernandoS27
e2416bbd1f
Fixed VAOs Float types only returning GL_FLOAT in cases that they had to return GL_HALF_FLOAT
7 years ago
Zach Hilman
314a948373
psm: Stub GetChargerType
Used by LovePotion Lua Homebrew. Stubbed as connected to official Nintendo Switch dock.
7 years ago
Lioncash
ca5a93167e
service: Add the basic skeleton for the NPNS services
7 years ago
Lioncash
981faea4d6
hid: Update service function table for hidbus
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
5ea4cfd499
am: Add the basic skeleton for the tcap service
Added based off information provided by Switchbrew.
7 years ago
Lioncash
edb1c36a87
am: Update service function tables
Updated based off information from Switchbrew
7 years ago
Lioncash
ae7f55947e
prepo: Update service function table.
Also introduces the new prepo:a2 service.
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
a806c78a1a
lbl: Update service function table names
Updated based off information provided by Switchbrew.
7 years ago
Zach Hilman
a279d80a19
qt: Move Reinitialize Keys to Tools menu
7 years ago
Zach Hilman
10a2d20e26
psm: Stub GetBatteryChargePercentage
Used by LovePotion Lua Homebrew. Stubbed to return 100% charge.
7 years ago
Zach Hilman
3b8c0f8885
service: Add skeleton for psm service
Seems to be the power controller. Listed in switchbrew under the category PTM services.
7 years ago
Lioncash
98a27b1ec7
CMakeLists: Use target_compile_definitions instead of add_definitions to 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.
7 years ago
Lioncash
adb9eda105
web_service/CMakeLists: Make the CPPHTTPLIB_OPENSSL_SUPPORT constrained to 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.
7 years ago
Lioncash
896c0f61a0
svc: Fix vma boundary check in svcQueryMemory
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.
7 years ago
Lioncash
8a86c8d48b
gl_shader_decompiler: Allow std::move to function in SetPredicate
If the variable being moved is const, then std::move will always perform
a copy (since it can't actually move the data).
7 years ago
Lioncash
381baf783d
gl_shader_decompiler: Get rid of variable shadowing warnings
A variable with the same name was previously declared in an outer scope.
7 years ago
Lioncash
61ef8af1e2
gl_shader_decompiler: Fix a few comment typos
7 years ago
ReinUsesLisp
3ec795d95e
gl_shader_decompiler: Move position varying declaration back to gl_shader_gen
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".
7 years ago
David Marcec
a03600ba28
Added auto controller switching to supported controllers and single joycon 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
7 years ago
Zach Hilman
7e0d2fc994
aoc_u: Stub GetAddOnContentListChangedEvent
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).
7 years ago
Zach Hilman
0aef2b9c26
crypto: Use compressed sizes in offset calculation for KIP decompression
Fixes a fatal crash on start when deriving keys.
7 years ago
David Marcec
7a7dad05c0
Stubbed home blocking
Needed by arms due to new hid rework
7 years ago
Lioncash
1833498617
es: Update service function tables
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
a653be3510
audio: Update service function tables
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
2b9fd23058
omm: Update service function tables
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
4f52800822
nifm: Update service function tables
Updated based off information provided by switchbrew.
7 years ago
Lioncash
f6c5a48dd1
hid: Update service function tables
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
d0cda7fe40
nim: Add the basic skeleton of the nim:eca service
Added based off information provided by Switchbrew
7 years ago
Lioncash
d16bafc99d
ns: Update service function table
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
a056b284cf
set_cal: Update service function table
Updated based on information from Switchbrew.
7 years ago
bunnei
7e665c2721
GPU: Improved implementation of maxwell DMA (Subv).
7 years ago
bunnei
bcde71d4d9
decoders: Introduce functions for un/swizzling subrects.
7 years ago
bunnei
a5d853a9f8
GPU: Invalidate destination address of kepler_memory writes.
7 years ago
bunnei
6b333d862b
fermi_2d: Add support for more accurate surface copies.
7 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.
7 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()
7 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.
7 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.
7 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
7 years ago
Lioncash
33830aa65a
svc: Add missing sanitizing checks for MapSharedMemory/UnmapSharedMemory
Now that the changes clarifying the address spaces has been merged, we
can wrap the checks that the kernel performs when mapping shared memory
(and other forms of memory) into its own helper function and then use
those within MapSharedMemory and UnmapSharedMemory to complete the
sanitizing checks that are supposed to be done.
7 years ago
Lioncash
452aa30cb7
hid/controller: Remove unused header inclusions
swap.h only needs to be present in the header for the type aliases and
definitions, it's not actually needed in the cpp files though. input.h
is just unused entirely in xpad.h
7 years ago
Lioncash
7f52dc1790
hid/controller/npad: Remove unused dump_idx member variable
Given it's unused, we may as well toss it.
7 years ago