Commit Graph

3977 Commits (e46ec64690328b74832b6516459d0bb0ea17eb8f)

Author SHA1 Message Date
bunnei 4dee08b343 Merge pull request #2441 from jroweboy/titlebar
Gui: Change title bar to include build name
8 years ago
SonofUgly e0a4450bbd Add custom layout settings. 8 years ago
James Rowe b090422991 Gui: Change title bar to include build name
Nightly builds now have "Citra Nightly" in the titlebar
Bleeding edge builds now have "Citra Bleeding Edge" in the titlebar
8 years ago
Anthony a7360f2642 [UI] Modify recursive scanning label (#2589) 8 years ago
Subv 0be77c3ae4 Timers: Return an error when calling SetTimer with negative timeouts. 8 years ago
Subv 029a11030e Timers: Immediately signal the timer if it was started with an initial value of 0. 8 years ago
wwylele d5b0e275e3 APT: implement Wrap and Unwrap 8 years ago
wwylele ea1ea0224c HW: add AES engine & implement AES-CCM 8 years ago
bunnei bb448ae66f Merge pull request #2585 from MerryMage/sxtb16-sxtab16
dyncom: Correct SXTAB16 and SXTB16
8 years ago
Yuri Kunde Schlesner 7628f3a6fc Merge pull request #2580 from yuriks/qt-cleanup2
Qt cleanups 2
8 years ago
MerryMage b125388152 dyncom: Correct SXTAB16 and SXTB16 8 years ago
Jannik Vogel e594e63bb5 OpenGL: Check if uniform block exists before updating it (#2581) 8 years ago
Yuri Kunde Schlesner 80762583c2 Qt: Move some connections from .ui file to code 8 years ago
Yuri Kunde Schlesner 5b96915c69 Qt: Reorganize connection of menu events 8 years ago
Yuri Kunde Schlesner 4cb1f36896 Qt: Re-organize setup of debugging widgets 8 years ago
Yuri Kunde Schlesner e823c908ea Qt: Fix action name to match conventions 8 years ago
Yuri Kunde Schlesner cef18c94e2 Qt: Make IsSingleFileDropEvent static 8 years ago
Yuri Kunde Schlesner c81a2aabbf Qt: Allow any file extension in Open dialog 8 years ago
Yuri Kunde Schlesner c7c0219f8a Qt: Remove orpahned function declaration 8 years ago
Yuri Kunde Schlesner 5f00fe905c Qt: Remove unnecessary std::string usage 8 years ago
Weiyi Wang c7c1f56ce6 HID: move enable_accelerometer/gyroscope_count initialization into Init() (#2574)
Fixes #2556
8 years ago
noah the goodra 6bcd5ce047 added drag n drop feature 8 years ago
Mat M 5472528202 Merge pull request #2571 from wwylele/missing-file
core: add missing errors.h in CMakeLists.txt
8 years ago
wwylele e4da1a54cf core: add missing errors.h in CMakeLists.txt 8 years ago
Weiyi Wang e085e6a768 video_core: remove #pragma once in cpp file (#2570) 8 years ago
Weiyi Wang fae1efaad4 Merge pull request #2566 from yuriks/file-extension-suffix
Qt/GameList: Use suffix() to parse the file extension
8 years ago
Yuri Kunde Schlesner 070daf4126 HLE/IPC: Fix uninitialized variables in helpers (#2568)
Fixes #2567
8 years ago
Yuri Kunde Schlesner f75e964d49 Qt/GameList: Use suffix() to parse the file extension
completeSuffix returns everything after the first period, which means
that a file such as `foo.bar.3ds` would not get recognized.
8 years ago
noah the goodra 091dd226d6 applied the change suggested by @wwylele 8 years ago
noah the goodra ded09dc727 NWM changed to NIM 8 years ago
noah the goodra ad49cec194 turned clang format back on 8 years ago
noah the goodra 1a84bce0f4 added http service enum to the log.h file 8 years ago
Yuri Kunde Schlesner 1bf449d752 Merge pull request #2562 from yuriks/pica-refactor3
Re-organize software rasterizer code
8 years ago
Weiyi Wang dbc94efdb5 Core: add cryptopp library (#2412) 8 years ago
Yuri Kunde Schlesner d60767d393 Merge pull request #2561 from wwylele/fs-rom
file_sys: change RomFS archive to Self NCCH archive
8 years ago
wwylele 20544977da loader: use self NCCH archive 8 years ago
wwylele a0df747325 file_sys: add Self NCCH archive 8 years ago
Yuri Kunde Schlesner 426fda1d52 SWRasterizer: Move more framebuffer functions to file 8 years ago
Yuri Kunde Schlesner 1683cb0ec9 SWRasterizer: Move texturing functions to their own file 8 years ago
Yuri Kunde Schlesner f9026e8a7a SWRasterizer: Convert large no-capture lambdas to standalone functions 8 years ago
Yuri Kunde Schlesner e1ad7d69b9 SWRasterizer: Move framebuffer operation functions to their own file 8 years ago
Yuri Kunde Schlesner e24717bca0 VideoCore: Move software rasterizer files to sub-directory 8 years ago
Yuri Kunde Schlesner e10b11a5d0 video_core/shader: Document sanitized MUL operation 8 years ago
Yuri Kunde Schlesner 443bb3d522 Merge pull request #2550 from yuriks/pica-refactor2
Small VideoCore cleanups
8 years ago
Kloen Lansfiel 30ff675f02 citra-qt: Don't attempt to scan files with unsupported extensions (#2402) 8 years ago
Yuri Kunde Schlesner da6a40e3d1 core: Free AppLoader on shutdown to release file (#2558)
Fixes #2455
8 years ago
Weiyi Wang 0dd007e9ba hid: remove the touch field from PadState (#2557) 8 years ago
Yuri Kunde Schlesner e2fa1ca5e1 video_core: Fix benign out-of-bounds indexing of array (#2553)
The resulting pointer wasn't written to unless the index was verified as
valid, but that's still UB and triggered debug checks in MSVC.

Reported by garrettboast on IRC
8 years ago
Yuri Kunde Schlesner 553e672777 VideoCore: Split u64 Pica reg unions into 2 separate u32 unions
This eliminates UB when aliasing it with the array of u32 regs, and
is compatible with non-LE architectures.
8 years ago
Yuri Kunde Schlesner bfb1531352 VideoCore: Force enum sizes to u32 in LightingRegs
All enums that are used with BitField must have their type forced to u32
to ensure correctness.
8 years ago
Yuri Kunde Schlesner af65e1c0a0 OpenGL: Remove unused duplicate of IsPassThroughTevStage
This copy was left behind when the shader generation code was moved to a
separate file.
8 years ago
Yuri Kunde Schlesner 60fc0b086f VideoCore: Split regs.h inclusions 8 years ago
Yuri Kunde Schlesner f241bb72f5 Pica/Regs: Use binary search to look up reg names
This gets rid of the static unordered_map. Also changes the return type
const char*, avoiding unnecessary allocations (the result was only used
by calling .c_str() on it.)
8 years ago
Yuri Kunde Schlesner 602f57da38 VideoCore: Use union to index into Regs struct
Also remove some unused members.
8 years ago
Yuri Kunde Schlesner 2889372e47 Merge pull request #2482 from yuriks/pica-refactor
Split up monolithic Regs struct
8 years ago
Lectem f146a6d45a Use std::array<u8,2> instead of u8[2] to fix MSVC build 8 years ago
Weiyi Wang a1393dc70c Merge pull request #2027 from Lectem/ipcrefactor
IPC helper
8 years ago
Lectem 2ee472b9c7 fix wwylele's comment and use typename in templates 8 years ago
Yuri Kunde Schlesner 5759d94b5c VideoCore: Move Regs to its own file 8 years ago
Yuri Kunde Schlesner f7c7f422c6 VideoCore: Split shader regs from Regs struct 8 years ago
Yuri Kunde Schlesner 8fca90b5d5 VideoCore: Split geometry pipeline regs from Regs struct 8 years ago
Yuri Kunde Schlesner f443c7e5b0 VideoCore: Split lighting regs from Regs struct 8 years ago
Yuri Kunde Schlesner 23713d5dee VideoCore: Split framebuffer regs from Regs struct 8 years ago
Yuri Kunde Schlesner 9017093f58 VideoCore: Split texturing regs from Regs struct 8 years ago
Yuri Kunde Schlesner 000e78144c VideoCore: Split rasterizer regs from Regs struct 8 years ago
Yuri Kunde Schlesner 97e06b0a0d Merge pull request #2476 from yuriks/shader-refactor3
Oh No! More shader changes!
8 years ago
Yuri Kunde Schlesner c74787a11c Pica/Texture: Move part of ETC1 decoding to new file and cleanups 8 years ago
Yuri Kunde Schlesner 09a750e866 Pica/Texture: Simplify/cleanup texture tile addressing 8 years ago
Yuri Kunde Schlesner a1c9ac7845 VideoCore: Move LookupTexture out of debug_utils.h 8 years ago
Yuri Kunde Schlesner 9590c932ec Merge pull request #2496 from mailwl/cfg-mem
Core: update Kernel Config Memory to latest version (11.2)
8 years ago
Yuri Kunde Schlesner ba7cdce46d Merge pull request #2520 from wwylele/shader-stack-boundary
ShaderJIT: add 16 dummy bytes at the bottom of the stack
8 years ago
Yuri Kunde Schlesner a630fa287e Merge pull request #2518 from MerryMage/coproc
arm_dynarmic: Coprocessor support
8 years ago
bunnei 632562f5cf Merge pull request #2509 from jfmherokiller/settingscastpatch
removed the possibly uneeded cast on values.gdbstub_port
8 years ago
bunnei c330dcd3fd Merge pull request #2507 from jfmherokiller/keyidchange
removal of the -1 case in the configure_input switch
8 years ago
MerryMage e2815408fd arm_dynarmic: Update memory interface 8 years ago
MerryMage 2b36d4c9d7 arm_dynarmic: CP15 support 8 years ago
wwylele 6dc1d6e568 ShaderJIT: add 16 dummy bytes at the bottom of the stack 8 years ago
mailwl a53714acd3 GSP_GPU::StoreDataCache stubbed (#2428) 8 years ago
noah the goodra a0874d9b64 removed the possibly uneeded cast on values.gdbstub_port
as far as i could tell this cast is unneeded because [GDBStub::SetServerPort](https://github.com/citra-emu/citra/blob/master/src/core/gdbstub/gdbstub.cpp#L897) takes a u16 and [values.gdbstub_port](https://github.com/citra-emu/citra/blob/master/src/core/settings.h#L116) is already a u16
8 years ago
noah the goodra 6c41d87a9d removal of the -1 case in the configure_input switch
this case is unneeded because no enumeration value can possibly correspond to it
8 years ago
mailwl d0bf7df5ba HLE/Applets: Stub Mint (eShop) Applet (#2463)
This allows Phoenix Wright - Dual Destinies to boot.
8 years ago
Weiyi Wang 0b9c59ff22 Common/x64: remove legacy emitter and abi (#2504)
These are not used any more since we moved shader JIT to xbyak.
8 years ago
Merry f7e96dc068 shader_jit_x64_compiler: esi and edi should be persistent (#2500) 8 years ago
noah the goodra a2d0e2d807 file_util: Fixed implicit type conversion warning (#2503) 8 years ago
mailwl 0b0c5672c8 Core: update Kernel Config Memory to latest version (11.2) 8 years ago
Jake Merdich ff28080091 Support looping HLE audio (#2422)
* Support looping HLE audio
* DSP: Fix dirty bit clears, handle nonmonotonically incrementing IDs
* DSP: Add start offset support
8 years ago
Yuri Kunde Schlesner 1410aa1824 Merge pull request #2368 from wwylele/camera-2
CAM: build the service framework with a dummy implementation
8 years ago
Yuri Kunde Schlesner a925473995 Merge pull request #2429 from wwylele/auto-language-fix
CFG: move language override to the boot process
8 years ago
Yuri Kunde Schlesner 37a4ea046d VideoCore: Make PrimitiveAssembler const-correct 8 years ago
Yuri Kunde Schlesner dcdffabfe6 VideoCore: Extract swrast-specific data from OutputVertex 8 years ago
Yuri Kunde Schlesner 8ed9f9d49f VideoCore/Shader: Clean up OutputVertex::FromAttributeBuffer
This also fixes a long-standing but neverthless harmless memory
corruption bug, whech the padding of the OutputVertex struct would get
corrupted by unused attributes.
8 years ago
Yuri Kunde Schlesner d36ec905b1 Common: Optimize BitSet iterator 8 years ago
Yuri Kunde Schlesner 92bf5c88e6 VideoCore: Split shader output writing from semantic loading 8 years ago
Yuri Kunde Schlesner 335df895b9 VideoCore: Consistently use shader configuration to load attributes 8 years ago
Yuri Kunde Schlesner fccb28d2e9 VideoCore: Use correct register for immediate mode attribute count 8 years ago
Yuri Kunde Schlesner ab6954e942 VideoCore: Rename some types to more accurate names 8 years ago
Yuri Kunde Schlesner bbc7844021 VideoCore: Change misleading register names
A few registers had names such as "count" or "number" when they actually
contained the maximum (that is, count - 1). This can easily lead to hard
to notice off by one errors.
8 years ago
Kloen eee37b857b video_core: gl_rasterizer_cache.cpp removed unused type alias 8 years ago
Kloen 6a3a3964b0 video_core: gl_rasterizer.cpp removed unused type alias 8 years ago
Yuri Kunde Schlesner 5bb6753f2e Merge pull request #2494 from Kloen/killing-warnings-2-final-mix
core: inline CPU, 132 warnings fixed on GCC
8 years ago
Yuri Kunde Schlesner f111cd66ce Merge pull request #2492 from Kloen/killing-warnings-HD1.5ReMIX
Fix OSX build warnings about unhandled enumeration values.
8 years ago
Yuri Kunde Schlesner 1016e31fc7 Merge pull request #2493 from Kloen/killing-warnings-final-mix
video_core: silence unused-local-typedef boost related warnings on GCC
8 years ago
Kloen b3a0b1489b core: inline CPU, 132 warnings fixed on GCC 8 years ago
Kloen 28da285031 citra: add missing control paths for ResultStatus on rom load. Fix warning about unhandled enumeration values on OSX 8 years ago
Kloen 2ca3beb9d3 core: fix err_f.cpp warning about unhandled enumeration value on OSX 8 years ago
Kloen f352a741d3 core: fix savedata_archive.cpp warnings about unhandled enumeration values on OSX 8 years ago
Kloen c4f9cd3559 core: fix archive_sdmc.cpp warnings about unhandled enumeration value on OSX 8 years ago
Kloen f14a53abd0 core: fix archive_extsavedata.cpp warning on OSX 8 years ago
Kloen 4652d70572 video_core: silence unused-local-typedef boost related warning on GCC 8 years ago
Kloen ff7d68d743 core: emu_window.cpp, fix conversion warnings from float to s16 on MSVC 8 years ago
Kloen 818b1730a9 common: add <cstddef> to hash.h 8 years ago
Kloen 2fa0971ceb common: switch ComputeHash64 len param to size_t instead of int, fix warning on MSVC on dsp_dsp.cpp 8 years ago
noah the goodra 3545b144f1 fixed the override warning
```
In file included from citra/src/audio_core/sink_details.cpp:11:
citra/src/./audio_core/sdl2_sink.h:25:10: warning: 'SetDevice' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    void SetDevice(int device_id);
         ^
citra/src/./audio_core/sink.h:39:18: note: overridden virtual function is here
    virtual void SetDevice(int device_id) = 0;
                 ^
```
8 years ago
Yuri Kunde Schlesner bf14f4be22 Merge pull request #2346 from yuriks/shader-refactor2
More shader refactoring
8 years ago
Kloen Lansfiel f852369986 SDL: Select audio device (#2403)
* Initial Commit

Added Device logic to Sinks
Started on UI for selecting devices

Removed redundant import

* Audio Core: Complete Device Switching

Complete the device switching implementation by allowing the output
device to be loaded, changed and saved through the configurations menu.

Worked with the Sink abstraction and tuned the "Device Selection"
configuration so that the Device List is automatically populated when
the Sink is changed.
This hopefully addresses the concerns and recommendations mentioned in
the comments of the PR.

* Clean original implementation.

* Refactor GetSinkDetails
8 years ago
Yuri Kunde Schlesner 0e9081b973 VideoCore/Shader: Move entry_point to SetupBatch 8 years ago
Yuri Kunde Schlesner 0f64274145 VideoCore/Shader: Move per-batch ShaderEngine state into ShaderSetup 8 years ago
Yuri Kunde Schlesner 6fa3687afc Shader: Remove OutputRegisters struct 8 years ago
Yuri Kunde Schlesner 9ea5eacf91 Shader: Initialize conditional_code in interpreter
This doesn't belong in LoadInputVertex because it also happens for
non-VS invocations. Since it's not used by the JIT it seems adequate to
initialize it in the interpreter which is the only thing that cares
about them.
8 years ago
Yuri Kunde Schlesner 1a2acc3baa Shader: Don't read ShaderSetup from global state 8 years ago
Yuri Kunde Schlesner fa4ac279a7 shader_jit_x64: Don't read program from global state 8 years ago
Yuri Kunde Schlesner ade7ed7c5f VideoCore/Shader: Move ProduceDebugInfo to InterpreterEngine 8 years ago
Yuri Kunde Schlesner a9b7752b9d Debugger: Always use interpreter for shader debugging 8 years ago
Yuri Kunde Schlesner 114d6b2f97 VideoCore/Shader: Split interpreter and JIT into separate ShaderEngines 8 years ago
Yuri Kunde Schlesner 8eefc62833 VideoCore/Shader: Rename shader_jit_x64{ => _compiler}.{cpp,h} 8 years ago
Yuri Kunde Schlesner dd4a1672a7 VideoCore/Shader: Split shader uniform state and shader engine
Currently there's only a single dummy implementation, which will be
split in a following commit.
8 years ago
Yuri Kunde Schlesner bd82cffd0b VideoCore/Shader: Add constness to methods 8 years ago
Yuri Kunde Schlesner 1e1f939817 VideoCore/Shader: Use only entry_point as ShaderSetup param
This removes all implicit dependency of ShaderState on global PICA
state.
8 years ago
Yuri Kunde Schlesner e3caf669b0 VideoCore/Shader: Use self instead of g_state.vs in ShaderSetup 8 years ago
Yuri Kunde Schlesner 34d581f2dc VideoCore/Shader: Extract input vertex loading code into function 8 years ago
Yuri Kunde Schlesner 3feb3ce283 Merge pull request #2434 from mailwl/nfc-amiibo
Service/NFC: stub some functions
8 years ago
Kloen 5cc94c17f6 video_core: fix shader.cpp signed / unsigned warning 8 years ago
Kloen 753fea5d65 video_core: gl_rasterizer float to int warning 8 years ago
Kloen b6063d9a93 video_core: fix gl_rasterizer warning on MSVC 8 years ago
Kloen 095f7c83fc core: fix mic_u warnings on MSVC 8 years ago
Kloen abc5c134a3 Removed unused and outdated external qhexedit 8 years ago
Kloen 380c165339 citra-qt: Removed unused and unimplemented ramview files. 8 years ago
wwylele 2c7676d371 HID: reset acceleroeter and gyroscope index in Init 8 years ago
wwylele 0045ea662f CFG: override language setting on boot 8 years ago
Thomas Farr bb1f277db1
loader: Add support for 3DSX special relocation types, fixes citra-emu/citra#2449
As per devkitPro/3dstools@47bea18
8 years ago
wwylele 47960b0659 CoreTiming: use named constant for ARM11 clock rate 8 years ago
wwylele 3c333c53f1 HID: manages updating itself using correct ticks 8 years ago
mailwl efe7e245b2 Service/NFC: stub some functions
Tested on: Mini-Mario & Friends - amiibo Challenge
8 years ago
mailwl b458d7447c GSP::WriteHWRegsWithMask: fix register mask 8 years ago
bunnei ba271f6569 Merge pull request #2423 from Kloen/floats-should-be-float
SDL2: Config, fix double to float warning
8 years ago
bunnei 1d088c637c Merge pull request #2424 from Kloen/qt-ui-warnings-really
Qt: Fix UI related warnings and bonus ui file format
8 years ago
bunnei 7ddfd3054d Merge pull request #2425 from Subv/cleanup_todos
Implement some TODOs in the code.
8 years ago
bunnei 597a7c615c Merge pull request #2308 from mailwl/ac-i
Service/AC: add ac:i service
8 years ago
Subv 1ddff14511 Threads: Check the process' resource limit for the max allowed priority when creating a thread and remove the priority clamping code. 8 years ago
Subv f2f2572fed Thread: Added priority range checking to svcSetThreadPriority and removed priority clamping code from Thread::SetPriority. 8 years ago
Subv 5ddc2e09b1 Y2R: Use the proper error code when GetStandardCoefficient receives an invalid value. 8 years ago
Kloen 8d48798f1c QT: Fix ui file format 8 years ago
Kloen 551fe3dd69 QT: Fix some UI related warnings 8 years ago
Kloen a851aa4cf1 SDL2: Config.cpp fix double to float warning 8 years ago
wwylele cf3a272332 CAM: implement basic camera functions with a blank camera 8 years ago
bunnei 84d72fd92f Merge pull request #2397 from Subv/pulse
Kernel: Implemented Pulse event and timers.
8 years ago
bunnei 9fc8ead842 Merge pull request #2384 from bunnei/internal-res-option
config: Add option for specifying screen resolution scale factor.
8 years ago
bunnei 7cfe3ef046 Merge pull request #1951 from wwylele/motion-sensor
Emulate motion sensor in frontend
8 years ago
bunnei 22ad9094e6 config: Add option for specifying screen resolution scale factor. 8 years ago
bunnei b5eac78b43 Merge pull request #2410 from Subv/sleepthread
Don't yield execution in SleepThread(0) if there are no available threads to run
8 years ago
bunnei 59f4f1d7ff Merge pull request #2396 from Subv/sema_acquire
Kernel/Semaphore: Fixed a regression in semaphore waits.
8 years ago
Hyper f0199a17f6 Kernel: Fix SharedMemory objects always returning error when addr = 0 (#2404)
Closes #2400
8 years ago
bunnei 1c792389e6 Merge pull request #2408 from Subv/priority_boosting
Kernel: Removed the priority boost code for starved threads.
8 years ago
Subv fc2266130b Kernel: Don't attempt to yield execution in SleepThread(0) if there are no available threads to run.
With this we avoid an useless temporary deschedule of the current thread.
8 years ago
Subv 5e2a8ebabf Kernel: Remove some unused functions. 8 years ago
Subv 933df2606a Kernel: Removed the priority boost code for starved threads.
After hwtesting and reverse engineering the kernel, it was found that the CTROS scheduler performs no priority boosting for threads like this, although some other forms of scheduling priority-starved threads might take place.

For example, it was found that hardware interrupts might cause low-priority threads to run if the CPU is preempted in the middle of an SVC handler that deschedules the current (high priority) thread before scheduling it again.
8 years ago
Subv e52ca85711 Kernel: Implemented Pulse event and timers.
Closes #1904
8 years ago
Subv 4251eb26ec Kernel/Semaphore: Fixed a regression in semaphore waits.
The regression was caused by a missing check in #2260.

The new behavior is consistent with the real kernel.
8 years ago
Sebastian Valle f20d872643 Merge pull request #2393 from Subv/synch
Kernel: Mutex priority inheritance and synchronization improvements.
8 years ago
Subv dda4ec93be Kernel: Add some asserts to enforce the invariants in the scheduler. 8 years ago
Subv 7f1dca8cd2 Kernel: Remove a thread from all of its waiting objects' waiting_threads list when it is awoken.
This fixes a potential bug where threads would not get removed from said list if they awoke after waiting with WaitSynchronizationN with wait_all = false
8 years ago
Subv fd95b6ee26 Kernel: Remove Thread::wait_objects_index and use wait_objects to hold all the objects that a thread is waiting on. 8 years ago
Subv cef5f45de2 Kernel: Use different thread statuses when a thread calls WaitSynchronization1 and WaitSynchronizationN with wait_all = true.
This commit removes the overly general THREADSTATUS_WAIT_SYNCH and replaces it with two more granular statuses:

THREADSTATUS_WAIT_SYNCH_ANY when a thread waits on objects via WaitSynchronization1 or WaitSynchronizationN with wait_all = false.

THREADSTATUS_WAIT_SYNCH_ALL when a thread waits on objects via WaitSynchronizationN with wait_all = true.
8 years ago
Subv d3ff5b91e1 Kernel/Mutex: Propagate thread priority changes to other threads inheriting the priority via mutexes 8 years ago
Subv b6a0355568 Kernel/Mutex: Update a mutex priority when a thread stops waiting on it. 8 years ago
Subv 7abf185390 Kernel/Mutex: Implemented priority inheritance.
The implementation is based on reverse engineering of the 3DS's kernel.

A mutex holder's priority will be temporarily boosted to the best priority among any threads that want to acquire any of its held mutexes.
When the holder releases the mutex, it's priority will be boosted to the best priority among the threads that want to acquire any of its remaining held mutexes.
8 years ago
Subv e6a7723f2f Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.
This will be useful when implementing mutex priority inheritance.
8 years ago
Subv 38a90882a4 Kernel/Synch: Do not attempt a reschedule on every syscall.
Not all syscalls should cause reschedules, this commit attempts to remedy that, however, it still does not cover all cases.
8 years ago
Jonathan Hao c18cb1b192 Fix some warnings (#2399) 8 years ago
Yuri Kunde Schlesner e2de82543b Merge pull request #2382 from mailwl/nfc
Service/NFC: stub GetTagInRangeEvent
8 years ago
Lectem ee6e88fdb5 fix comments alignment 8 years ago
Sebastian Valle f7dd8d5e81 Merge pull request #2386 from bunnei/fix-bg-color
config: SDL: Move background color setting to correct section.
8 years ago
mailwl f2985f7080 Service/NFC: stub GetTagInRangeEvent
Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge
8 years ago
mailwl c6f4b93f2e Service/AC: add ac:i service 8 years ago
bunnei 02b4b2ed6e config: SDL: Move background color setting to correct section. 8 years ago
bunnei f556d6ee90 Merge pull request #2240 from wwylele/auto-region
Config: auto-select region and language
8 years ago
wwylele d7d40b3c56 Frontend: make motion sensor interfaced thread-safe 8 years ago
bunnei 2f746e9946 Merge pull request #2367 from JayFoxRox/lighting-lut-quickfix
Lighting LUT Quickfix
8 years ago
wwylele f927beb5e2 Core: remove unused hle.cpp 8 years ago
Lectem f91c51467a move Pop methods out of class body 8 years ago
Lectem 8baae9d982 IPC helpers example 8 years ago
Lectem 8f2b642415 IPC helpers 8 years ago
wwylele bcf9d20d57 Frontend: emulate motion sensor 8 years ago
wwylele 6479f63091 Common: add Quaternion 8 years ago
wwylele 2e6d8e1321 vector math: add implementation of Length and Normalize 8 years ago
wwylele 55f5d0f777 MathUtil: add PI constant 8 years ago
wwylele 2a069e76a5 Common::Event: add WaitUntil 8 years ago
Jannik Vogel 6ed4206f87 Minor cleanup in GLSL code 8 years ago
Jannik Vogel 88f409aec9 Offset lighting LUT samples correctly 8 years ago
wwylele fe2ed4bf72 Core: reset cpu_core in Shutdown to make IsPoweredOn work properly 8 years ago
bunnei 51dd13b8a0 Merge pull request #2369 from MerryMage/core-frontend
core: Move emu_window and key_map into core
8 years ago
Yuri Kunde Schlesner 56e4066f4f Merge pull request #2370 from wwylele/where-is-my-shared-font
file_util: fix missing sysdata path
8 years ago
wwylele 488b7a4041 file_util: fix missing sysdata path 8 years ago
MerryMage 64f98f4d0f core: Move emu_window and key_map into core
* Removes circular dependences (common should not depend on core)
8 years ago
mailwl 069a88dad7 Service/NWM: add nwm services 8 years ago
bunnei 76890672a0 Merge pull request #2366 from MerryMage/MemoryReadCode
arm_dynarmic: Provide MemoryReadCode callback
8 years ago
bunnei aa47af7fb6 Merge pull request #2343 from bunnei/core-cleanup
Core: Top-level consolidate & misc cleanup
8 years ago
MerryMage f8cf87ce34 arm_dynarmic: Provide MemoryReadCode callback
Change of interface in dynarmic 36082087ded632079b16d24137fdd0c450ce82ea
8 years ago
bunnei 17d740299a Merge pull request #2285 from mailwl/csnd-format
csnd:SND: Reformat source code
8 years ago
bunnei 8b1e269e58 ThreadContext: Move from "core" to "arm_interface". 8 years ago
bunnei e26fbfd1d7 core: Replace "AppCore" nomenclature with just "CPU". 8 years ago
bunnei 7623957f80 Merge pull request #2361 from lioncash/disasm
disassembler: Remove mutable specifier from breakpoints member variable
8 years ago
bunnei 5ac5cbeab7 Address clang-format issues. 8 years ago
bunnei 4fc8b8229e core: Remove HLE module, consolidate code & various cleanups. 8 years ago
bunnei 232ef55c1a core: Consolidate core and system state, remove system module & cleanups. 8 years ago
bunnei 707cc66362 file_util: Remove unused paths. 8 years ago
bunnei 198b6c9bdd core: Consolidate top-level system state into a singleton. 8 years ago
bunnei 81e22ae8c7 loader: Remove duplicate docstrings. 8 years ago
Lioncash 8309d0dade citra-qt: Move graphics debugging code into its own folder
Keeps all graphics debugging stuff from cluttering up the root debugger
folder
8 years ago
Lioncash f2c307557a disassembler: Remove mutable specifier from breakpoints member variable
Breakpoints has been const correct with regards to what the
DisassmblerModel needs for quite a while now.
8 years ago
bunnei 29564d73bd Merge pull request #2319 from yuriks/profile-scopes
VideoCore: Make profiling scope more representative
8 years ago
bunnei c4491352b3 Merge pull request #2357 from lioncash/ui
citra-qt: Move bits of constructor behavior to named functions
8 years ago
Lioncash cc1f2c131b citra-qt: Move bits of constructor behavior to named functions
Makes the initialization process a tad easier to grok,
since the constructor isn't just a glob of random unrelated behaviors.
8 years ago
Albin Bernhardsson ddec9cb369 Use GL_TRUE when setting color_mask 8 years ago
bunnei 3a1eaf2efc Merge pull request #2318 from yuriks/trace-opt
VideoCore: Inline IsPicaTracing
8 years ago
bunnei dac86b61ee Merge pull request #2351 from CaptV0rt3x/master
Fixed game_list focus issue.
8 years ago
bunnei 4c45611a2b Merge pull request #2347 from citra-emu/revert-2321-flush-pages
Revert "Memory: Always flush whole pages from surface cache"
8 years ago
CaptV0rt3x 393a0f99da line fixup for travis ci 8 years ago
Vamsi Krishna 77f4743199 screen swap - Hotkey mapping 8 years ago
Vamsi Krishna 0db22eadd5 Fixed GPLv2 license text in the start. 8 years ago
Vamsi Krishna 27217c621b Fixed game_list focusing issue.
added line render_window->setFocus();
8 years ago
bunnei 4798b1d04d Revert "Memory: Always flush whole pages from surface cache" 8 years ago
wwylele 5728e42634 Thread: remove the thread from the thread list when exiting 8 years ago
Yuri Kunde Schlesner 2ca548bbe5 Merge pull request #2335 from yuriks/shader-refactor
Misc. Shader refactors
8 years ago
bunnei d30d6f81aa Merge pull request #2303 from freiro/citra-qt_missing_sdl2_dll
Copy SDL2.dll when compiling citra-qt with msvc
8 years ago
bunnei ca5a8966ac Merge pull request #2337 from lioncash/gdb
gdbstub: const correctness changes
8 years ago
Merry acc83a1c32 Merge pull request #2322 from MerryMage/ctx-mnu
game_list: Add a context menu with "Open Save Location"  option
8 years ago
wwylele 4c9b80cee3 Kernel: remove object's waiting thread if it is dead 8 years ago
Lioncash 38a964735f gdbstub: const correctness changes
Also uses size_t as the length indicator type, as is common with buffers.
8 years ago
Yuri Kunde Schlesner c135317de1 VideoCore/Shader: Extract DebugData out from UnitState 8 years ago
Yuri Kunde Schlesner 6e7e767645 Remove unnecessary cast 8 years ago
Yuri Kunde Schlesner b5e3599704 VideoCore/Shader: Extract evaluate_condition lambda to function scope 8 years ago
Yuri Kunde Schlesner 960578f4e1 VideoCore/Shader: Extract call lambda up a scope and remove unused param 8 years ago
Yuri Kunde Schlesner e4e962bc7c VideoCore/Shader: Remove dynamic control flow in (Get)UniformOffset 8 years ago
Yuri Kunde Schlesner d27cb1dedc VideoCore/Shader: Move DebugData to a separate file 8 years ago
bunnei cda7210fad Merge pull request #2260 from Subv/scheduling
Threading: Reworked the way our scheduler works.
8 years ago
bunnei a89471621b Merge pull request #2316 from endrift/macos-gcc
Common: Fix gcc build on macOS
8 years ago
Yuri Kunde Schlesner 2427a5e976 Merge pull request #2328 from wwylele/fix-trace
Fix debug build from #2249
8 years ago
Yuri Kunde Schlesner 7524a55133 Merge pull request #2332 from lioncash/gdb
gdbstub: Remove global variable from public interface
8 years ago
Yuri Kunde Schlesner 63e8174caa Merge pull request #2320 from mailwl/cecd-update
Service/CECD: Add cecd:ndm service
8 years ago