Commit Graph

2465 Commits (abc34ddb88a43ae0f764536b720c58677ca16a48)

Author SHA1 Message Date
Greg Wicks 9930ef72dd Implement new argument parsing using getopt and add the corresponding library to externals 10 years ago
Apology11 af18572491 don´t define snprintf on Visual Studio 2015
Visual Studio 2015 defines this in stdio now
10 years ago
aroulin 1f125a04c3 Y2R: Fix narrowing warning 10 years ago
bunnei f4e1d8ea36 Merge pull request #823 from Subv/applets_drawing
Library applet support (swkbd for now)
10 years ago
Subv 725d5eea78 Applets: Reworked how the Applet update event is handled.
Applets are now cleaned up in AppletUpdateEvent after calling their respective Update method.
10 years ago
Yuri Kunde Schlesner 5c5cf2f8e0 Core: Properly configure address space when loading a binary
The code now properly configures the process image to match the loaded
binary segments (code, rodata, data) instead of just blindly allocating
a large chunk of dummy memory.
10 years ago
Yuri Kunde Schlesner 51820691e7 Memory: Fix unmapping of pages 10 years ago
Yuri Kunde Schlesner 34f5f77507 Loader: Clean up 3dsx loader a bit, fixing a potential buffer overrun 10 years ago
Yuri Kunde Schlesner fdbf410bd7 Loader: Make 3dsx loader logs a bit less confusing 10 years ago
Yuri Kunde Schlesner d9556912b4 Kernel: Remove unused member from Event 10 years ago
Subv 621ee10eae Applets: Add infrastructure to allow custom drawing and input handling in Applets. 10 years ago
Subv 2a6ebadf66 HLE/APT: Initial HLE support for applets.
Currently only the SWKBD is emulated, and there's currently no way to ask the user for input, so it always returns "Subv" as the text.
10 years ago
Yuri Kunde Schlesner b0d72e3de1 Merge pull request #914 from yuriks/bitfield-mask
Common: Fix mask generation in BitField
10 years ago
Tony Wasserka e110e656b9 Merge pull request #910 from linkmauve/install
Tell CMake to install the compiled binaries on Linux.
10 years ago
Tony Wasserka ae7120f5d9 Merge pull request #907 from Lectem/clamp_to_border
Add GL_CLAMP_TO_BORDER support.
10 years ago
Lioncash e5d90b5797 Common: Remove thunk.h
This isn't used, and there's no implementations of the member functions.
10 years ago
Yuri Kunde Schlesner 867c28ae03 Merge pull request #876 from linkmauve/include-cleanups
Cleanup includes, mostly in common
10 years ago
Yuri Kunde Schlesner d5b5280501 Common: Remove redundant masking in BitField
For the signed case, the shifts already remove the rest of the value, so
ANDing by the mask is redundant.
10 years ago
Yuri Kunde Schlesner d7f9529bdd Common: Fix mask generation in BitField
Fixes #913
10 years ago
Lectem 58d1c6398e Added GL_CLAMP_TO_BORDER support 10 years ago
Emmanuel Gil Peyrot 7c51bc44aa Citra, CitraQt: Tell cmake to install the compiled binaries.
This will help packaging tremendously, as a `make DESTDIR=… install` will now
put every file at their place (on Linux and related).
10 years ago
aroulin 769407e4fa Loader: Remove log line causing warning 10 years ago
bunnei 0ef3f12c71 Merge pull request #797 from linkmauve/blended-downscaling
Implement blended downscaling for display transfers
10 years ago
bunnei c19f9945b7 Merge pull request #885 from Subv/ipc_headers
Services/SOC: Added command headers to some of the soc commands.
10 years ago
Lioncash e3e8ad48c1 vfp: Change return type of VFPInit from unsigned int to void. 10 years ago
Lioncash 32a6379bc8 vfp: Handle accesses to FPINST/FPINST2 system registers
Also has a side-benefit of correcting access to the FPEXC register.
10 years ago
Emmanuel Gil Peyrot 641e78bccf GPU: Implement blended downscaling for display transfers. 10 years ago
Emmanuel Gil Peyrot 8ee814ec27 GPU: Use shifts instead of multiplications to calculate the actual size of the output. 10 years ago
Emmanuel Gil Peyrot ab61e67c09 Common: Remove unused type unions breaking aliasing rules in horrible ways. 10 years ago
Emmanuel Gil Peyrot 4964a359e1 Core: Cleanup hw includes. 10 years ago
Emmanuel Gil Peyrot 7b746914b9 Core: Cleanup soc:U includes. 10 years ago
Emmanuel Gil Peyrot f48b28ad27 Core, VideoCore: Replace or fix exit() calls. 10 years ago
Emmanuel Gil Peyrot e5fcabdd69 Core: Cleanup file_sys includes. 10 years ago
Emmanuel Gil Peyrot aea15f5c73 Core: Cleanup core includes. 10 years ago
Emmanuel Gil Peyrot 45c4781544 CitraQt: Cleanup includes. 10 years ago
Emmanuel Gil Peyrot 22ae87530b Common: Cleanup emu_window includes. 10 years ago
Emmanuel Gil Peyrot 1775adc34c Common: Remove unused ROUND_UP_POW2 macro. 10 years ago
Emmanuel Gil Peyrot 596b7c4f63 Common: Cleanup key_map includes. 10 years ago
Emmanuel Gil Peyrot 2d044a67c9 Common: Cleanup memory and misc includes. 10 years ago
Emmanuel Gil Peyrot 3a771a13dc Common: Cleanup profiler includes. 10 years ago
Emmanuel Gil Peyrot 2a36edfd86 Common: Cleanup thread includes. 10 years ago
Emmanuel Gil Peyrot 13e6876463 Common: Fix string_util includes. 10 years ago
Emmanuel Gil Peyrot 8cf9eb7f43 Common: Fix FileUtil includes, and everything relying on those. 10 years ago
Emmanuel Gil Peyrot 79aa1b0808 Citra: Fix the includes a bit, thanks to include-what-you-use. 10 years ago
Emmanuel Gil Peyrot ce0cfd62d9 Common: Remove now-unused EMU_PLATFORM define, fixes issue #373. 10 years ago
Emmanuel Gil Peyrot 82718c4a41 Common: Remove unused SSE version checking and a GCC macro. 10 years ago
Emmanuel Gil Peyrot c345247431 Services: Use the standard _WIN32 define in soc:U instead of our own EMU_PLATFORM. 10 years ago
Emmanuel Gil Peyrot 0aade9ad63 Common: Remove unused fifo_queue.h. 10 years ago
zawata 92bfec0566 VideoCore: Fix floating point warning 10 years ago
Subv bd336cfdce Services/SOC: Added command headers to some of the soc commands. 10 years ago
Yuri Kunde Schlesner 81488d7a6a Add helpers to create IPC command buffer headers and descriptors 10 years ago
Yuri Kunde Schlesner dc09a2ecb5 Merge pull request #860 from yuriks/y2r-color
Color support for Y2R
10 years ago
Yuri Kunde Schlesner 3e6663da43 Y2R: Rework conversion process, enabling support for all formats 10 years ago
bunnei 9850f98339 Merge pull request #855 from purpasmart96/service_rearrangment
Services: Continue separation of services into their own folders
10 years ago
Yuri Kunde Schlesner 29d2b70ea4 Y2R: Re-organize how params are stored. Support SetConversionParams 10 years ago
Greg Wicks e93056ae77 Make the call stack entries not editable 10 years ago
bunnei 2e16edbc56 Merge pull request #849 from bunnei/fix-waitsynch-2
Fix svcWaitSynch to correctly acquire wait objects
10 years ago
Lioncash a5a6306f59 Merge pull request #864 from linkmauve/gl-info
Log the GL driver’s vendor and renderer
10 years ago
bunnei 71e8822d23 kernel: Fix svcWaitSynch to always acquire requested wait objects. 10 years ago
Lioncash f1ff0fbf07 Merge pull request #866 from lioncash/typo
hw: Fix mismatched Write call
10 years ago
Lioncash bbe4430922 hw: Fix mismatched Write call 10 years ago
Emmanuel Gil Peyrot 94fc644430 VideoCore: Log the GL driver’s vendor and renderer. 10 years ago
Yuri Kunde Schlesner 9b7d85a4f5 video_core: add extra braces around initializer
Trivial change and fixes several warnings in the clang build.
10 years ago
Lioncash 71858fc7cc vfp: Handle accesses to the VFP media feature registers
These are able to be accessed in any privilege mode.
10 years ago
Lioncash e817224f89 vfp: Implement VMOVBCR/VMOVBRC 10 years ago
purpasmart96 7933dbe6a0 Services: Continue separation of services into their own folders 10 years ago
bunnei ca5d1545c3 Merge pull request #835 from tfarley/hw-renderer-fixes
HW Renderer Screen Fixes
10 years ago
Clienthax 8515b23bec Robocopy doesn't like trailing slashes 10 years ago
tfarley 26bc816d7a Renderer formatting edits 10 years ago
tfarley 66b0d799ee Render-to-texture flush, interval math fix 10 years ago
tfarley 5025b35563 Liberal texture unbind (clout menu) 10 years ago
tfarley fa2c92a3ac Depth format fix (crush3d intro/black screens) 10 years ago
tfarley d42275f11c Implemented glColorMask 10 years ago
Lioncash 04f204ed00 arm_dyncom_thumb: Fix handling of writeback for thumb LDMIA 10 years ago
Subv 66c1db7288 ExtSavedata: Save the icon passed to CreateExtSaveData to the correct folder.
Organize the ExtSaveData folders as they are stored in the console.
10 years ago
Lioncash 1974da272d Merge pull request #838 from lioncash/thumb
arm_dyncom_thumb: Implement missing instructions.
10 years ago
Lioncash c00781a908 arm_dyncom_thumb: Fix encoding of BKPT's immediate 10 years ago
Lioncash 85b1dddda1 arm_dyncom_thumb: Implement CPS and SETEND 10 years ago
Lioncash 7caef19c89 arm_dyncom_thumb: Implement SXTH, SXTB, UXTH, and UXTB. 10 years ago
Lioncash b64dea80ce arm_dyncom_thumb: Implement REV, REV16, and REVSH. 10 years ago
archshift 0414ad20cb Merge pull request #811 from archshift/commonify
Commonify video_core utility headers
10 years ago
bunnei 833936fc64 Merge pull request #832 from yuriks/refresh-rate-option
Remove gpu_refresh_rate configuration option
10 years ago
bunnei 33b9abb91e Pica: Use zero for the SecondaryFragmentColor source.
- This is a workaround until we support fragment lighting.
10 years ago
bunnei dcbc653b90 rasterizer: Remove unnecessary 'using' for BlendEquation. 10 years ago
bunnei e6ace38815 Pica: Implement LogicOp function. 10 years ago
bunnei 3b5ff61201 rasterizer: Implement AddSigned combiner function for alpha channel. 10 years ago
bunnei 1574c44586 vertex_shader: Use address offset on src2 in inverted mode. 10 years ago
bunnei 02c9fe202c Pica: Implement command buffer execution registers. 10 years ago
bunnei 4ac6c1a3b5 vertex_shader: Implement SLT/SLTI instructions. 10 years ago
bunnei 875bd29766 vertex_shader: Implement MIN instruction. 10 years ago
archshift 76690392bf Move video_core/color.h to common/color.h 10 years ago
archshift 5df2d1b5f7 Move video_core/math.h to common/vector_math.h
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
10 years ago
bunnei 595fe49a8f Merge pull request #830 from SeannyM/qt-noborder
QT: Remove border around widgets
10 years ago
Yuri Kunde Schlesner 8a04c65e20 Merge pull request #810 from yuriks/memmap
Kernel: Add VMManager to manage process address spaces
10 years ago
Yuri Kunde Schlesner d65b42a69a Remove gpu_refresh_rate configuration option
Changing it makes emulation inherently inaccurate. It also had a wrong
default value (30, whereas the real system has a refresh rate of 60 Hz)
which, even if changed, would continue to be used unless people manually
removed it from their config files.
10 years ago
Emmanuel Gil Peyrot b1503b2020 Remove every trailing whitespace from the project (but externals). 10 years ago
Yuri Kunde Schlesner fb597b6d68 Merge pull request #817 from linkmauve/citra.ico
Move src/assets/citra.ico and doc-icon.png to dist
10 years ago
Sean Maas cd99944b1d QT: Remove border around widgets 10 years ago
Lioncash a3cad6c332 hid: Get rid of undefined behavior
Modifying a variable twice across a sequence point.
10 years ago
Yuri Kunde Schlesner 88365a23e7 Memmap: Remove unused global pointers to memory areas 10 years ago
Yuri Kunde Schlesner 0a60aa75c2 Kernel: Add VMManager to manage process address spaces
This enables more dynamic management of the process address space,
compared to just directly configuring the page table for major areas.

