Commit Graph

2249 Commits (aee575b24d9c0b07741d3e51c096994a7c85b828)

Author SHA1 Message Date
bunnei 32be6a4553 Merge pull request #937 from yuriks/codeset-leak
Ensure all kernel objects are released during shutdown
10 years ago
zawata f723a498e7 Core\HLE : Fix Warning
"signed/unsigned mismatch"
10 years ago
Yuri Kunde Schlesner dc39d06950 Ensure all kernel objects are released during shutdown
This commit fixes several kernel object leaks. The most severe of them
was threads not being removed from the private handle table used for
CoreTiming events. This resulted in Threads never being released, which
in turn held references to Process, causing CodeSets to never be freed
when loading other applications.
10 years ago
Lioncash 23dbbb786a arm_dyncom_interpreter: Simplify assignment in SMLAW
Also a side-benefit of not having implementation-defined behavior.
10 years ago
bunnei 946f0ee2f4 Merge pull request #918 from yuriks/romfs
Do not load entire RomFS to memory, read from the file as needed instead (rebased)
10 years ago
Tony Wasserka 7fd03750bd citra-qt: Add support for copying the command list contents to clipboard. 10 years ago
Tony Wasserka 33568494af Pica/Shader: Add geometry shader definitions. 10 years ago
Tony Wasserka 0ea2319f3c Merge pull request #931 from neobrain/move_default_attr_handler
Pica/CommandProcessor: Move default attribute setup to the proper position.
10 years ago
Tony Wasserka aeec12dc33 Pica/CommandProcessor: Move default attribute setup to the proper position. 10 years ago
Tony Wasserka d2c3ecc8d8 Pica/Clipper: Output proper number of triangles in debugging logs. 10 years ago
Lectem d08e9b29e2 VideoCore: Implement the DOT3_RGB combiner 10 years ago
archshift 2501f111a6 Merge pull request #904 from aroulin/y2r-narrowing-warning
Y2R: Fix narrowing warning
10 years ago
Yuri Kunde Schlesner 62c2a262b2 Loader: Fix variable type and remove unused variable 10 years ago
Yuri Kunde Schlesner a1f08788d9 Archive: Correct a few incorrect types in function signatures
Buffer lengths should be size_t, and file offsets should be u64.
10 years ago
Yuri Kunde Schlesner 2d7299a86f Loader: Remove unnecessary pointer indirection to IOFile 10 years ago
condut c385b7767d FS: Stream RomFS from file instead of loading all of it to memory 10 years ago
Yuri Kunde Schlesner 1fc0347d27 Merge pull request #924 from aroulin/qt-disassembly-step
Qt: Fix disassembly widget stepping
10 years ago
Tony Wasserka 5e79706db2 Pica: Implement stencil testing. 10 years ago
Tony Wasserka 302e9a20f3 citra-qt: Add depth formats to framebuffer viewing widget. 10 years ago
Tony Wasserka 88df3fbf27 citra-qt: Properly specify the framebuffer format. 10 years ago
Tony Wasserka 29abb11e8f CiTrace: Clean up initialization method. 10 years ago
Tony Wasserka dc8295298e CiTrace: Record LCD registers. Cleanup recording code. 10 years ago
Tony Wasserka fd62580985 CiTrace: Record default vertex attributes. 10 years ago
Tony Wasserka 0799b40caa Clean up command_processor.cpp. 10 years ago
Tony Wasserka 01a526e1c4 citra-qt: Properly disable the CiTrace widget upon starting/stopping emulation. 10 years ago
Tony Wasserka 902fa4da52 Add CiTrace recording support.
This is exposed in the GUI as a new "CiTrace Recording" widget.

Playback is implemented by a standalone 3DS homebrew application (which only runs reliably within Citra currently; on an actual 3DS it will often crash still).
10 years ago
Tony Wasserka 93d66475d4 GPU: Be robust against nullptr addresses; properly reset busy bits in the trigger registers. 10 years ago
Tony Wasserka 279e19732c FileUtil: Add a WriteObject method for writing a single, POD-type object. 10 years ago
Tony Wasserka 256bdfb579 HW: Fix a stupid issue which led to unknown register reads/writes. 10 years ago
aroulin 7ccce98389 Qt: Fix disassembly widget stepping 10 years ago
Yuri Kunde Schlesner c4e11519af Merge pull request #859 from Apology11/master
build with visual studio 2015
10 years ago
bunnei b6719ec922 Merge pull request #921 from linkmauve/fix-applet
Fix applet includes using iwyu
10 years ago
Yuri Kunde Schlesner d4f35fd989 Kernel: Add CodeSet case to Object::IsWaitable 10 years ago
Emmanuel Gil Peyrot fe909b3b5a Core: Fix applet includes using iwyu. 10 years ago
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