Commit Graph

808 Commits (ee7cfc71bd8663b77a43c5ba577074972d9b7ad9)
 

Author SHA1 Message Date
bunnei daa924b906 Merge pull request #31 from neobrain/gpu_framebuffer
GPU framebuffer emulation improvements
11 years ago
Tony Wasserka c131fb2c27 citra-qt: Show function names in disassembler based on bunnei's suggestion. 11 years ago
Tony Wasserka 456b9feb25 Disassembler: Chose slightly lower value for chunk size. 11 years ago
Tony Wasserka 9fd2537e93 Use uniform formatting when printing hexadecimal numbers. 11 years ago
Tony Wasserka afcb250b31 Fix a few warnings.
Templates shouldn't be marked as inline if they aren't defined in the header.
11 years ago
Tony Wasserka 2eb61dafc0 GPU: Clarify display transfer code.
Also makes the illogical component order more obvious.
11 years ago
Tony Wasserka 61e2ffd448 GPU: Add documentation. 11 years ago
Tony Wasserka 4b141791ed GSP: Add a few comments. 11 years ago
Tony Wasserka 9b0d0c81a0 GSP: Clean up GX command processing a lot and treat command id as a u8 rather than a u32.
Anonymous structs are not standard C++, hence don't use them.
11 years ago
Tony Wasserka 246cb75584 RegisterSet: Simplify code by using structs for register definition instead of unions. 11 years ago
Tony Wasserka 75775e9ef4 GPU: Make use of RegisterSet. 11 years ago
Tony Wasserka 357d893b26 GPU: Make framebuffer code format-aware. 11 years ago
Tony Wasserka c6fdeb7b23 Renderer: Fix component order in bottom framebuffer. 11 years ago
Tony Wasserka cb6f97b2eb Renderer: Respect the active_fb GPU register. 11 years ago
Tony Wasserka 9b96407e8e Renderer: Add a few TODOs. 11 years ago
Tony Wasserka 9d618d0b70 GPU: Interface cleanup. 11 years ago
Tony Wasserka 46950ee4de GPU: Initialize GPU registers to some sensible default state. 11 years ago
Tony Wasserka baf0aa04f5 GPU: Emulate memory fills. 11 years ago
Tony Wasserka 0b4055c152 GPU: Add proper framebuffer register handling. 11 years ago
Tony Wasserka bbc6f314eb GPU: Properly implement display transfers. 11 years ago
Tony Wasserka 16bbc4f81b GPU: Add display transfer configuration. 11 years ago
Tony Wasserka ec9511e1db GSP: HLE GXCommandId::SET_DISPLAY_TRANSFER and GXCommandId::SET_TEXTURE_COPY. 11 years ago
Tony Wasserka cb8f49b7ea GSP: Implement ReadHWRegs and WriteHWRegs properly. 11 years ago
Tony Wasserka 994d29f416 Use a more compatible choice of initial framebuffer addresses. 11 years ago
Tony Wasserka a4d89edd9b GPU debugger: Don't keep track of debugging data if no debugger views are active. 11 years ago
bunnei 97d47d55f3 Merge pull request #32 from yuriks/master
[build] Search for the git binary in the default msysgit install dir
11 years ago
bunnei f4f505c76c Merge pull request #33 from lioncash/redefs
core: Kill off type redefenitions in armdefs.h
11 years ago
Lioncash 8761461003 core: Kill off type redefenitions in armdefs.h 11 years ago
Yuri Kunde Schlesner 78eb8ba844 [build] Search for the git binary in the default msysgit install dir
The Git for Windows installer doesn't add the Git binaries to the path
by default. (Due to risk of conflicts with built-in windows commands.)
Unless you have configured your system specially this causes the
scm_rev_gen.js script to fail to find Git.  Added more paths to the
script so that it searches in the default msysgit installation
directory, eliminating the need to set the PATH for most environments.
11 years ago
Tony Wasserka b6213784a4 Merge pull request #30 from neobrain/bitfield_work
BitField additions and fixes
11 years ago
Tony Wasserka 0da8e2eacc BitField: Cast enum values to proper integer type. 11 years ago
Tony Wasserka cd1d5786d9 BitField: Add a static_assert.
Being able to store BitField within unions requires BitField to be of standard layout, which in turn is only given if the underlying type is also has standard layout.
11 years ago
Tony Wasserka 15ab5382a5 BitField: Delete copy assignment to prevent obscure bugs.
Cf. https://github.com/dolphin-emu/dolphin/pull/483
11 years ago
Tony Wasserka 47a001722d BitField: Add an explicit evaluation method.
Sometimes it can be beneficial to use this in places where an explicit cast needs to happen otherwise. By using the evaluation method, it's not necessary anymore to explicitly write the underlying type in this case.
11 years ago
bunnei 584f7aced5 Merge pull request #29 from bunnei/address-arbiters
Adds address arbiters to kernel HLE
11 years ago
bunnei 3eb89f3e98 Kernel: Added preliminary support for address arbiters.
AddressArbiter: Added documentation comment, fixed whitespace issue.

AddressArbiter: Fixed incorrect comment, reordered if-statement to be more clear.

SVC: Removed trailing whitespace.
11 years ago
bunnei ba840d3200 Thread: Added functions to resume threads from address arbitration.
Thread: Cleaned up arbitrate address functions.

Thread: Cleaned up ArbitrateAllThreads function.
11 years ago
bunnei 59f2750482 function_wrappers: Fixed incorrect wrapper, added another. 11 years ago
bunnei 6084084a5d Merge pull request #28 from bunnei/shared-memory
Shared memory - adds preliminary support for shared memory kernel objects and correct block mapping.
11 years ago
bunnei 7ff92c36ed SharedMemory: Updated MapSharedMemory to use an enum for permissions.
- Also added some safety checks to MapSharedMemory.
11 years ago
bunnei 882dc07929 Memory: Removed deprecated MapBlock_Shared function. 11 years ago
bunnei 7b7a435094 GSP: Fixed to use real shared memory object, various cleanups.
- Previously, used a hard-coded shared memory handle of 0x10002000 (as used by libctru homebrew)

GSP: Added name for shared memory.

GSP: Cleaned up assertion message.
11 years ago
bunnei e547128185 Kernel: Added support for shared memory objects.
SharedMemory: Added optional name field for tracking known objects.
11 years ago
bunnei 3013015a0c mem_map: Updated interface to expose template functions to other modules. 11 years ago
bunnei ad1adb2f92 Merge pull request #26 from bunnei/romfs-archive
Adds preliminary RomFS archive support
11 years ago
bunnei b70c4fb48e NCCH: Updated ExeFS memory allocation to be safer. 11 years ago
bunnei 542700ccb7 Archive: Added Init/Shutdown methods to reset kernel archive state. 11 years ago
bunnei 1099d83455 Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS virtual functions as "override". 11 years ago
bunnei 2d734bb6c5 Marked AppLoader_ELF, AppLoader_NCCH, and Archive_RomFS classes as "final" 11 years ago
bunnei 2c62d92551 Loader: Updated read methods to be const
- Required "file" handle to be made local and explicitly opened/closed as needed
11 years ago