summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed the rebase mistakes.Gravatar Subv2016-11-3011-83/+76
|
* A bit of a redesign.Gravatar Subv2016-11-3013-263/+266
| | | | | | | Sessions and Ports are now detached from each other. HLE services are handled by means of a SessionRequestHandler class, Interface now inherits from this class. The File and Directory classes are no longer kernel objects, but SessionRequestHandlers instead, bound to a ServerSession when requested. File::OpenLinkFile now creates a new session pair and binds the File instance to it.
* IPC/HLE: Associate the ClientSessions with their parent port's HLE interface ↵Gravatar Subv2016-11-306-26/+21
| | | | | | if it exists. Pass the triggering ServerSession to the HLE command handler to differentiate which session caused the request.
* Kernel/HLE: Service::Interface no longer inherits from any Kernel object, ↵Gravatar Subv2016-11-304-24/+52
| | | | | | and is now its own standalone class. Interface is now used by aggregation in ClientPort, to forward service commands to their HLE implementation if needed.
* fixup! Kernel/IPC: Use Ports and Sessions as the fundamental building block ↵Gravatar Subv2016-11-304-5/+6
| | | | of Inter Process Communication.
* Kernel/IPC: Use Ports and Sessions as the fundamental building block of ↵Gravatar Subv2016-11-3016-88/+314
| | | | | | | | | Inter Process Communication. All handles obtained via srv::GetServiceHandle or svcConnectToPort are references to ClientSessions. Service modules will wait on the counterpart of those ClientSessions (Called ServerSessions) using svcReplyAndReceive or svcWaitSynchronization[1|N], and will be awoken when a SyncRequest is performed. HLE Interfaces are now ClientPorts which override the HandleSyncRequest virtual member function to perform command handling immediately.
* Merge pull request #2228 from freiro/winver_fixGravatar Yuri Kunde Schlesner2016-11-301-3/+0
|\ | | | | Move WINVER definition to cmake and a bit of cleanup
| * WINVER definition moved to CMake and cleanupGravatar freiro2016-11-301-3/+0
| |
* | ClangFormat: Fixed the clang-format errorsGravatar Subv2016-11-302-6/+10
| |
* | Set client SDK version to Service APIsGravatar mailwl2016-11-308-16/+88
|/
* Build: Fixed a few warnings.Gravatar Subv2016-11-293-11/+11
|
* Merge pull request #2196 from Subv/system_modeGravatar Yuri Kunde Schlesner2016-11-2710-21/+66
|\ | | | | Kernel/Loader: Grab the system mode from the NCCH ExHeader.
| * Kernel/Loader: Grab the system mode from the NCCH ExHeader.Gravatar Subv2016-11-275-27/+27
| | | | | | | | | | | | | | 3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849
| * Kernel/Loader: Grab the system mode from the NCCH ExHeader.Gravatar Subv2016-11-1910-22/+67
| | | | | | | | | | | | | | 3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849
* | Merge pull request #2222 from linkmauve/die-frameskip-dieGravatar Yuri Kunde Schlesner2016-11-277-33/+1
|\ \ | | | | | | Remove the broken frame_skip option
| * | GPU: Remove the broken frame_skip option.Gravatar Emmanuel Gil Peyrot2016-11-277-33/+1
| | | | | | | | | | | | Fixes #1960.
* | | Merge pull request #2132 from wwylele/fix-fs-errGravatar Sebastian Valle2016-11-2730-304/+1234
|\ \ \ | | | | | | | | Correct FS error codes & add path boundary checks
| * | | tests: add a work-around for macOS linking errorGravatar wwylele2016-11-192-0/+15
| | | |
| * | | FileSys: rename SaveDataCheck archive to NCCH archiveGravatar wwylele2016-11-195-23/+22
| | | | | | | | | | | | | | | | According to the observation from game and 3dbrew "Used for accessing general NCCH data"
| * | | FileSys: remove unused DiskArchiveGravatar wwylele2016-11-192-179/+0
| | | | | | | | | | | | | | | | All "subclasses" of DiskArchive are splitted out. This class is useless
| * | | PTM & CFG: use the correct path and error code according to the new FileSys ↵Gravatar wwylele2016-11-192-5/+6
| | | | | | | | | | | | | | | | policy
| * | | FileSys: w->rw permission lift only happens in SDMC archiveGravatar wwylele2016-11-194-2/+14
| | | |
| * | | FileSys: add SDMCWriteOnlyArchiveGravatar wwylele2016-11-196-0/+140
| | | |
| * | | FileSys: add SDMCArchiveGravatar wwylele2016-11-193-1/+301
| | | | | | | | | | | | | | | | Now DiskArchive only serves for SDMC, then it should be just a "SDMCArchive"
| * | | FileSys: add ExtSaveDataArchiveGravatar wwylele2016-11-192-1/+115
| | | | | | | | | | | | | | | | ExtSaveData is more similar to SaveData, so let it be a subclass of SaveData
| * | | FileSys: add SaveDataArchiveGravatar wwylele2016-11-197-4/+368
| | | | | | | | | | | | | | | | The error checking of SaveDataArchive is completely different from DiskArchive, so it has to be a new class instead of a subclass of DiskArchive.
| * | | FileSys: remove Open from FileBackendGravatar wwylele2016-11-194-64/+44
| | | | | | | | | | | | | | | | Same as directory, file shouldn't expose Open either.
| * | | FileSys: remove Open from DirectoryBackendGravatar wwylele2016-11-194-25/+5
| | | | | | | | | | | | | | | | Open should not be an interface exposed by Directory because it is the Archive thats implement the methed to open the directory. The service API of 3DS also implies this - Open is not a function of directory service, but is of FS main service
| * | | FileSys: add PathParserGravatar wwylele2016-11-195-0/+200
| | | |
| * | | FileSys: make Archive interfaces return error codeGravatar wwylele2016-11-016-87/+91
| | | | | | | | | | | | | | | | and make the mode parameter a reference since it is a BitField union
* | | | RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of ↵Gravatar Subv2016-11-272-4/+4
| | | | | | | | | | | | | | | | simply true and -1
* | | | Rasterizer/Memfill: Set the correct stencil write mask when clearing the ↵Gravatar Subv2016-11-271-1/+1
| |/ / |/| | | | | | | | stencil buffer.
* | | Merge pull request #2168 from mailwl/micGravatar Sebastian Valle2016-11-274-16/+309
|\ \ \ | | | | | | | | MIC_U: Stub service funcions
| * | | Output parameters to logGravatar mailwl2016-11-251-4/+6
| | | |
| * | | MIC_U: Stub service funcionsGravatar mailwl2016-11-254-16/+307
| | | |
* | | | Merge pull request #2185 from freiro/local_folderGravatar Yuri Kunde Schlesner2016-11-263-1/+18
|\ \ \ \ | | | | | | | | | | Change "user" folder default location to AppData/Roaming/ on Windows systems
| * | | | Move to AppData/Roaming/Citra/Gravatar freiro2016-11-261-1/+1
| | | | |
| * | | | Removed /user/ from pathGravatar freiro2016-11-261-2/+1
| | | | |
| * | | | Switch to AppData/RoamingGravatar freiro2016-11-242-4/+4
| | | | |
| * | | | Return by value and other fixesGravatar freiro2016-11-192-14/+8
| | | | |
| * | | | Win32 move default user folder location to AppDataGravatar freiro2016-11-192-0/+24
| | |_|/ | |/| |
* | | | dynarmic: Add ticks based on ticks executed, not ticks requestedGravatar MerryMage2016-11-261-2/+2
| |/ / |/| |
* | | Expose page table to dynarmic for optimized reads and writes to the JITGravatar James Rowe2016-11-243-6/+18
| | |
* | | Cache Vertices instead of Output registers (#2165)Gravatar jphalimi2016-11-231-6/+7
| | | | | | | | | | | | This patch brings +3% performance improvement on average. It removes ToVertex() as an important hotspot of the emulator.
* | | Bravely Default/Second stuck #1822 (#2188)Gravatar pippo29312016-11-234-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bravely Default/Second stuck #1822 CancelLibraryApplet stub * Log parameter. * Taking care of comments * Sync with 3DBrew * White space ? * lower case
* | | Merge pull request #2186 from wwylele/config9Gravatar Yuri Kunde Schlesner2016-11-231-2/+8
|\ \ \ | | | | | | | | cfg: add config block 0x00090000
| * | | cfg: add config block 0x00090000Gravatar wwylele2016-11-171-2/+8
| | | |
* | | | Merge pull request #1654 from JamePeng/errdispGravatar Yuri Kunde Schlesner2016-11-231-118/+198
|\ \ \ \ | | | | | | | | | | Rework the code of err:f service!
| * | | | Rework the code of err:f serviceGravatar JamePeng2016-10-061-118/+198
| | | | |
* | | | | Fix format error from #2195Gravatar wwylele2016-11-221-1/+1
| | | | |