Commit Graph

1862 Commits (c956e8a6869d0ee1edd68a6ab880efa6bf1fbe70)

Author SHA1 Message Date
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
bunnei f2a7c2b3b7 Merge pull request #645 from lioncash/ldm
Minor bugfixes to LDM/STM.
11 years ago
Subv a762f9c176 GPU: Corrected the 24 bit memory fills component order 11 years ago
bunnei 8ecba90ff0 Merge pull request #644 from archshift/nihstro
Update nihstro submodule to the initial release version.
11 years ago
bunnei ba8ce6c8f5 Merge pull request #584 from yuriks/outline-asserts
Asserts: Use lambdas to keep assertion code away from the main code path
11 years ago
Lioncash 386dbab5ea dyncom: Fix an indexing bug in STM
Previously it would write the contents of register 13 for the case where the link register (r14) is supposed to be written.
11 years ago
Lioncash 36dab56c31 dyncom: General cleanup of STM 11 years ago
Lioncash e37425b380 dyncom: Increment addr when accessing LR in LDM 11 years ago
archshift 7d43aef4d0 Update nihstro submodule to the initial release version.
Includes more opcodes to implement in the future.
11 years ago
archshift 30e41de347 Merge pull request #639 from archshift/appbundle
Build app bundles on OS X. Fixes the issue where the menubar would not appear.
11 years ago
archshift 539bbd3c59 default_ini.h: Put comments on their own lines
Apparently inline comments is not necessarily standard in the INI format, and our parser was erroneously parsing the comments as values.
11 years ago
archshift c036cf604f Build app bundles on OS X. Fixes the issue where the menubar would not appear. 11 years ago
bunnei 25633b431d Fixed EmuWindow typo (fixes OSX build) 11 years ago
bunnei 06bf471581 Merge pull request #636 from bunnei/refactor-screen-win
Set framebuffer layout from EmuWindow.
11 years ago
bunnei 9960c49c21 Set framebuffer layout from EmuWindow. 11 years ago
Subv 4b8d4d0ed5 GPU/Textures: Fixed ETC texture decoding. 11 years ago
Tony Wasserka 93e32bce72 Merge pull request #538 from yuriks/perf-stat
Add profiling infrastructure and widget
11 years ago
Emmanuel Gil Peyrot 0aa44e238d Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread. 11 years ago
archshift e011acaa84 Removed swap code redundancy and moved common swap code to swap.h 11 years ago
archshift 47010fea31 Implement SetLcdForceBlack, move register enum to hw.h 11 years ago
bunnei 8e4e28aacb Merge pull request #615 from Subv/services
Services: Moved the PTM and APT services to their own folder
11 years ago
Subv 83a8975cb8 Services: Moved the PTM and APT services to their own folder
This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs.

Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.
11 years ago
bunnei 8fc8c51118 Merge pull request #625 from lioncash/warn
vfp: Get rid of warnings
11 years ago
Lioncash 4b89cf9e43 vfp: Get rid of warnings 11 years ago
bunnei 34c31db14a GPU: Added RGB565/RGB8 framebuffer support and various cleanups.
- Centralizes color format encode/decode functions.
- Fixes endianness issues.
- Implements remaining framebuffer formats in the debugger.
11 years ago
Yuri Kunde Schlesner 44f46254dc Merge pull request #622 from Subv/titles
Services/AM: Stubbed TitleIDListGetTotal and GetTitleIDList.
11 years ago
Subv 9a72fb79fc Services/AM: Stubbed TitleIDListGetTotal and GetTitleIDList.
They will always return 0 titles for every media type for now.
This is needed to boot Home Menu further
11 years ago
bunnei d175f2b7f3 Merge pull request #623 from Subv/card
Services/FS: Stubbed CardSlotIsInserted to always return false
11 years ago
bunnei 9a47eb117c Merge pull request #618 from lioncash/ref
result: Make comparison operators take references
11 years ago
bunnei 5d0e557689 Merge pull request #621 from Subv/power
Services/PTM: Stubbed PTM_Sysm::IsLegacyPowerOff.
11 years ago
Yuri Kunde Schlesner dc8a3f8bc8 Profiler: Implement QPCClock to get better precision on Win32
MSVC 2013 (at least) doesn't use QueryPerformanceCounter to implement
std::chrono::high_resolution_clock, so it has bad precision. Manually
implementing our own clock type using it works around this for now.
11 years ago
Yuri Kunde Schlesner cd1fbfcf1b Add profiling infrastructure and widget 11 years ago
Subv db1a5d4222 Services/FS: Stubbed CardSlotIsInserted to always return false
We won't be emulating this for the foreseeable future and it is needed for Home Menu to boot further
11 years ago
Subv c36778e602 Services/PTM: Stubbed PTM_Sysm::IsLegacyPowerOff.
This allows the Home Menu to boot further
11 years ago
archshift c1d29ac202 Merge pull request #616 from archshift/5551
Added RGBA5551 compatibility in the rasterizer
11 years ago
bunnei d362eb2669 Merge pull request #620 from lioncash/bkpt
arm_disasm: Show conditional code for BKPT instructions.
11 years ago
archshift 7f9ee69a2b Added RGBA5551 compatibility in the rasterizer
This allows Virtual Console games to display properly.
11 years ago
Lioncash 9ed3488925 arm_disasm: Show conditional code for BKPT instructions.
Changed cond_to_str to take a uint32, since unsigned numbers are only ever passed to it, and this can be a source of warnings for some compilers (also indexing an array without bounds checking a signed number is kind of iffy).
11 years ago
Lioncash 1a70782cda arm_disasm: Remove unused variable
Also declared an array as static, as it's only used in this translation unit.
11 years ago
Lioncash 99ff8bbb0c result: Make comparison operators take references
It's unnecessary to make copies for simple comparisons like this.
11 years ago
bunnei c9ef377afa Merge pull request #599 from Subv/morton
GPU: Implemented bits 3 and 1 from the display transfer flags.
11 years ago
Subv c564c21668 GPU: Implemented bits 3 and 1 from the display transfer flags.
Bit 3 is used to specify a raw copy, where no processing is done to the data, seems to behave exactly as a DMA.
Bit 1 is used to specify whether to convert from a tiled format to a linear format or viceversa.
11 years ago
Lioncash 8812d2fbdb arm: The CP15 Main ID register is not writeable 11 years ago
Yuri Kunde Schlesner ea3c99f3a2 Video core: Fix A4 texture decoding
It was trying to take the LSB from `coarse_x`, which would always be 0
and thus would always return the same texel from each byte. To add
insult to the injury, the conditional was actually the wrong way around
too.