This will serve as the foundation upon which the rest of the Kernel
memory management functions will be built.
10 years ago
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
Yuri Kunde Schlesner d16c2bd956 Thread: Correctly set main thread initial stack position 10 years ago
archshift 40310e2132 Implement I4 texture format
@neobrain, could you confirm that this is correct?

It's been tested with various different games and fixes different textures, including in Animal Crossing, Kirby Triple Deluxe, and SMB3D.
10 years ago
archshift e98fbadf4a Merge pull request #740 from yuriks/gsp-shmem
Fix crashes due to un-initialized GSP shared memory
10 years ago
Subv 115ad8e16a fixup! Set the TLS address in the scheduler 10 years ago
Subv 000876858d Core/Memory: Give every emulated thread it's own TLS area.
The TLS area for thread T with id Ti is located at TLS_AREA_VADDR + (Ti - 1) * 0x200.
This allows some games like Mario Kart 7 to continue further.
10 years ago
Yuri Kunde Schlesner fd85367621 fixup! GSP: Small tweaks to shared memory initialization 10 years ago
Yuri Kunde Schlesner 1538a34eda GSP: Small tweaks to shared memory initialization 10 years ago
Yuri Kunde Schlesner 774eea8374 Kernel: Zero-fill shared memory blocks when mapping
This works around crashes related to GSP/HID/etc. shared memory blocks
having garbage values. The proper fix requires proper management of
mapped memory blocks in the process.
10 years ago
Yuri Kunde Schlesner c96f22490a Kernel: Capture SharedMemory attributes at creation, not when mapping 10 years ago
bunnei 23e8be573e rasterizer: Implemented combiner output scaling. 10 years ago
bunnei ff767eeb40 rasterizer: Implemented AddSigned combiner op. 10 years ago
bunnei 547da374b8 rasterizer: Fixed a depth testing bug. 10 years ago
bunnei a806b420a6 rasterizer: Implement combiner buffer input. 10 years ago
bunnei 44927f0306 rasterizer: Return zero'd vectors on error conditions. 10 years ago
bunnei 692a74c09e vertex_shader: Implement FLR instruction. 10 years ago
bunnei f935130a0f vertex_shader: Implement MADI instruction.
nihstro: Update submodule to latest upstream/master to support MADI instruction decoding.
10 years ago
Yuri Kunde Schlesner b700b55696 Common: Remove the BIT macro
When the macro was introduced in 326ec51261
it wasn't noticed that it conflicted in name with a heavily used macro
inside of dyncom. This causes some compiler warnings. Since it's only
lightly used, it was opted to simply remove the new macro.
10 years ago
Tony Wasserka e35e72d0a5 Merge pull request #734 from yuriks/memmap
Small memory map definitions cleanup
10 years ago
Yuri Kunde Schlesner 417c867e14 Loader: Add missing include 10 years ago
Yuri Kunde Schlesner 17a8cae003 Memory: Add GetPhysicalPointer helper function 10 years ago
Yuri Kunde Schlesner 28a9e4c1d5 Memory: Support more regions in the VAddr-PAddr translation functions
Also adds better documentation and removes the one-off reimplementation
of the function in pica.h.
10 years ago
Yuri Kunde Schlesner e7b6ed7578 Memory: Sort memory region variables by VAddr 10 years ago
Yuri Kunde Schlesner 1c0b87edc2 Memory: Re-organize and rename memory area address constants 10 years ago
Yuri Kunde Schlesner eb3eb9f75d Loader: Remove .bin file support
It is of very limited practical utility currently, and will soon be
impossible to support due to more accurate memory map emulation.
10 years ago
Yuri Kunde Schlesner 7c50b999fa Kernel: Remove unused g_main_thread variable 10 years ago
Yuri Kunde Schlesner 3cb19c9589 Process: Rename StaticAddressMapping => AddressMapping 10 years ago
Yuri Kunde Schlesner 83ccf85bb2 Process: Add more documentation to the class members 10 years ago
Yuri Kunde Schlesner 2f5904611d Process: Use BitField to store process flags 10 years ago
Yuri Kunde Schlesner 7eb413155f Loader/NCCH: Fix formatting of braces 10 years ago
Yuri Kunde Schlesner 2af30d465f Process: Support parsing of exheader kernel caps 10 years ago
Yuri Kunde Schlesner 326ec51261 Common: Add BIT macro 10 years ago
Yuri Kunde Schlesner a5eba2f984 Kernel: Remove g_program_id
This has been obsoleted by the field in Process.
10 years ago
Yuri Kunde Schlesner 6d60acf0f1 Kernel: Introduce skeleton Process class to hold process data 10 years ago
Yuri Kunde Schlesner 8809d02db3 Common: Add StringFromFixedZeroTerminatedBuffer 10 years ago
Yuri Kunde Schlesner 0f39cc359b Core: Fix sorting in CMakeFiles.txt 10 years ago
Lioncash 1622068198 Merge pull request #728 from lioncash/vars
dyncom: Remove an unnecessary variable in the interpreter
10 years ago
Lioncash ae0c38a333 Remove unnecessary dyncom header files 10 years ago
Lioncash 31dc8b8890 dyncom: Remove an unnecessary variable in the interpreter
All this was doing was needlessly aliasing a variable.
10 years ago
Yuri Kunde Schlesner 4560178f66 Merge pull request #725 from yuriks/remove-common-crap
Remove unused hash and mem_arena from common
10 years ago
bunnei 10ef39624a Merge pull request #723 from lioncash/commonstr
string_util: Get rid of UriDecode/UriEncode
10 years ago
Yuri Kunde Schlesner ed12b08e7a Profiler: Fix off-by-one error when computing average. 10 years ago
Yuri Kunde Schlesner 3396f352cb Common: Remove mem_arena.cpp/h
It is superfluous for Citra. (It's only really necessary if you're doing
JIT. We were using it but not taking any advantage from it.) This should
make 32-bit builds work again.
10 years ago
Yuri Kunde Schlesner d9df5b575a Common: Remove hash.cpp/h
Currently unused and the code quality is pretty questionable.
10 years ago
Yuri Kunde Schlesner fae5933ad6 Common: Add proper macros to test for architecture pointer size
The old system of just defining macros available in some other platform
was susceptible to silently using the wrong code if you forgot to
include a particular header. This fixes a crash on non-Windows platforms
introduced by e1fbac3ca1.
10 years ago
Lioncash 9adad45b0f string_util: Get rid of UriDecode/UriEncode 10 years ago
Yuri Kunde Schlesner 4f4d230dac Merge pull request #721 from yuriks/more-cleanups
More cleanups
10 years ago
Yuri Kunde Schlesner c956e8a686 Fix printf format warning 10 years ago
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h 10 years ago
Yuri Kunde Schlesner 1bd1a13a02 Common: Move alignment macros to common_funcs.h 10 years ago
Yuri Kunde Schlesner ae963d75f8 Common: Move SSE detection ifdefs to platform.h 10 years ago
Yuri Kunde Schlesner a594fdb66e Common: Remove more unused compatibility defines 10 years ago
Yuri Kunde Schlesner f3c096951b Common: Move IO-specific compatibility macros to file_util.cpp 10 years ago
Yuri Kunde Schlesner bf12f270b3 Common: Remove many unnecessary cross-platform compatibility macros 10 years ago
Yuri Kunde Schlesner c0eaa662d4 Clean-up includes 10 years ago
Yuri Kunde Schlesner b89f644cfe FileSys: De-inline Path members 10 years ago
Yuri Kunde Schlesner 6f89d25f90 FileSys: Clean-up includes, de-inline destructors 10 years ago
Yuri Kunde Schlesner c916bcf7b5 Move typedefs from kernel.h to more appropriate places 10 years ago
Yuri Kunde Schlesner 6ad71c216b Common: Move NonCopyable to common_types.h 10 years ago
Yuri Kunde Schlesner 7a4b717772 Common: Use C++11 deleted functions for NonCopyable 10 years ago
Yuri Kunde Schlesner 1fee769aa0 Common: Remove unused enums 10 years ago
bunnei 337f1e1b96 Merge pull request #695 from Subv/crash_f
GPU: Implemented default vertex shader attributes.
10 years ago
Subv 0e5ca080a8 GPU: Implemented default vertex shader attributes.
Fixes some games crashing.
10 years ago
Yuri Kunde Schlesner ecff2351a1 HLE: Clean up SVC dispatch mechanism 10 years ago
Yuri Kunde Schlesner 0749687b8d Core: Remove some unused functions and types 10 years ago
Tony Wasserka 7859b145cf Merge pull request #698 from Zaneo/clip_stylus_input
EmuWindow: Clip mouse input coordinates to emulated screen dimensions.
10 years ago
Zaneo b8328593fe EmuWindow: Clip mouse input coordinates to emulated screen dimensions.
If the mouse position for a mouse move/drag would take it outside the emulated screen dimensions, clip the coordinates to
the emulated screen dimensions.
Qt and GLFW will report negative coordinates for mouse positions to the left, or above citra window. Added restriction
to mouse coordinates passed to touchmoved by Qt/GLFW to be greater or equal to zero.
10 years ago
bunnei 046dd6e3ef Qt: Shutdown game on emulator close event. 10 years ago
bunnei 85cc81d8cc Qt: Disable "Start" unless we are paused (it otherwise has no meaning and causes a crash). 10 years ago
bunnei bc41de2131 Qt: Fixed a bug in shutdown procedure, various cleanups. 10 years ago
bunnei ad4445c529 Qt: Clear registers widget on shutdown. 10 years ago
bunnei 43cf424907 Qt: Use signals for emu_thread start/stop and fix disasm widget. 10 years ago
bunnei e4ea133717 Qt: Restructured to remove unnecessary shutdown event and various cleanups. 10 years ago
bunnei 3dd2688785 Qt: Fix loading a new game without stopping emulation. 10 years ago
bunnei 5a855bdb2f CoreTiming: Initialize static variables at bootup. 10 years ago
bunnei d3c2f9a4a4 HLE: Properly initialize and shutdown remaining modules. 10 years ago
bunnei bab5abaf46 Dyncom: Move cream cache to ARMul_State. 10 years ago
bunnei c7dc799e19 Kernel: Properly initialize and shutdown all modules. 10 years ago
bunnei 57aaaf92db HW: Properly initialize and shutdown all modules. 10 years ago
bunnei e0cb85691a Services: Initialize all state variables at bootup. 10 years ago
bunnei bbabed8e98 Memory: Properly cleanup & shutdown. 10 years ago
bunnei 28df8dbfeb Qt: Create emu thread on bootup, kill it on shutdown. 10 years ago
bunnei d5665fea89 EmuThread: Remove unused filename attribute. 10 years ago
bunnei 762c1a9ff5 Qt: Move EmuThread ownership from render window to main window. 10 years ago
bunnei 4d30edc11e Merge pull request #717 from linkmauve/useless-auto
VideoCore: Remove a superfluous auto variable declaration in debug_utils
10 years ago
Emmanuel Gil Peyrot 36b48082d5 VideoCore: Remove a superfluous auto variable declaration in debug_utils. 10 years ago
purpasmart96 8716445621 ConfigMem: Remove duplicate retail bit 10 years ago
bunnei 2cc6511039 Merge pull request #692 from purpasmart96/log_improvements
Services/Loader: Use more sensible log formats for certain functions along with more info being logged.
10 years ago
purpasmart96 c3a480160e Services/Loader: Use more sensible log formats for certain functions
along with more info being logged.
10 years ago
Lioncash 1baab50e7c ptm_sysm: Add static specifier to IsLegacyPowerOff 10 years ago
Lioncash 8b2b620a5e dyncom: Remove more unused/unnecessary code
Gets rid of a sizeable amount of stuff in armdefs.
10 years ago
bunnei a698e15c5d Merge pull request #703 from lioncash/cruft
dyncom: Remove unused/unnecessary VFP cruft
10 years ago
Lioncash d66a12c6f6 dyncom: Remove unused/unnecessary VFP cruft 10 years ago
bunnei 5e55a525d8 Merge pull request #691 from rohit-n/sign-compare
Silence some -Wsign-compare warnings.
10 years ago
Yuri Kunde Schlesner 6402de9ae7 Common: thread.h cleanups
The helper classes are rendered obsolete by C++11 lambdas. Also made
formatting conform to our code style.
10 years ago
bunnei 3ee9f6c5d8 Merge pull request #696 from yuriks/interface-deinline
De-inline functions from Interface, removing them from service.h
10 years ago
Emmanuel Gil Peyrot 2e860bd59c Core_ARM11: Replace debug prints with our own logging functions in vfpsingle. 10 years ago
Emmanuel Gil Peyrot d9eb7ca95c citra-qt: Use std::abs() to get the right absolute function for s64. 10 years ago
Emmanuel Gil Peyrot 0d69b2f7bd Kernel: Use the correct format string for u64 hex. 10 years ago
Emmanuel Gil Peyrot bdcf28e3bc Headers: Add some forgotten overrides, thanks clang! 10 years ago
Yuri Kunde Schlesner ad3e25b414 De-inline functions from Interface, removing them from service.h
This reduces the time for a full recompile from 65.43s to 59.53s (~9%)
10 years ago
bunnei db4bd98bac SVC: Assert on unsupported CreateThread processor ID. 10 years ago
Rohit Nirmal f15c142c5e Silence some -Wsign-compare warnings. 10 years ago
bunnei c077bcefa9 SVC: Update various SVCs to cause a reschedule.
- CreateMutex/ReleaseMutex/ReleaseSemaphore/SetTimer/CancelTimer/ArbitrateAddress
10 years ago
bunnei 9c3419ebcc Kernel: Implemented priority inheritance for mutexes. 10 years ago
bunnei 7b9f428b23 Thread: Implement priority boost for starved threads.
SVC: Return correct error code on invalid CreateThread processor ID.

