summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Report resolution scaling support for vi and amGravatar David Marcec2018-11-162-13/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifying an internal resolution in yuzu now will report the scaled changes to vi and am.
* | | | | | | Merge pull request #1747 from DarkLordZach/exefs-lfsGravatar bunnei2018-11-232-2/+48
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | patch_manager: Add support for applying LayeredFS patches to ExeFS
| * | | | | | patch_manager: Show LayeredExeFS patch in add-ons columnGravatar Zach Hilman2018-11-201-3/+14
| | | | | | | | | | | | | | | | | | | | | The decision was made to name them LayeredExeFS instead of just LayeredFS to differentiate from normal RomFS-based mods. The name may be long/unweildy, but conveys the meaning well.
| * | | | | | patch_manager: Apply LayeredExeFS patchesGravatar Zach Hilman2018-11-201-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This will scan the <mod>/exefs dir for all files and then layer those on top of the game's exefs and use this as the new exefs. This allows for overriding of the compressed NSOs or adding new files. This does use the same dir as IPS/IPSwitch patch, but since the loader will not look for those they are ignored.
| * | | | | | settings: Add option to dump ExeFS of games upon launchGravatar Zach Hilman2018-11-202-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When enabled, all exefs(es) will be copied to yuzu/dump/<title_id>/exefs.
* | | | | | | Merge pull request #1770 from DarkLordZach/applet-stubGravatar bunnei2018-11-234-4/+102
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | applets: Add StubApplet and use it as fallback when AppletId is not implemented
| * | | | | | | am: Return StubApplet instead of nullptr when AppletId not foundGravatar Zach Hilman2018-11-223-11/+11
| | | | | | | |
| * | | | | | | applets: Add StubAppletGravatar Zach Hilman2018-11-213-0/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will log all data it receives, log all calls to its methods and push dummy data into both channels on execution.
* | | | | | | | Merge pull request #1777 from lioncash/core-mgrGravatar bunnei2018-11-234-97/+225
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | core: Relocate CPU core management to its own class
| * | | | | | | | core: Relocate CPU core management to its own classGravatar Lioncash2018-11-224-97/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keeps the CPU-specific behavior from being spread throughout the main System class. This will also act as the home to contain member functions that perform operations on all cores. The reason for this being that the following pattern is sort of prevalent throughout sections of the codebase: If clearing the instruction cache for all 4 cores is necessary: Core::System::GetInstance().ArmInterface(0).ClearInstructionCache(); Core::System::GetInstance().ArmInterface(1).ClearInstructionCache(); Core::System::GetInstance().ArmInterface(2).ClearInstructionCache(); Core::System::GetInstance().ArmInterface(3).ClearInstructionCache(); This is kind of... well, silly to copy around whenever it's needed. especially when it can be reduced down to a single line. This change also puts the basics in place to begin "ungrafting" all of the forwarding member functions from the System class that are used to access CPU state or invoke CPU-specific behavior. As such, this change itself makes no changes to the direct external interface of System. This will be covered by another changeset.
* | | | | | | | | Merge pull request #1762 from bunnei/getgputimeGravatar bunnei2018-11-232-0/+19
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | nvhost_ctrl_gpu: Implement IoctlGetGpuTime.
| * | | | | | | | | nvhost_ctrl_gpu: Implement IoctlGetGpuTime.Gravatar bunnei2018-11-212-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Used by Undertale.
* | | | | | | | | | debug_pad: Avoid loading input for nonexistent buttons (Home and Screenshot)Gravatar Zach Hilman2018-11-221-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents memory exceptions when the debug pad is enabled.
* | | | | | | | | | Merge pull request #1765 from bunnei/multi-audoutGravatar bunnei2018-11-222-9/+22
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | | audout_u: Add support for multiple IAudioOut streams.
| * | | | | | | | | audout_u: Add support for multiple IAudioOut streams.Gravatar bunnei2018-11-222-9/+22
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | - Used by Undertale.
* | | | | | | | | Merge pull request #1767 from lioncash/handleGravatar bunnei2018-11-212-12/+14
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | kernel/handle_table: Minor changes
| * | | | | | | | kernel/handle_table: Move private static functions into the cpp fileGravatar Lioncash2018-11-212-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These don't depend on class state, and are effectively implementation details, so they can go into the cpp file .
| * | | | | | | | kernel/handle_table: Restrict handle table size to 1024 entriesGravatar Lioncash2018-11-211-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous handle table size is a holdover from Citra. The actual handle table construct on Horizon only allows for a maximum of 1024 entries.
| * | | | | | | | kernel/handle_table: Default destructor in the cpp fileGravatar Lioncash2018-11-212-0/+3
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't need to potentially inline the teardown logic of all of the handle instances.
* | | | | | | | Merge pull request #1742 from lioncash/hle-swkbdGravatar bunnei2018-11-215-44/+63
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | am/applets: Minor cleanup
| * | | | | | | am/applets: Make the applet data broker part of the applet itself.Gravatar Lioncash2018-11-205-31/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The accessor should be doing just that, accessing, rather than retaining the lifetime of the data broker as well.
| * | | | | | | am/applets: Replace includes with forward declarations where applicableGravatar Lioncash2018-11-202-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also resolve places where includes should have been provided, but weren't.
| * | | | | | | am/applets: Relocate comments above the relevant data member in AppletDataBrokerGravatar Lioncash2018-11-201-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids wonky wrapping and makes it nicer to read.
* | | | | | | | am: Correct build failureGravatar Lioncash2018-11-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The interface for shared memory was changed, but another commit was merged that relied on the (previously public) internals of SharedMemory. This amends that discrepancy.
* | | | | | | | Merge pull request #1734 from lioncash/sharedGravatar bunnei2018-11-203-29/+45
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | kernel/shared_memory: Make data members private, plus minor interface changes
| * | | | | | | | kernel/shared_memory: Make Map() and Unmap() take the target process by ↵Gravatar Lioncash2018-11-193-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reference rather than as a pointer Both member functions assume the passed in target process will not be null. Instead of making this assumption implicit, we can change the functions to be references and enforce this at the type-system level.
| * | | | | | | | kernel/shared_memory: Add a const qualified member function overload for ↵Gravatar Lioncash2018-11-192-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GetPointer() Given this doesn't mutate instance state, we can provide a const-qualified variant as well.
| * | | | | | | | kernel/shared_memory: Use 64-bit types for offset and size in CreateForAppletGravatar Lioncash2018-11-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keeps the interface consistent with the regular Create() function.
| * | | | | | | | kernel/shared_memory: Make GetPointer() take a std::size_t instead of a u32Gravatar Lioncash2018-11-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes the interface nicer to use in terms of 64-bit code, as it makes it less likely for one to get truncation warnings (and also makes sense in the context of the rest of the interface where 64-bit types are used for sizes and offsets
| * | | | | | | | kernel/shared_memory: Make data members privateGravatar Lioncash2018-11-191-12/+17
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than allow unfettered access to the class internals, we hide all members by default and create and API that other code can operate against.
* | | | | | | | Merge pull request #1733 from lioncash/ldrGravatar bunnei2018-11-201-29/+12
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | ldr: Clean up error codes
| * | | | | | | | ldr: Clean up error codesGravatar Lioncash2018-11-191-29/+12
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The separate enum isn't particularly necessary here, and the values can just be directly put into the ResultCode instances, given the names are also self-documenting here.
* | | | | | | | Merge pull request #1746 from lioncash/randomGravatar bunnei2018-11-202-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | kernel/process: Move <random> include to the cpp file
| * | | | | | | | kernel/process: Move <random> include to the cpp fileGravatar Lioncash2018-11-202-1/+1
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <random> isn't necesary directly within the header and can be placed in the cpp file where its needed. Avoids propagating random generation utilities via a header file.
* / | | | | | | file_sys/card_image: Provide named members for the GamecardInfo structGravatar Lioncash2018-11-201-1/+12
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Fills out the struct according to information provided by SwitchBrew
* | | | | | | Merge pull request #1667 from DarkLordZach/swkbdGravatar bunnei2018-11-2012-106/+840
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | am: Implement HLE software keyboard applet
| * | | | | | | software_keyboard: Fix erroneous extra PushNormalDataGravatar Zach Hilman2018-11-191-3/+2
| | | | | | | |
| * | | | | | | software_keyboard: Return correct result code on user cancel operationGravatar Zach Hilman2018-11-193-5/+1
| | | | | | | |
| * | | | | | | applet: Add AppletDataBroker to manage HLE to AM service interactionGravatar Zach Hilman2018-11-195-104/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This cleans up most of the callbacks and such in the Applets::Applet interface, while also properly implementing all four data channels.
| * | | | | | | software_keyboard: Use correct offset for inital text stringGravatar Zach Hilman2018-11-191-1/+2
| | | | | | | |
| * | | | | | | software_keyboard: Check for UTF-8 config flagGravatar Zach Hilman2018-11-182-9/+23
| | | | | | | |
| * | | | | | | software_keyboard: Push all data over all channels on dialog completionGravatar Zach Hilman2018-11-181-18/+26
| | | | | | | |
| * | | | | | | applet: Use std::queue instead of std::vector for storage stackGravatar Zach Hilman2018-11-185-18/+44
| | | | | | | |
| * | | | | | | applet: Add operation completed callbackGravatar Zach Hilman2018-11-184-6/+12
| | | | | | | |
| * | | | | | | software_keyboard: Push buffer size to offset 0x4 in output dataGravatar Zach Hilman2018-11-184-18/+39
| | | | | | | |
| * | | | | | | software_keyboard: Make GetText asynchronousGravatar Zach Hilman2018-11-185-11/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a
| * | | | | | | am: Allow applets to push multiple and different channels of dataGravatar Zach Hilman2018-11-186-44/+41
| | | | | | | |
| * | | | | | | am: Implement ILibraryAppletAccessor IsCompleted and GetResultGravatar Zach Hilman2018-11-182-4/+9
| | | | | | | |
| * | | | | | | am: Implement text check software keyboard modeGravatar Zach Hilman2018-11-185-14/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows the game to verify and send a message to the frontend.
| * | | | | | | am: Deglobalize software keyboard appletGravatar Zach Hilman2018-11-1811-62/+106
| | | | | | | |