Fixes blocky text in OoT.
11 years ago
Yuri Kunde Schlesner 1b5ee96797 Merge pull request #604 from Subv/arc_ssd
Archives: Properly implemented the SystemSaveData archive.
11 years ago
Yuri Kunde Schlesner 3c50da6fc0 Video core: Fix pixelation/blockiness in textures.
This was caused during morton decoding by me not masking the bits of
each coordinate before merging them, so the bits from x could set bits
in y if it was >255.
11 years ago
Subv 9db5c9b6dc Archives: Properly implemented the SystemSaveData archive.
Ported to the new factory pattern we have for archives.
11 years ago
bunnei f7c3193fec Merge pull request #575 from linkmauve/xdg
Switch to the XDG Base Directory Specification for directory selection
11 years ago
Lioncash 1bb400be1b arm: Remove unnecessary booleans
We don't care about any of these.
11 years ago
Emmanuel Gil Peyrot 129ad721c1 Common: Switch to the XDG Base Directory Specification for directory selection.
This allows for easily movable and independent configuration and data directories, using standardized paths.
11 years ago
bunnei 40d1f9045a Merge pull request #601 from Subv/y2r
Services: Implemented Y2R_U::GetTransferEndEvent
11 years ago
bunnei ed255ebaec Rasterizer: Add support for RGBA4 framebuffer format. 11 years ago
Subv ef66feaeba Services: Implemented Y2R_U::GetTransferEndEvent
Aero Porter was throwing an "Invalid Handle" fatal error without this.
11 years ago
bunnei 3700263f71 Merge pull request #595 from linkmauve/new-3ds-input
Frontends, HID: Add New 3DS specific pad buttons, and stub the touch one.
11 years ago
bunnei 50a0c4f14f Merge pull request #581 from archshift/tfe
Added information reporting from ThrowFatalError
11 years ago
Subv b1284222f2 GPU: Fixed RGBA8 as output format in a display transfer.
Verified with hwtests
11 years ago
archshift 0420a4d1de Added information reporting from ThrowFatalError
This was RE'd from the errdisp applet.
11 years ago
Emmanuel Gil Peyrot aa64f69af0 Frontends, HID: Add New 3DS specific pad buttons, and stub the touch one. 11 years ago
bunnei 89a71eb6a4 Merge pull request #471 from archshift/pp3ports3
GPU: Add support for more framebuffer formats in display transfers.
11 years ago
Tony Wasserka 23c6764b2b GPU: Add support for more framebuffer formats in display transfers. 11 years ago
bunnei 733c19ddd3 Rasterize with the correct color component order.
- Fixes a regression with #594.
11 years ago
bunnei dfe807b2cd Merge pull request #596 from kevinhartman/unaligned-cleanup
Clean up unaligned 32-bit memory reads
11 years ago
bunnei d120757f32 Merge pull request #594 from Subv/display_transfer
GPU: Fixed the RGBA8 input format and RGB8 output format
11 years ago
Tony Wasserka 34f21334ad Merge pull request #593 from Subv/search_problem
Pica/VertexShader: Fixed LOOP with more than one iteration.
11 years ago
Kevin Hartman 05c098a9e7 Cleaned up unaligned access. 11 years ago
Subv fbbfb52a2c GPU: Fixed the RGBA8 input format and RGB8 output format
in Display Transfers, tested with hwtests.
11 years ago
Subv 9a03e9c61d Pica/VertexShader: Fixed LOOP with more than one iteration.
Previously it wouldn't jump back to the start of the loop code once it reached the end of the block.
Fixes the texture problems in a lot of games.
11 years ago
Kevin Hartman a6fdb8f217 Fix error message for bad config block request. 11 years ago
Emmanuel Gil Peyrot 54d6f6c82b Common: Change names containing “Dolphin” or “PPSSPP” to something more generic. 11 years ago
bunnei 5f9939070e Merge pull request #588 from archshift/somebranch
Sweeping cleanup of Common
11 years ago
archshift 4fb75d220a Misc cleanup of common and related functions 11 years ago
archshift 302f0b32f5 Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.h 11 years ago
bunnei c7d1480ece Merge pull request #587 from archshift/assert
Convert a few C stdlib asserts to Citra's own asserts
11 years ago
archshift 49f94b82b4 Remove "super lame/broken" file_search compilation unit that was leftover from Dolphin 11 years ago
archshift 961f65d1fe Remove redundant utf8 compilation unit that was leftover from Dolphin 11 years ago
archshift 9f7f1a2272 Remove useless extended_trace compilation unit that was leftover from Dolphin 11 years ago
archshift 5efd149ad5 Remove the useless msg_handler compilation unit that was left over from Dolphin 11 years ago
archshift 3c48697ea3 Convert a few C stdlib asserts to Citra's own asserts 11 years ago
Subv 5410367ebf Rasterizer: Fixed a warning in GetWrappedTexCoord.
Redeclaring the variable inside the switch was causing weird behavior.
11 years ago
bunnei ec8f2210e3 Merge pull request #580 from lioncash/emplace
core/video_core: Use in-place construction where possible
11 years ago
Tony Wasserka 2eee3a87f9 Pica/Rasterizer: Replace exit() calls with UNIMPLEMENTED(). 11 years ago
Tony Wasserka 6e5a903286 Pica/Rasterizer: Make some local lambdas static. 11 years ago
Tony Wasserka 1561204342 Pica/BlendUnit: Implement separate color/alpha blend equations. 11 years ago
Tony Wasserka 81ebb4d682 Pica/TextureEnvironment: Add a note. 11 years ago
Tony Wasserka e11fb96408 Pica/TextureEnvironment: Treat texture combiner source 1 as the PrimaryColor.
Not really sure where the difference is, but some applications seem to use this 1:1 the same way...
11 years ago
Tony Wasserka 04cd06d5c2 Pica/TextureEnvironment: Add support for the MAD-like texture combiners and clean up texture environment logic. 11 years ago
Tony Wasserka 087edcfbec Pica/OutputMerger: Fix flipped framebuffers. 11 years ago
Tony Wasserka 6ca752ccbc Pica/TextureUnit: Implement mirrored repeating texture wrapping. 11 years ago
Tony Wasserka 8bd7a896ea Pica: Fix a bug in the register definitions, relating to texture wrapping. 11 years ago
Tony Wasserka aaf30ca4ee Pica/OutputMerger: Implement color format checking. 11 years ago
Tony Wasserka 3b5710bae6 Pica/Rasterizer: Rasterize actual pixel centers instead of pixel corners. 11 years ago
Tony Wasserka 3cb22d31a7 Pica/Rasterizer: Fix garbage pixels at triangle borders. 11 years ago
Tony Wasserka 638b370fb5 Pica/Rasterizer: Clean up and fix backface culling. 11 years ago
Tony Wasserka 365236fa4c Pica: Cleanup clipping code and change screenspace z to range from -1..0.
The change in depth range seems to reflect better to what applications are expecting, and makes for cleaner code overall (hence is more likely to reflect hardware behavior).
11 years ago
Tony Wasserka 70a764d992 Pica/VertexShader: Implement the LOOP instruction. 11 years ago
Tony Wasserka 6c26ec72a5 Pica/CommandProcessor: Properly implement shader load destination offset registers. 11 years ago
Tony Wasserka 67120270f2 Pica/CommandProcessor: Work around initialized vertex attributes some more. 11 years ago
Tony Wasserka 0da6a7e234 GPU: Properly implement memory fills. 11 years ago
bunnei 745b42d236 Merge pull request #570 from purpasmart96/config_mem
ConfigMem: Clean up the Config memory to be more like the shared page
11 years ago
bunnei 8e731b129d Merge pull request #582 from lioncash/warnings
vfpinstr: Fix trivial signed/unsigned mismatch warnings
11 years ago
bunnei 60f9cd6a4a Merge pull request #579 from lioncash/bkpt
dyncom: Support conditional BKPT instructions
11 years ago