SVC: Assert when creating a thread with an invalid userland priority.
10 years ago
bunnei ee3377b67d SVC: Reschedule on svcCreateThread. 10 years ago
bunnei bdd190363d APT: (Subv) Fix bug where start event was being incorrectly signaled. 10 years ago
bunnei e08f55b1a7 Kernel: Fixed default thread priority. 10 years ago
Gareth Higgins 25a43cd2ec Initialize base address to 0x0 10 years ago
Tony Wasserka 8af5753da5 Merge pull request #689 from lioncash/format
gpu: Fix a missing format specifier
10 years ago
bunnei 114126b216 Merge pull request #688 from lioncash/unused
dyncom: Remove unnecessary enum and typedef
10 years ago
bunnei e630fd2a95 Merge pull request #676 from purpasmart96/ir_service_refc
IR: Move The IR services to their own folder and implement "GetHandles"
10 years ago
Lioncash 7da90dee42 gpu: Fix a missing format specifier 10 years ago
Lioncash a6c9e453b2 dyncom: Remove unnecessary enum and typedef
Also fixes descriptions in the process.
10 years ago
Lioncash 29a4b6c7ed vfp: Make the FPSID values match the MPCore 10 years ago
Lioncash f9cc6d6484 vfp: Get rid of the VFP_OFFSET macro 10 years ago
bunnei 14dcd98653 Merge pull request #685 from lioncash/cpregs
dyncom: Set the MPCore CP15 register reset values on initialization.
10 years ago
Lioncash 8004d35ea1 core: Migrate 3DS-specific CP15 register setting into Init 10 years ago
Lioncash c3ffe8f9c3 arm_interface: Support retrieval/storage to CP15 registers 10 years ago
Lioncash b7b8b67620 Move CP15 enum definitions into their own enum.
Also gets rid of preprocessor mumbo-jumbo
10 years ago
Lioncash 23dd2ca8a6 dyncom: Properly return the value of the user RO thread register 10 years ago
Lioncash e628ed4810 dyncom: Set CP15 reset values on initialization 10 years ago
Lioncash bb7dac022e dyncom: Suppress uninitialized variable warnings
The switch cases will always be hit, but this makes compilers stop complaining.
10 years ago
bunnei 8997cfaeb4 Merge pull request #682 from yuriks/virtmem2
Clean-up mem_map constants and fix framebuffer translation errors
10 years ago
Yuri Kunde Schlesner 34b009cf38 Clean-up mem_map constants and fix framebuffer translation errors 10 years ago
Gareth Higgins 8060c519a6 Changed occurences of colour to color for consistency 10 years ago
bunnei 64196976b9 Merge pull request #680 from archshift/bg-color
Allow the user to set the background clear color during emulation
10 years ago
purpasmart96 d6c9af600f IR: Move The IR services to their own folder and implement "GetHandles" 10 years ago
bunnei 3fd2cc566b Merge pull request #641 from purpasmart96/service_stubs
Services: Stubs and minor changes
10 years ago
archshift cae89fb315 Allow the user to set the background clear color during emulation
The background color can be seen at the sides of the bottom screen or when the window is wider than normal.
10 years ago
purpasmart96 198c0ddc72 Services: Stubs and minor changes 10 years ago
bunnei e25ffaba86 Merge pull request #677 from lioncash/cp15
dyncom: Isolate CP15 register reading and writing
10 years ago
Lioncash 490df716f3 dyncom: Move CP15 register writing into its own function.
Also implements writing to the rest of the ARM11 MPCore CP15 register set.
10 years ago
Lioncash 5e5954c63b dyncom: Move CP15 register reading into its own function.
Keeps everything contained. Added all supported readable registers in an ARM11 MPCore.
10 years ago
bunnei d95d6e3ecd Merge pull request #678 from lioncash/disasm
callstack: Remove unnecessary disassembler instantiation
10 years ago
Lioncash e05d6220f5 disassembler: Get rid of a const_cast 10 years ago
Lioncash 0520a3b178 callstack: Remove unnecessary disassembler instantiation
Decode is a static function. There's no need to allocate a disassembler instance.
10 years ago
Lioncash de6eba0288 dyncom: Migrate InAPrivilegedMode to armsupp
It's a generic helper function, so it should be here anyway.
10 years ago
James Rowe 635ed87788 unsetting a few more variables that arent needed outside of this function 10 years ago
James Rowe 5b9a5493c5 Updated the copy commands to run on post_build and use generator expressions to simplify the code as well 10 years ago
James Rowe 2d7008f03c Changes to bring the previous commits in line with the comments on thepull request. Made the debug build a true debug build with no optimizxations and the RelWithDebInfo is what it says it is too. Changed the copying of the dlls to the build directories to happen at configuration time instead of build time 10 years ago
James Rowe 4a7e21eb58 More changes to the CMakeFiles for better MSVC compatibility. Added in the RelWithDebInfo target and setup copying the Qt 5 Dlls to the output directories. 10 years ago
bunnei c4767f3bb2 Merge pull request #672 from purpasmart96/citra_moar_app_mem
ConfigMem: Set the app memory to be 96MB instead of the default 64MB
10 years ago
bunnei b3d4a10e29 Merge pull request #674 from lioncash/sys-instrs
dyncom: Implement RFE and SRS.
10 years ago
Lioncash a80d93685a dyncom: Implement SRS 10 years ago
Lioncash cde671795c dyncom: Implement RFE 10 years ago
Lioncash 2df10d2284 dyncom: Remove unused/unnecessary macros and macro constants 10 years ago
purpasmart96 e0c72ec871 ConfigMem: Set the app memory to be 96MB instead of the default 64MB 10 years ago
bunnei 03ceb7adf9 Merge pull request #656 from Subv/nz
Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and Del...
10 years ago
Lioncash f23f2a9a42 armmmu: Remove unnecessary enum values
We don't need to care about XScale or Intel specific ARM stuff.
10 years ago
bunnei 1981aa3d7e Merge pull request #659 from lioncash/setend
Implement SETEND.
10 years ago
Subv b9612fe919 Service/FS: Document and log some unknown values.
In CreateExtSaveData, DeleteExtSaveData and CreateSystemSaveData
10 years ago
bunnei 580b317821 Merge pull request #650 from Subv/scaling
GPU: Fixed the bit 25 in the display transfer flags.
10 years ago
Lioncash 9fdb311d6e dyncom: Make Load/Store instructions support big endian 10 years ago
bunnei 0bb4b77b78 Merge pull request #655 from purpasmart96/hid_fixes
HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along  with a stub for GetSoundVolume
10 years ago
purpasmart96 5b1757d6a5 HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along
with a stub for GetSoundVolume
10 years ago
bunnei ef0c4aac86 Merge pull request #660 from purpasmart96/ncch_updates
NCCH: Minor updates to the ncch header
10 years ago
bunnei 6977877665 Merge pull request #661 from linkmauve/cleanup
Fix two minor understandability issues in common
10 years ago
Subv 23b401c3ac GPU/DisplayTransfer: Made the scaling bits a single 2bit value
Rephrased some comments.
10 years ago
bunnei c1f5cb7dd5 Merge pull request #652 from neobrain/shader_output_fix
Pica/VertexShader: Fix a bug caused due to incorrect assumptions of consecutive output register tables.
10 years ago
bunnei 968c418fa5 Merge pull request #662 from linkmauve/video_core-warnings
Add static_cast around expressions where the compiler doesn’t deduce the right type
10 years ago
Lioncash 8cf81643a9 arm_interface: Get rid of GetTicks.
Removes a TODO.
10 years ago
Emmanuel Gil Peyrot 92fd2a1ee3 VideoCore: Add static_cast around expressions where the compiler doesn’t deduce the right type. 10 years ago
Emmanuel Gil Peyrot 188b419586 Common: Fix logic for setting EMU_DATA_DIR. 10 years ago
Emmanuel Gil Peyrot 4c684fb274 Common: Make a #else more apparent. 10 years ago
purpasmart96 061c69a6bb NCCH: Minor updates to the ncch header 10 years ago
bunnei 3e5aeb9a7a Merge pull request #657 from Subv/flip
GPU: Implemented the flip_data (bit 0) bit in display transfers.
10 years ago
Lioncash f280806214 dyncom: Implement SETEND 10 years ago
Subv fb8f47060b GPU: Implemented the flip_data (bit 0) bit in display transfers. 10 years ago
Subv c0d1a91017 EmuWindow: Fixed a reference to a temporary variable
in GetTouchState()
10 years ago
Subv 1d61cd4460 Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and DeleteSystemSaveData
Also fixed a bug with CreateExtSaveData that made it unable to create ExtSaveData archives in the SDMC directory.
10 years ago
Tony Wasserka e4f5ec6272 Pica/VertexShader: Fix a bug caused due to incorrect assumptions of consecutive output register tables.
We now write create a temporary buffer for output registers and copy all of them to the actual output vertex structure after the shader has run. This is technically not necessary, but it's easier to vectorize in the future.
10 years ago
bunnei ed5b275d21 Merge pull request #642 from bunnei/touchpad
Touchpad support
10 years ago
bunnei 4bbddda377 hid_user: Removed unnecessary includes. 10 years ago
bunnei e79c27f1e0 HID: Removed unnecessary global variables. 10 years ago
bunnei 85cbccb1d3 HID: Added additional variable comments and some code cleanups. 10 years ago
bunnei d61b26b79f HID: Complete refactor of pad/touch input to fix threading issues. 10 years ago
bunnei b56829df02 Merge pull request #629 from archshift/lcdfb
Implement SetLcdForceBlack and add implementation for color filling in the GPU code
10 years ago
bunnei 953e09ddb5 EmuWindow: Made pad/touch functions non-static. 10 years ago
bunnei a1a1a5c6c5 HID: Cleanup how `next_touch_index` is calculated for Pad and touch. 10 years ago
bunnei 432aa1044c HID: Changed TouchDataEntry `valid` to a BitField and added some doc strings. 10 years ago
bunnei e9b9f1842b HID: Added static asserts to check register position in shared memory. 10 years ago
bunnei f213000cc4 Qt: Implemented EmuWindow touchpad support. 10 years ago
bunnei dd73217ae3 GLFW: Implemented EmuWindow touchpad support. 10 years ago
bunnei 543232436f EmuWindow: Added infrastructure code to enable touchpad support. 10 years ago
bunnei 1a904ded40 HID: Added functions to emulate the touchpad. 10 years ago
bunnei 3229b048d9 HID: Moved some docstrings to the header. 10 years ago
bunnei 83a66dd701 HID: Refactored shared memory decoding for touchpad support. 10 years ago
Subv ae0dfcae1d GPU: Fixed the bit 25 in the display transfer flags.
It is used to downscale the input image horizontally and vertically, previously we were only downscaling it vertically so this caused a hard-to-debug memory corruption problem.
10 years ago
Lioncash e34ba68e1f dyncom: Minor cleanup
Assemblers will exit with an error when trying to assemble instructions with disallowed registers.
10 years ago
bunnei ec5bc54575 Merge pull request #643 from Subv/dem_feels
GPU: Implemented more depth buffer formats.
10 years ago
Subv 1248e291f0 GPU: Added the stencil test structure to the Pica Regs struct. 10 years ago
Subv 155cc80e3b Frontend/Qt: Allow the framebuffer widget to inspect the depth buffer 10 years ago
Subv 414b0741c4 GPU: Implemented more depth buffer formats.
This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others
10 years ago
bunnei e10a9b2f66 Merge pull request #647 from neobrain/rip_culling_hack
Pica/PrimitiveAssembly: Fix triangle strips and fans being generated with incorrect winding order.
10 years ago
archshift 041e99b613 Added LCD registers, and implementation for color filling in OGL code. 10 years ago
Tony Wasserka 511bf30a69 Merge pull request #648 from Subv/fill_bit
GPU: Use the correct position for the finished bit in memory fills
10 years ago
Subv 0abba5874c GPU: Use the correct position for the finished bit in memory fills 10 years ago
Tony Wasserka e3a697b9f9 Merge pull request #646 from Subv/24bit_fills
GPU: Corrected the 24 bit memory fills component order
10 years ago