Commit Graph

1862 Commits (c956e8a6869d0ee1edd68a6ab880efa6bf1fbe70)

Author SHA1 Message Date
Emmanuel Gil Peyrot bdcf28e3bc Headers: Add some forgotten overrides, thanks clang! 11 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%)
11 years ago
bunnei db4bd98bac SVC: Assert on unsupported CreateThread processor ID. 11 years ago
Rohit Nirmal f15c142c5e Silence some -Wsign-compare warnings. 11 years ago
bunnei c077bcefa9 SVC: Update various SVCs to cause a reschedule.
- CreateMutex/ReleaseMutex/ReleaseSemaphore/SetTimer/CancelTimer/ArbitrateAddress
11 years ago
bunnei 9c3419ebcc Kernel: Implemented priority inheritance for mutexes. 11 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.
11 years ago
bunnei ee3377b67d SVC: Reschedule on svcCreateThread. 11 years ago
bunnei bdd190363d APT: (Subv) Fix bug where start event was being incorrectly signaled. 11 years ago
bunnei e08f55b1a7 Kernel: Fixed default thread priority. 11 years ago
Gareth Higgins 25a43cd2ec Initialize base address to 0x0 11 years ago
Tony Wasserka 8af5753da5 Merge pull request #689 from lioncash/format
gpu: Fix a missing format specifier
11 years ago
bunnei 114126b216 Merge pull request #688 from lioncash/unused
dyncom: Remove unnecessary enum and typedef
11 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"
11 years ago
Lioncash 7da90dee42 gpu: Fix a missing format specifier 11 years ago
Lioncash a6c9e453b2 dyncom: Remove unnecessary enum and typedef
Also fixes descriptions in the process.
11 years ago
Lioncash 29a4b6c7ed vfp: Make the FPSID values match the MPCore 11 years ago
Lioncash f9cc6d6484 vfp: Get rid of the VFP_OFFSET macro 11 years ago
bunnei 14dcd98653 Merge pull request #685 from lioncash/cpregs
dyncom: Set the MPCore CP15 register reset values on initialization.
11 years ago
Lioncash 8004d35ea1 core: Migrate 3DS-specific CP15 register setting into Init 11 years ago
Lioncash c3ffe8f9c3 arm_interface: Support retrieval/storage to CP15 registers 11 years ago
Lioncash b7b8b67620 Move CP15 enum definitions into their own enum.
Also gets rid of preprocessor mumbo-jumbo
11 years ago
Lioncash 23dd2ca8a6 dyncom: Properly return the value of the user RO thread register 11 years ago
Lioncash e628ed4810 dyncom: Set CP15 reset values on initialization 11 years ago
Lioncash bb7dac022e dyncom: Suppress uninitialized variable warnings
The switch cases will always be hit, but this makes compilers stop complaining.
11 years ago
bunnei 8997cfaeb4 Merge pull request #682 from yuriks/virtmem2
Clean-up mem_map constants and fix framebuffer translation errors
11 years ago
Yuri Kunde Schlesner 34b009cf38 Clean-up mem_map constants and fix framebuffer translation errors 11 years ago
Gareth Higgins 8060c519a6 Changed occurences of colour to color for consistency 11 years ago
bunnei 64196976b9 Merge pull request #680 from archshift/bg-color
Allow the user to set the background clear color during emulation
11 years ago
purpasmart96 d6c9af600f IR: Move The IR services to their own folder and implement "GetHandles" 11 years ago
bunnei 3fd2cc566b Merge pull request #641 from purpasmart96/service_stubs
Services: Stubs and minor changes
11 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.
11 years ago
purpasmart96 198c0ddc72 Services: Stubs and minor changes 11 years ago
bunnei e25ffaba86 Merge pull request #677 from lioncash/cp15
dyncom: Isolate CP15 register reading and writing
11 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.
11 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.
11 years ago
bunnei d95d6e3ecd Merge pull request #678 from lioncash/disasm
callstack: Remove unnecessary disassembler instantiation
11 years ago
Lioncash e05d6220f5 disassembler: Get rid of a const_cast 11 years ago
Lioncash 0520a3b178 callstack: Remove unnecessary disassembler instantiation
Decode is a static function. There's no need to allocate a disassembler instance.
11 years ago
Lioncash de6eba0288 dyncom: Migrate InAPrivilegedMode to armsupp
It's a generic helper function, so it should be here anyway.
11 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
11 years ago
bunnei b3d4a10e29 Merge pull request #674 from lioncash/sys-instrs
dyncom: Implement RFE and SRS.
11 years ago
Lioncash a80d93685a dyncom: Implement SRS 11 years ago
Lioncash cde671795c dyncom: Implement RFE 11 years ago
Lioncash 2df10d2284 dyncom: Remove unused/unnecessary macros and macro constants 11 years ago
purpasmart96 e0c72ec871 ConfigMem: Set the app memory to be 96MB instead of the default 64MB 11 years ago
bunnei 03ceb7adf9 Merge pull request #656 from Subv/nz
Services/FS: Implemented DeleteExtSaveData, CreateSystemSaveData and Del...
11 years ago
Lioncash f23f2a9a42 armmmu: Remove unnecessary enum values
We don't need to care about XScale or Intel specific ARM stuff.
11 years ago
bunnei 1981aa3d7e Merge pull request #659 from lioncash/setend
Implement SETEND.
11 years ago
Subv b9612fe919 Service/FS: Document and log some unknown values.
In CreateExtSaveData, DeleteExtSaveData and CreateSystemSaveData
11 years ago
bunnei 580b317821 Merge pull request #650 from Subv/scaling
GPU: Fixed the bit 25 in the display transfer flags.
11 years ago
Lioncash 9fdb311d6e dyncom: Make Load/Store instructions support big endian 11 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
11 years ago
purpasmart96 5b1757d6a5 HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along
with a stub for GetSoundVolume
11 years ago
bunnei ef0c4aac86 Merge pull request #660 from purpasmart96/ncch_updates
NCCH: Minor updates to the ncch header
11 years ago
bunnei 6977877665 Merge pull request #661 from linkmauve/cleanup
Fix two minor understandability issues in common
11 years ago
Subv 23b401c3ac GPU/DisplayTransfer: Made the scaling bits a single 2bit value
Rephrased some comments.
11 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.
11 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
11 years ago
Lioncash 8cf81643a9 arm_interface: Get rid of GetTicks.
Removes a TODO.
11 years ago
Emmanuel Gil Peyrot 92fd2a1ee3 VideoCore: Add static_cast around expressions where the compiler doesn’t deduce the right type. 11 years ago
Emmanuel Gil Peyrot 188b419586 Common: Fix logic for setting EMU_DATA_DIR. 11 years ago
Emmanuel Gil Peyrot 4c684fb274 Common: Make a #else more apparent. 11 years ago
purpasmart96 061c69a6bb NCCH: Minor updates to the ncch header 11 years ago
bunnei 3e5aeb9a7a Merge pull request #657 from Subv/flip
GPU: Implemented the flip_data (bit 0) bit in display transfers.
11 years ago
Lioncash f280806214 dyncom: Implement SETEND 11 years ago
Subv fb8f47060b GPU: Implemented the flip_data (bit 0) bit in display transfers. 11 years ago
Subv c0d1a91017 EmuWindow: Fixed a reference to a temporary variable
in GetTouchState()
11 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.
11 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.
11 years ago
bunnei ed5b275d21 Merge pull request #642 from bunnei/touchpad
Touchpad support
11 years ago
bunnei 4bbddda377 hid_user: Removed unnecessary includes. 11 years ago
bunnei e79c27f1e0 HID: Removed unnecessary global variables. 11 years ago
bunnei 85cbccb1d3 HID: Added additional variable comments and some code cleanups. 11 years ago
bunnei d61b26b79f HID: Complete refactor of pad/touch input to fix threading issues. 11 years ago
bunnei b56829df02 Merge pull request #629 from archshift/lcdfb
Implement SetLcdForceBlack and add implementation for color filling in the GPU code
11 years ago
bunnei 953e09ddb5 EmuWindow: Made pad/touch functions non-static. 11 years ago
bunnei a1a1a5c6c5 HID: Cleanup how `next_touch_index` is calculated for Pad and touch. 11 years ago
bunnei 432aa1044c HID: Changed TouchDataEntry `valid` to a BitField and added some doc strings. 11 years ago
bunnei e9b9f1842b HID: Added static asserts to check register position in shared memory. 11 years ago
bunnei f213000cc4 Qt: Implemented EmuWindow touchpad support. 11 years ago
bunnei dd73217ae3 GLFW: Implemented EmuWindow touchpad support. 11 years ago
bunnei 543232436f EmuWindow: Added infrastructure code to enable touchpad support. 11 years ago
bunnei 1a904ded40 HID: Added functions to emulate the touchpad. 11 years ago
bunnei 3229b048d9 HID: Moved some docstrings to the header. 11 years ago
bunnei 83a66dd701 HID: Refactored shared memory decoding for touchpad support. 11 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.
11 years ago
Lioncash e34ba68e1f dyncom: Minor cleanup
Assemblers will exit with an error when trying to assemble instructions with disallowed registers.
11 years ago
bunnei ec5bc54575 Merge pull request #643 from Subv/dem_feels
GPU: Implemented more depth buffer formats.
11 years ago
Subv 1248e291f0 GPU: Added the stencil test structure to the Pica Regs struct. 11 years ago
Subv 155cc80e3b Frontend/Qt: Allow the framebuffer widget to inspect the depth buffer 11 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
11 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.
11 years ago
archshift 041e99b613 Added LCD registers, and implementation for color filling in OGL code. 11 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
11 years ago
Subv 0abba5874c GPU: Use the correct position for the finished bit in memory fills 11 years ago
Tony Wasserka e3a697b9f9 Merge pull request #646 from Subv/24bit_fills
GPU: Corrected the 24 bit memory fills component order
11 years ago
Tony Wasserka 5742367341 Pica/PrimitiveAssembly: Fix triangle strips and fans being generated with incorrect winding order. 11 years ago
bunnei 8a1cc5b805 Merge pull request #589 from kevinhartman/config-errors
Fix errorcodes for bad config block request
11 years ago
bunnei 3da94a597b Merge pull request #634 from linkmauve/logging-performances
Apply the logging filter before sending the message to the queue
11 years ago