Commit Graph

2064 Commits (a9fd93347dff482a83d45d92c23e46fd6337089c)

Author SHA1 Message Date
Yuri Kunde Schlesner ad883db7a9 Merge pull request #826 from lioncash/tables
arm_dyncom_thumb: Merge STR/LDR table subsets.
10 years ago
Lioncash 0265d950e6 arm_dyncom_thumb: Merge STR/LDR table subsets. 10 years ago
Lioncash 0ff414f561 Merge pull request #825 from lioncash/dync
dyncom: Minor cleanup.
10 years ago
Lioncash f62ab75c67 arm_dyncom_interpreter: Remove unused variable
Thum decoding directly checks if the thumb bit is set instead of using a temporary.
10 years ago
bunnei 4d93c30c97 Merge pull request #821 from Subv/ImportDisplayCaptureInfo
Service/GSP: Implemented ImportDisplayCaptureInfo.
10 years ago
Subv fa397494b0 Service/GSP: Implemented ImportDisplayCaptureInfo. 10 years ago
Subv 732839b1f4 Core/SVC: Map the shared memory created in CreateMemoryBlock to the specified address.
This SharedMemory can be passed to service functions (Which should map the memory into their own address space).
10 years ago
Emmanuel Gil Peyrot 87d9df89bb Assets: Move citra.ico from src/assets to dist. 10 years ago
Lioncash 8c1ab1c2c4 arm_dyncom_interpreter: Remove unused macro 10 years ago
Lioncash 6278937a28 dyncom: Get rid of armemu.h 10 years ago
Lioncash 513f6a277e Merge pull request #805 from lioncash/warn
video_core/core: Get rid of more warnings.
10 years ago
Tony Wasserka 5f193bbf06 Merge pull request #806 from yuriks/annoying-qt-warning
Qt: Silence a bogus warning printed when using the debug runtime
10 years ago
Yuri Kunde Schlesner c9244a03c7 Qt: Silence a bogus warning printed when using the debug runtime
The Qt debug runtime prints a bogus warning on the console if you
haven't called makeCurrent since the last time you called swapBuffers.
This presumably means something if you're using QGLWidget the "regular"
way, but in our multi-threaded use case is harmless since we never call
doneCurrent in the rendering thread.
10 years ago
Lioncash 951353558e gl_state: Remove unnecessary const specifier on Apply 10 years ago
Lioncash ebca3a4902 y2r_u: Remove unused variable in StartConversion 10 years ago
Lioncash dc587fa295 video_core/utils: Remove unused variables in GetMortonOffset 10 years ago
Lioncash 1c21354159 Merge pull request #804 from lioncash/dclean
dyncom: Remove unused variables and parameters.
10 years ago
Lioncash 92fd2753c5 dyncom: Remove unused cpu parameter from decode_thumb_instr 10 years ago
Lioncash 097d8282a6 dyncom: remove load_r15 from arm_inst
It's entirely unused. Also allows getting rid of more clunky macros.
10 years ago
bunnei a7946f9027 Merge pull request #776 from bunnei/pica-state
GPU: Consolidate Pica state
10 years ago
Lioncash 8617938441 dyncom: Remove unnecessary parameter for load/store operations 10 years ago
bunnei 1b42d55a9d Pica: Create 'State' structure and move state memory there. 10 years ago
bunnei 41531eeb32 Merge pull request #801 from purpasmart96/hid_stubs
HID: Stub DisableAccelerometer and DisableGyroscopeLow
10 years ago
Lioncash 23d5df9d9c gl_state: Fix a condition typo in Apply 10 years ago
Lioncash 932aeb333f Merge pull request #802 from bunnei/vfp-trace-log
VFP: Log as trace to get rid of spamming.
10 years ago
bunnei 3a348a90fd VFP: Log as trace to get rid of spamming. 10 years ago
purpasmart96 0c62b7b106 HID: Stub DisableAccelerometer and DisableGyroscopeLow 10 years ago
tfarley 62668688e1 Flush for y2r (moflex) 10 years ago
tfarley 16fbba3c2a MakeCurrent race condition fix 10 years ago
tfarley 05dc633a8c OpenGL renderer 10 years ago
tfarley 6d995b1ff6 INI hw/sw renderer toggle 10 years ago
Yuri Kunde Schlesner eca2b71fa8 Merge pull request #798 from yuriks/y2r-bw
Service::Y2R: Support for grayscale decoding of specific formats
10 years ago
Yuri Kunde Schlesner 9108482888 Service::Y2R: Support for grayscale decoding of specific formats
Implements unrotated planar YUV 4:2:0 -> RGB24 conversions in Y2R.
Currently only the Y (luma) channel is used, so the results don't
contain color. This will be added in a later PR at some point.

