Zach Hilman
ae53b84efd
frontend/applets: Add frontend software keyboard provider and default
Default implementation will return "yuzu" for any string. GUI clients (or CLI) can implement the Frontend::SoftwareKeyboardApplet class and register an instance to provide functionality.
7 years ago
Zach Hilman
5b95de0c9c
am/applets: Add Applet superclass to describe a generic applet
Adds an Initialize and Execute methods which are used by the ILibraryAppletAccessor to start and control the applet.
7 years ago
Zach Hilman
731b4bd691
am: Unstub ILibraryAppletAccessor::Start
Now starts the applet provided in constructor.
7 years ago
Zach Hilman
ba03bfa430
am: Implement PopInteractiveOutData and PushInteractiveInData
Used by software keyboard applet for data transfer.
7 years ago
Zach Hilman
5ce6b8fea7
am: Convert storage stack to vector
std::stack was no longer suitable for non-trivial operations
7 years ago
Zach Hilman
0682a908c0
am: Move AM::IStorage to header
Needs to be accessible by applet files.
7 years ago
Zach Hilman
c7b6c9de9c
am: Move IStorageAccessor to header and update backing buffer
Writes to an AM::IStorage object through an IStorageAccessor will now be preserved once the accessor is destroyed.
7 years ago
Zach Hilman
76d515327b
am: Implement CreateTransferMemoryStorage
Creates an AM::IStorage object with the contents of the transfer memory located at the handle provided.
7 years ago
Zach Hilman
c70529c1ec
string_util: Implement buffer to UTF-16 string helper function
Needed as most all software keyboard functions use fixed-length UTF16 string buffers.
7 years ago
Zach Hilman
7901de2b75
svc: Implement svcCreateTransferMemory
Seems to be used and created identically to SharedMemory, so just reuse that.
7 years ago
Rodolfo Bogado
4d1a0a24cc
drop support for non separate alpha as it seems to cause issues in some games
7 years ago
Zach Hilman
51af996854
ldr_ro: Add error check for memory allocation failure
7 years ago
Rodolfo Bogado
81a9c5fe6f
fix sampler configuration, thanks to Marcos for his investigation
7 years ago
Rodolfo Bogado
b312cca756
small type fix
7 years ago
Rodolfo Bogado
5297495c87
small fix for alphaToOne bit location
7 years ago
Rodolfo Bogado
e69eb3c760
fix for gcc compilation
7 years ago
Rodolfo Bogado
53b4a1af0f
add AlphaToCoverage and AlphaToOne
7 years ago
Rodolfo Bogado
8ed7e1af2c
add support for fragment_color_clamp
7 years ago
Rodolfo Bogado
02c22a3440
add missing MirrorOnceBorder support where supported
7 years ago
Rodolfo Bogado
1d60bb6544
set border color not depending on the wrap mode
only enable color mask for the first framebuffer id independent blending is disabled
7 years ago
Rodolfo Bogado
6a2aa6dbdb
set default value for point size register
7 years ago
Rodolfo Bogado
1881e86c43
fix viewport and scissor behavior
7 years ago
Zach Hilman
c91dc417d5
vi: Implement TransactParcel for Disconnect and DetachBuffer
Used by homebrew on exit. According to switchbrew, returns an empty response parcel with one zero in it.
7 years ago
MysticExile
03f274d8c1
Stubbed am:EnableApplicationCrashReport
7 years ago
Markus Wick
97f5c4ffd3
gl_rasterizer: Skip VB upload if the state is clean.
7 years ago
bunnei
585e6fd426
hwopus: DecodeInterleavedWithPerformance: Fix ordering of output parameters.
- Fixes audio issues with Pokemon: Let's Go Pikachu & Eevee.
7 years ago
David Marcec
c440e8b8e1
Implemented CalculateStandardUserSystemClockDifferenceByUser
Seems pokemon calls this sometimes and it caused "random crashes"
7 years ago
Frederic Laing
7a400e2191
textures/decoders: Replace magic numbers
7 years ago
Lioncash
d21b2164e9
kernel/errors: Clean up error codes
Similar to PR 1706, which cleans up the error codes for the filesystem
code, but done for the kernel error codes. This removes the ErrCodes
namespace and specifies the errors directly. This also fixes up any
straggling lines of code that weren't using the named error codes where
applicable.
7 years ago
Weiyi Wang
786995a81e
Common/Bitfield: store value as unsigned type
Storing signed type causes the following behaviour: extractValue can do overflow/negative left shift. Now it only relies on two implementation-defined behaviours (which are almost always defined as we want): unsigned->signed conversion and signed right shift
7 years ago
David Marcec
e8899e7027
Added various bluetooth based cmds for palma
It seems palma is done through bluetooth, we need this for pokemon go however more research needs to be done when we actually get palma working. This is presumably used for transfering data between the controller and the console, it does not seem for actual input as far as I know.
7 years ago
David Marcec
e658118aa9
Added SetIsPalmaAllConnectable, SetPalmaBoostMode
Currently unclear what these do yet, will be researched at a later time when we want to implement palma.
7 years ago
David Marcec
4476fd29d6
Fixed switching operation modes when not running a game
The service manager seems to be a nullptr before a game boots
7 years ago
David Marcec
9359655712
Report resolution scaling support for vi and am
Specifying an internal resolution in yuzu now will report the scaled changes to vi and am.
7 years ago
Lioncash
5c9c33e8ad
file_sys/errors: Remove currently unused filesystem error codes
Rather than keeping around unused values, we can just introduce them as
needed.
7 years ago
Lioncash
edd5b6f12f
file_sys/errors: Get rid of the ErrCodes namespace
There's no real point to keeping the separate enum around, especially
given the name of the error code itself is supposed to document what the
value actually represents.
7 years ago
Lioncash
b725d1fdf7
file_sys/errors: Extract FS-related error codes to file_sys/errors.h
Keeps filesystem-related error codes in one spot.
7 years ago
David
87eca5b209
Fixed priority switching edge case for handheld ( #1675 )
* Fixed priority switching edge case for handheld
We accidently used controller index instead of npad id
* Moved NPadIdToIndex
7 years ago
Zach Hilman
4838bc8ddc
fsp_srv: Add support for using open source archive if not found in NAND
7 years ago
Zach Hilman
6aa69880ea
file_sys: Add framework for synthesizing open source archives
7 years ago
Zach Hilman
34cd56980f
vfs_vector: Add VFS backend for std::array
Allows using constexpr/static const data with VFS.
7 years ago
Zach Hilman
8cb2e7d881
csrng: Use random integer distribution instead of raw engine
Prevents returning the same value every single call.
7 years ago
Frederic Laing
95d3965f31
textures/decoders: Minor cleanup
7 years ago
Frederic Laing
3844b5c0c5
gl_rasterizer_chache: Minor cleanup
7 years ago
Zach Hilman
c0a9abc3e1
ldr_ro: Implement UnloadNro (command 1)
Includes actual unmapping and address error checking.
7 years ago
Zach Hilman
056fa43dcd
ldr_ro: Fully Implement LoadNro (command 0)
Includes NRO and BSS error checking, maximum loaded NRO check, NRR hash check, and proper remapping of BSS data.
7 years ago
Zach Hilman
5e8e7b6019
ldr_ro: Implement UnloadNrr (command 3)
Includes initialization check, proper address check, alignment check, and actual unloading of a loaded NRR.
7 years ago
Zach Hilman
6cd504feb9
ldr_ro: Fully implement LoadNrr (command 2)
Includes parameter error checking, hash enforcement, initialization check, and max NRR load check.
7 years ago
Zach Hilman
0276761a1e
process: Make MirrorMemory take state to map new memory as
Credits to Subv
7 years ago
Zach Hilman
8aa17f0480
pl_u: Resize buffers in shared font data getter to what game requests
Fixes unmapped spam in SMP and buffer size errors in some other games
7 years ago