Subv
fdf1d042e0
Use boost remove_erase_if instead of the erase-remove idiom
9 years ago
Subv
bf232b89f3
Improved the algorithm for GetHighestPriorityReadyThread.
9 years ago
Subv
44c59feca6
Threading: Added some utility functions and const correctness.
9 years ago
Subv
5bc10a74f6
Threading: Reworked the way our scheduler works.
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.
9 years ago
Jannik Vogel
63e5851830
Remove unused version.h
9 years ago
freiro
662d907aa7
WINVER definition moved to CMake and cleanup
9 years ago
Subv
a485a04208
ClangFormat: Fixed the clang-format errors
9 years ago
mailwl
662aee1e1d
Set client SDK version to Service APIs
9 years ago
Subv
d16be9bdbd
Build: Fixed a few warnings.
9 years ago
Subv
7adac27868
Kernel/Loader: Grab the system mode from the NCCH ExHeader.
3dsx and elf files default to system mode 2 (96MB allocated to the application).
This allows Home Menu to boot without modifications.
Closes #1849
9 years ago
Emmanuel Gil Peyrot
87d3afe635
GPU: Remove the broken frame_skip option.
Fixes #1960 .
9 years ago
Subv
47603a64f1
RasterizerGL: Use GL_TRUE and 0xFF in the stencil and depth masks instead of simply true and -1
9 years ago
Subv
d64661e40e
Rasterizer/Memfill: Set the correct stencil write mask when clearing the stencil buffer.
9 years ago
freiro
dba46c0b01
Move to AppData/Roaming/Citra/
9 years ago
MerryMage
eb5be59f9c
dynarmic: Add ticks based on ticks executed, not ticks requested
9 years ago
freiro
0459aadcb5
Removed /user/ from path
9 years ago
mailwl
9ee8f9297c
Output parameters to log
9 years ago
mailwl
cdce7ca48b
MIC_U: Stub service funcions
9 years ago
James Rowe
13888eac06
Expose page table to dynarmic for optimized reads and writes to the JIT
9 years ago
freiro
f25ecd351d
Switch to AppData/Roaming
9 years ago
jphalimi
5a580171b6
Cache Vertices instead of Output registers ( #2165 )
This patch brings +3% performance improvement on average. It removes
ToVertex() as an important hotspot of the emulator.
9 years ago
pippo2931
a92472e7c9
Bravely Default/Second stuck #1822 ( #2188 )
* Bravely Default/Second stuck #1822
CancelLibraryApplet stub
* Log parameter.
* Taking care of comments
* Sync with 3DBrew
* White space ?
* lower case
9 years ago
wwylele
1db648c247
Fix format error from #2195
9 years ago
freiro
f5b928c330
Improve verbosity of audio errors with SDL_GetError()
9 years ago
Subv
d00d0d61e0
Kernel/Loader: Grab the system mode from the NCCH ExHeader.
3dsx and elf files default to system mode 2 (96MB allocated to the application).
This allows Home Menu to boot without modifications.
Closes #1849
9 years ago
Subv
9ee95ffbec
GPU/CiTrace: Avoid calling GetTextures() when not necessary.
9 years ago
James Rowe
2d1eb1ae01
Minor formatting change
9 years ago
Subv
bb93931096
Kernel/Events: Log an error when trying to create Pulse events and timers.
Related to #1904
9 years ago
Subv
f33e1950b6
APT/Applets: Renamed the members of the SignalType enum.
Names now make sense and match 3dbrew.
9 years ago
wwylele
68dc34c32b
tests: add a work-around for macOS linking error
9 years ago
wwylele
01964d37fb
FileSys: rename SaveDataCheck archive to NCCH archive
According to the observation from game and 3dbrew "Used for accessing general NCCH data"
9 years ago
wwylele
bfc699293f
FileSys: remove unused DiskArchive
All "subclasses" of DiskArchive are splitted out. This class is useless
9 years ago
wwylele
e41a1ff6da
PTM & CFG: use the correct path and error code according to the new FileSys policy
9 years ago
wwylele
5506268bf6
FileSys: w->rw permission lift only happens in SDMC archive
9 years ago
wwylele
a14bab3b8b
FileSys: add SDMCWriteOnlyArchive
9 years ago
wwylele
76c8e607a4
FileSys: add SDMCArchive
Now DiskArchive only serves for SDMC, then it should be just a "SDMCArchive"
9 years ago
wwylele
4a80f45637
FileSys: add ExtSaveDataArchive
ExtSaveData is more similar to SaveData, so let it be a subclass of SaveData
9 years ago
wwylele
420091d0e5
FileSys: add SaveDataArchive
The error checking of SaveDataArchive is completely different from DiskArchive, so it has to be a new class instead of a subclass of DiskArchive.
9 years ago
wwylele
1e33d07b86
FileSys: remove Open from FileBackend
Same as directory, file shouldn't expose Open either.
9 years ago
wwylele
4675116401
FileSys: remove Open from DirectoryBackend
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
9 years ago
wwylele
37d6cbc200
FileSys: add PathParser
9 years ago
freiro
a3d3f96af9
Return by value and other fixes
9 years ago
freiro
92977a28a8
Win32 move default user folder location to AppData
9 years ago
wwylele
4fc15d830f
cfg: add config block 0x00090000
9 years ago
James Rowe
f0dcbd3f73
Add mingw compile support
10 years ago
James Rowe
48d64ccad5
Round the rectangle size to prevent float to int casting issues
And other minor style changes
9 years ago
Pringo
3c7ada98c4
Minor Menu Fixes
9 years ago
James Rowe
72786d410e
Add default hotkey to swap primary screens.
Also minor style changes
9 years ago
James Rowe
8e64c6c170
Rework frame layouts to use a max rectangle instead of hardcoded calculations
9 years ago
SonofUgly
345ca30c3a
LargeFrameLayout + Swapped
Make small screen stay at 1x, and large screen maintain its aspect ratio.
9 years ago