Zach Hilman
3cf7246e37
am: Implement ILibraryAppletAccessor IsCompleted and GetResult
7 years ago
Zach Hilman
fed6ab14c3
am: Implement text check software keyboard mode
Allows the game to verify and send a message to the frontend.
7 years ago
Zach Hilman
e696ed1f4d
am: Deglobalize software keyboard applet
7 years ago
Zach Hilman
48fcb43585
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
de16c1e453
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
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
51af996854
ldr_ro: Add error check for memory allocation failure
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
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
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
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
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
8cb2e7d881
csrng: Use random integer distribution instead of raw engine
Prevents returning the same value every single call.
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
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
Lioncash
cd47af8af0
service/acc: Correct error case within TrySelectUserWithoutInteraction()
empty() in this case will always return false, since the returned
container is a std::array. Instead, check if all given users are invalid
before returning the error code.
7 years ago
Lioncash
9761936e02
profile_manager: Replace iterative loop with a ranged-for loop in ParseUserSaveFile()
7 years ago
Lioncash
1af13e0802
profile_manager: Move UUID Format function definitions into the cpp file
Avoids relying on fmt always being indirectly included.
7 years ago
Lioncash
b4f63db04e
nfp: Correct erroneous sizeof expression within GetTagInfo()
The previous expression would copy sizeof(size_t) amount of bytes (8 on
a 64-bit platform) rather than the full 10 bytes comprising the uuid
member.
Given the source and destination types are the same, we can just use an
assignment here instead.
7 years ago
Lioncash
3619b31fc0
service/audren_u: Forward RequestUpdateAuto through the same function as RequestUpdate
Based off RE, they both currently go through the same codepath with no
difference in behavior.
7 years ago
Lioncash
fcde356f15
hid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate()
7 years ago
Lioncash
958fa15a4c
service: Mark MakeFunctionString with the [[maybe_unused]] attribute.
When yuzu is compiled in release mode this function is unused, however,
when compiled in debug mode, it's used within a LOG_TRACE statement.
This prevents erroneous compilation warnings about an unused function
(that isn't actually totally unused).
7 years ago
Lioncash
454cf1dc09
hle/audren_u: Implement Get/SetRenderingTimeLimit
These appear to be a basic getter and setter pair, so these are fairly
trivial to implement and get out of the way.
7 years ago
Zach Hilman
4b4f883aef
csrng: Use std::mt19937 engine for random number generation
7 years ago
David Marcec
48cd61d9c8
Added maybe_unused
7 years ago
David Marcec
ddc242dd51
Added ToPosixTime & ToPosixTimeWithMyRule
Added instead of using a seperate PR to prevent conflicts
7 years ago
David Marcec
84c6134264
Added consts and static
7 years ago
David Marcec
4f78f5c0df
Implement GetClockSnapshot
Needed by megaman 11
7 years ago
David Marcec
a9c25ab9e4
Updated npad styles on holdtype switches
Fixes input for megaman
7 years ago
David Marcec
fd1ef25257
Fixups
7 years ago
David Marcec
41e99d8880
Ability to switch between docked and undocked mode in-game
Started implementation of the AM message queue mainly used in state getters. Added the ability to switch docked mode whilst in game without stopping emulation. Also removed some things which shouldn't be labelled as stubs as they're implemented correctly
7 years ago
David Marcec
ad45d68871
fixed spelling error
7 years ago
David Marcec
49cb4fa37b
Added missing log
7 years ago
David Marcec
92fcc6d15a
Implement acc:TrySelectUserWithoutInteraction
Needed for Shantae - Half-Genie Hero - Ultimate Edition!
7 years ago
Frederic Laing
1c4365d928
Fix typo in BufferTransformFlags
7 years ago
Zach Hilman
0080a8da58
sm: Implement RegisterService and UnregisterService
These are needed by Edizon to boot. They are used to see if a user is using SX OS, as SX OS registers a custom service called 'tx' and attempting to register a service of the same name lets the application know if it is present.
7 years ago