David Marcec
1f4564eef3
Removed hard coded values for width and height
7 years ago
Zach Hilman
74cf9c3aa3
software_keyboard: Check for UTF-8 config flag
7 years ago
Frederic L
d2dd9cfc1d
Eliminated unnessessary memory allocation and copy ( #1702 )
7 years ago
Schplee
99d028e51f
Correctly sets default system language for yuzu-CLI ( #1727 )
* Correctly sets default system language for yuzu-CLI
A user reported that yuzu_cmd runs games in Japanese rather than the correct default of English (like yuzu-qt does correctly), this change fixes that.
* fix clang issue
deleted whitespace
7 years ago
ReinUsesLisp
b39ae68211
gl_rasterizer: Remove default clip distance
7 years ago
Tobias
66be135276
svc: ResetSignal is not stubbed
https://user-images.githubusercontent.com/20753089/48677874-b8e01c80-eb7b-11e8-8043-b99faa29022c.PNG
7 years ago
Zach Hilman
945fdd9361
software_keyboard: Add max and current length display to dialog
7 years ago
Zach Hilman
b9c0661453
software_keyboard: Push all data over all channels on dialog completion
7 years ago
Zach Hilman
6874ed4531
applet: Use std::queue instead of std::vector for storage stack
7 years ago
Zach Hilman
948e1b2f42
applet: Add operation completed callback
7 years ago
Zach Hilman
b9caffe103
software_keyboard: Push buffer size to offset 0x4 in output data
7 years ago
Zach Hilman
f0d2246b6a
software_keyboard: Make GetText asynchronous
a
7 years ago
Zach Hilman
04bc2fafbc
am: Allow applets to push multiple and different channels of data
7 years ago
Zach Hilman
57a051a767
am: Implement ILibraryAppletAccessor IsCompleted and GetResult
7 years ago
Zach Hilman
27ebe123e9
am: Implement text check software keyboard mode
Allows the game to verify and send a message to the frontend.
7 years ago
Zach Hilman
efced53d38
am: Deglobalize software keyboard applet
7 years ago
Zach Hilman
b9c5a8bcf6
qt/main: Register Qt Software Keyboard frontend with AM
Allows using Qt provider over default.
7 years ago
Zach Hilman
3a5f620041
am: Construct and use proper applets with ILibraryAppletAccessor
Allows use of software keyboard applet and future applets to be easily added by adding enum ID and a switch case.
7 years ago
Zach Hilman
56c85c996a
qt/applets: Provide Qt frontend implementation of software keyboard
Implements all of the features of the keyboard, including length, default text, character validation, and UTF-16 character support.
7 years ago
Zach Hilman
60514e230c
am/applets: Add connector between frontend and AM applet classes
Provides a middleman between the Frontend provider class and the expected AM::Applets::Applet class needed by ILibraryAppletAccessor
7 years ago
Zach Hilman
25b03a89ce
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
a9fbd4ad68
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
b1fd8313f8
am: Unstub ILibraryAppletAccessor::Start
Now starts the applet provided in constructor.
7 years ago
Zach Hilman
df4573e786
am: Implement PopInteractiveOutData and PushInteractiveInData
Used by software keyboard applet for data transfer.
7 years ago
Zach Hilman
c5e0ab1a79
am: Convert storage stack to vector
std::stack was no longer suitable for non-trivial operations
7 years ago
Zach Hilman
5fe3583762
am: Move AM::IStorage to header
Needs to be accessible by applet files.
7 years ago
Zach Hilman
1ebdafe073
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
7ee51622c4
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
83aa10f58f
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
87de78ce16
svc: Implement svcCreateTransferMemory
Seems to be used and created identically to SharedMemory, so just reuse that.
7 years ago
Rodolfo Bogado
01a35d1e38
drop support for non separate alpha as it seems to cause issues in some games
7 years ago
Zach Hilman
f46fd39579
ldr_ro: Add error check for memory allocation failure
7 years ago
Rodolfo Bogado
23a2acdf61
fix sampler configuration, thanks to Marcos for his investigation
7 years ago
Rodolfo Bogado
8aaee278c2
small type fix
7 years ago
Rodolfo Bogado
a6fbb1ec16
small fix for alphaToOne bit location
7 years ago
Rodolfo Bogado
f53a271874
fix for gcc compilation
7 years ago
Rodolfo Bogado
00ae363ad5
add AlphaToCoverage and AlphaToOne
7 years ago
Rodolfo Bogado
bb20c5b8a0
add support for fragment_color_clamp
7 years ago
Rodolfo Bogado
1c8c80f8dd
add missing MirrorOnceBorder support where supported
7 years ago
Rodolfo Bogado
f97144ea95
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
b85b478d33
set default value for point size register
7 years ago
Rodolfo Bogado
bcf804a44e
fix viewport and scissor behavior
7 years ago
Zach Hilman
f167646149
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
da0f4cb242
Stubbed am:EnableApplicationCrashReport
7 years ago
Markus Wick
264030c070
gl_rasterizer: Skip VB upload if the state is clean.
7 years ago
bunnei
8d4328026d
hwopus: DecodeInterleavedWithPerformance: Fix ordering of output parameters.
- Fixes audio issues with Pokemon: Let's Go Pikachu & Eevee.
7 years ago
David Marcec
f60294d740
Implemented CalculateStandardUserSystemClockDifferenceByUser
Seems pokemon calls this sometimes and it caused "random crashes"
7 years ago
Frederic Laing
9d588877ef
textures/decoders: Replace magic numbers
7 years ago
Lioncash
99cdc2b5d1
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
aff2753df8
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