aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-12-05Return an error code when connecting to a saturated port.Subv
The error code was taken from the 3DS kernel.
2016-12-05HLE: Use a member variable instead of a virtual function to retrieve the max ↵Subv
number of sessions that can be connected to an HLE service at the same time.
2016-12-05gdbstub: Remove unused includeJannik Vogel
2016-12-05Unify Windows ICON resource nameJannik Vogel
2016-12-05Support mingw cross-compileJannik Vogel
2016-12-05Split SessionRequestHandler::HandleSyncRequest into HandleSyncRequest, ↵Subv
TranslateRequest and HandleSyncRequestImpl. HandleSyncRequest now takes care of calling the command buffer translate function before actually invoking the command handler for HLE services.
2016-12-05Kernel: Remove the Redirection handle type.Subv
2016-12-05KServerPorts now have an HLE handler "template", which is inherited by all ↵Subv
ServerSessions created from it.
2016-12-04Threading: Added some utility functions and const correctness.Subv
2016-12-04GSP: Downgrade log severity of SetAxiConfigQoSModeYuri Kunde Schlesner
This function doesn't need to do anything for HLE and some games call it quite often, spamming up the logs.
2016-12-04OpenGL: Non-zero stride only makes sense for linear buffersYuri Kunde Schlesner
2016-12-04OpenGL: Ensure framebuffer binding is restored if completion check failsYuri Kunde Schlesner
2016-12-04OpenGL: Fix DisplayTransfer accel when input width != output widthYuri Kunde Schlesner
Fixes #2246, #2261
2016-12-03Merge pull request #2259 from JayFoxRox/fix-fallbackYuri Kunde Schlesner
shader_jit: Fix non-SSE4.1 path where FLR would not truncate
2016-12-03Threading: Reworked the way our scheduler works.Subv
Threads will now be awakened when the objects they're waiting on are signaled, instead of repeating the WaitSynchronization call every now and then. The scheduler is now called once after every SVC call, and once after a thread is awakened from sleep by its timeout callback. This new implementation is based off reverse-engineering of the real kernel. See https://gist.github.com/Subv/02f29bd9f1e5deb7aceea1e8f019c8f4 for a more detailed description of how the real kernel handles rescheduling.
2016-12-04shader_jit: Fix non-SSE4.1 path where FLR would not truncateJannik Vogel
2016-12-03clang-format: Fix coding styleYuri Kunde Schlesner
2016-12-02Declare empty ServerSession and ClientSession constructors as default.Subv
2016-12-02shader_jit: Load LOOPCOUNT_REG and LOOPINC 4 bit left-shiftedJannik Vogel
2016-12-01Threads do not wait for the server endpoint to call AcceptSession before ↵Subv
returning from a ConnectToPort or GetServiceHandle call.
2016-12-01Remove unused version.hJannik Vogel
2016-11-30Fixed the rebase mistakes.Subv
2016-11-30A bit of a redesign.Subv
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.
2016-11-30IPC/HLE: Associate the ClientSessions with their parent port's HLE interface ↵Subv
if it exists. Pass the triggering ServerSession to the HLE command handler to differentiate which session caused the request.
2016-11-30Kernel/HLE: Service::Interface no longer inherits from any Kernel object, ↵Subv
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.
2016-11-30fixup! Kernel/IPC: Use Ports and Sessions as the fundamental building block ↵Subv
of Inter Process Communication.
2016-11-30 Kernel/IPC: Use Ports and Sessions as the fundamental building block of ↵Subv
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.
2016-11-30Merge pull request #2228 from freiro/winver_fixYuri Kunde Schlesner
Move WINVER definition to cmake and a bit of cleanup
2016-11-30WINVER definition moved to CMake and cleanupfreiro
2016-11-30ClangFormat: Fixed the clang-format errorsSubv
2016-11-30Set client SDK version to Service APIsmailwl
2016-11-29Build: Fixed a few warnings.Subv
2016-11-29FileSys: Implement OtherSaveDatawwylele
2016-11-29FS: add missing MediaTypewwylele
2016-11-29FileSys: abstract SD save data archive sourcewwylele
2016-11-27Merge pull request #2196 from Subv/system_modeYuri Kunde Schlesner
Kernel/Loader: Grab the system mode from the NCCH ExHeader.
2016-11-27Merge pull request #2222 from linkmauve/die-frameskip-dieYuri Kunde Schlesner
Remove the broken frame_skip option
2016-11-27Merge pull request #2132 from wwylele/fix-fs-errSebastian Valle
Correct FS error codes & add path boundary checks
2016-11-27Kernel/Loader: Grab the system mode from the NCCH ExHeader.Subv
3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849
2016-11-27GPU: Remove the broken frame_skip option.Emmanuel Gil Peyrot
Fixes #1960.
2016-11-27RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of ↵Subv
simply true and -1
2016-11-27Rasterizer/Memfill: Set the correct stencil write mask when clearing the ↵Subv
stencil buffer.
2016-11-27Merge pull request #2168 from mailwl/micSebastian Valle
MIC_U: Stub service funcions
2016-11-26Merge pull request #2185 from freiro/local_folderYuri Kunde Schlesner
Change "user" folder default location to AppData/Roaming/ on Windows systems
2016-11-26Move to AppData/Roaming/Citra/freiro
2016-11-26dynarmic: Add ticks based on ticks executed, not ticks requestedMerryMage
2016-11-26Removed /user/ from pathfreiro
2016-11-25Output parameters to logmailwl
2016-11-25MIC_U: Stub service funcionsmailwl
2016-11-24Expose page table to dynarmic for optimized reads and writes to the JITJames Rowe