This is enough to get all currently know Moflex videos to decode. (Some
don't display on-screen due to seemingly unrelated reasons.)

Thanks to @archshift for doing the initial implementation which I
cleaned up and then fixed the 8x8 block mode.
10 years ago
Lioncash 572c91a024 dyncom: Eliminate clang warnings
Gets rid of a whole load of missing brace initialization warnings.
10 years ago
Emmanuel Gil Peyrot b8f93e6b18 Kernel: Fix a warning introduced with ResourceLimit, and remove the fallback code to prevent it from happening again. 10 years ago
bunnei 25f14e76f1 y2r_u: Stub StartConversion to prevent moflex games from hanging. 10 years ago
bunnei 0b7d2941cf Kernel: Move reschedules from SVCs to actual mechanisms that reschedule. 10 years ago
bunnei 1c3cda5d7e Merge pull request #783 from jroweboy/cond-wait
Use condition var to properly pause the CPU thread
10 years ago
bunnei 859707642e Merge pull request #766 from purpasmart96/cfg_service_update
CFG: Update the cfg service to be like other integrated services
10 years ago
James Rowe a406207cd8 Use condition var to properly pause the CPU thread
Adds support for threaded pausing so citra doesn't spin wait on pause
10 years ago
bunnei f0365f28c2 Merge pull request #772 from lioncash/warn
core/video_core: Fix a few warnings when compiling on MSVC.
10 years ago
bunnei 1b47da4115 Merge pull request #785 from archshift/break
Implement svcBreak
10 years ago
Subv 24d9416930 GPU/DefaultAttributes: Clear up a comment in command_processor 10 years ago
Subv 658c44af5c GPU/DefaultAttributes: Let the attribute data from the loaders overwrite the default attributes, if set.
closes #735
10 years ago
archshift 11057488f9 Implement svcBreak 10 years ago
bunnei 9fb9750411 Merge pull request #781 from archshift/delete
Delete unused hle/coprocessor.cpp
10 years ago
bunnei 42c6590349 Merge pull request #778 from purpasmart96/apt_assert_fix
APT/FS: Remove asserts that were causing false positives in games
10 years ago
archshift 4b300ba763 Delete unused hle/coprocessor.cpp 10 years ago
Yuri Kunde Schlesner ba2fe7f795 Merge pull request #758 from yuriks/sync-logging
Common: Remove async logging
10 years ago
purpasmart96 dd9aed9ea9 CFG: Update the cfg service to be like other integrated services 10 years ago
Yuri Kunde Schlesner 7dbc27ff57 Remove unused concurrent_ring_buffer.h 10 years ago
purpasmart96 0fd727f3ad APT/FS: Remove asserts that were causing false positives 10 years ago
Yuri Kunde Schlesner 12f6216741 Merge pull request #774 from lioncash/decodings
dyncom: Add ARMv6K NOP and hint instructions to the interpreter.
10 years ago
bunnei 6abed88092 Merge pull request #770 from lioncash/dyncom_clean
dyncom: Minor cleanup.
10 years ago
bunnei ef8d0e9823 Merge pull request #761 from Subv/resource_limits
Core/ResourceLimits: Implemented the basic structure of ResourceLimits.
10 years ago
Yuri Kunde Schlesner a188e0fa57 Merge pull request #675 from jroweboy/windows-build-fixes
Windows build fixes
10 years ago
Subv d3634d4bf4 Core/ResourceLimits: Implemented the basic structure of ResourceLimits.
Implemented svcs GetResourceLimit, GetResourceLimitCurrentValues and GetResourceLimitLimitValues.

Note that the resource limits do not currently keep track of used objects, since we have no way to distinguish between an object created by the application, and an object created by some HLE module once we're inside Kernel::T::Create.
10 years ago
Yuri Kunde Schlesner dd4430609a Memory: Use a table based lookup scheme to read from memory regions 10 years ago
Yuri Kunde Schlesner 52158c1b8d Memory: Read SharedPage directly from Memory::Read 10 years ago
Yuri Kunde Schlesner ec514b16a6 Memory: Read ConfigMem directly from Memory::Read 10 years ago
Yuri Kunde Schlesner 7ada357b2d Memmap: Re-organize memory function in two files
memory.cpp/h contains definitions related to acessing memory and
configuring the address space
mem_map.cpp/h contains higher-level definitions related to configuring
the address space accoording to the kernel and allocating memory.
10 years ago
Yuri Kunde Schlesner a251721bf3 Memmap: Remove unused declarations 10 years ago
bunnei 9f503387dc Merge pull request #769 from lioncash/cond
thread: Fix a conditional check in Reschedule
10 years ago
Lioncash 8cd72428c9 dyncom: Add ARMv6K NOP and hint instructions to the decoding table 10 years ago
Lioncash 699b67d7cf dyncom: Handle some MSR variants individually
This is necessary, as hint instructions will be recognized as MSR, which is pretty bad.
10 years ago
Lioncash be0119be08 dyncom: Move exclusive load/stores above bbl and swi in the decoding table 10 years ago
Lioncash 1e0255364c dyncom: Remove duplicate enums/prototypes
These are already defined in arm_dyncom_interpreter_dec.cpp.
10 years ago
Lioncash f4921d0f9d dyncom: Remove unnecessary defines
These can simply be const vars.
10 years ago
Lioncash 0530fd2499 dyncom: Make translation-unit functions and variables static 10 years ago
Lioncash 497f4bee0c pica: Add the ULL specifier in IsDefaultAttribute
This is necessary otherwise there are warnings about a 32-bit result being casted to a 64-bit value.
10 years ago
Lioncash 773b1ef6bf vfp: Get rid of warnings
- Unary minus operator applied to unsigned type.
- Unsafe use of bool.
10 years ago
Lioncash 150e700729 process: Get rid of warnings
Sign mismatches and "forcing value to bool" warnings.
10 years ago
Lioncash f3c4de4ce4 dyncom: Remove unnecessary typedefs 10 years ago
Lioncash a48b4ec583 dyncom: Remove unused structs 10 years ago
Lioncash 207087c856 thread: Fix a conditional check in Reschedule 10 years ago
Emmanuel Gil Peyrot a31fd7f86b Common: Remove unused cruft from math_util, and remove a duplicated Rect class in common_types. 10 years ago
bunnei e83bc5b7ee dyncom: Removed irrelevant log. 10 years ago
bunnei 09c8110e1a Merge pull request #763 from bunnei/qt-fix-crash
Qt: Shutdown emulation session only if EmuThread exists.
10 years ago
Lioncash 832c130ed1 dyncom: Fix decoding of BKPT's immediate
A shift here is intended since the representation is imm12:imm4
10 years ago
bunnei c3bd797917 Qt: Shutdown emulation session only if EmuThread exists. 10 years ago
bunnei 7d21b0663b Merge pull request #756 from purpasmart96/ptm_service_changes
PTM: Changed the ptm services  to be like the IR, HID, and APT services.
10 years ago
Yuri Kunde Schlesner def5913d19 GPU: Add more fine grained profiling for vertex shader and rasterization 10 years ago
Yuri Kunde Schlesner c8eae338a8 Common: Use the log system to print assert messages 10 years ago
Yuri Kunde Schlesner b88c91dd3d Common: Remove async logging
It provided a large increase in complexity of the logging system while
having a negligible performance impact: the usage patterns of the ring
buffer meant that each log contended with the logging thread, causing
it to effectively act as a synchronous extra buffering.

Also removed some broken code related to filtering of subclasses which
was broken since it was introduced. (Which means no one ever used that
feature anyway, since, 8 months later, no one ever complained.)
10 years ago
bunnei cb2b2071a8 Merge pull request #748 from Subv/tls_max
Core/Memory: Add TLS support for creating up to 300 threads
10 years ago
bunnei ee8da4c356 Merge pull request #751 from yuriks/idle-thread
Thread: Remove the idle thread
10 years ago
bunnei 6e26d063a5 Merge pull request #757 from Subv/scheduling
Core/Scheduling: Prepare the new priority in the thread queue when svcSetPriority is called
10 years ago
bunnei 6223496a49 Merge pull request #752 from lioncash/flush
vfp: Handle flush-to-zero mode.
10 years ago
bunnei d22bc68175 Merge pull request #755 from lioncash/mcrr-mrrc
dyncom: Stub MCRR and MRRC
10 years ago
Yuri Kunde Schlesner 4f7a055081 Thread: Remove the idle thread
Instead just use nullptr to represent no thread is active.
10 years ago
Subv dda94e56dd Core/Memory: Add TLS support for creating up to 300 threads 10 years ago
Yuri Kunde Schlesner 820b97787c Merge pull request #750 from Subv/process_svc
Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread
10 years ago
Subv dbc1320923 Core/Scheduling: Prepare the new priority in the thread queue when svcSetPriority is called 10 years ago
purpasmart96 53130fffd9 PTM: Changed the way the ptm services are handled to be like the
IR, HID, and APT services.
10 years ago
Subv 25c010dc7d fixup! 10 years ago
Lioncash dc7ac751f2 dyncom: Stub MCRR and MRRC
There's no other coprocessor outside the VFP (which has its own VMOV variants) in which the MPCore can send/retrieve data from.
Stubbed so citra won't crash and burn on the odd chance someone actually tries to use these.
10 years ago
purpasmart96 046044618d NWM_UDS: Fix a typo in the nwm service port name 10 years ago
Lioncash ffc51161f3 vfp: Handle flush-to-zero mode. 10 years ago
bunnei 10eb8b0c02 Merge pull request #749 from yuriks/stack-top
Thread: Correctly set main thread initial stack position
10 years ago
Subv 41f74a16fd Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread 10 years ago