JamePeng
8d5a6110f7
Y2R: num_tiles should be allowed when its value is 128 ( #1669 )
10 years ago
Lioncash
c928b04eee
core/video_core: Make NumIds functions constexpr
10 years ago
Lioncash
39baad9926
core/video_core: Don't cast away const in subscript operators
Not to say these subscript operators aren't totally ugly as is.
10 years ago
Lioncash
bf76afc68d
renderer_base: Don't directly expose the rasterizer unique_ptr
There's no reason to allow direct access to the unique_ptr instance. Only
its contained pointer.
10 years ago
MerryMage
8b00954ec7
AudioCore: Skeleton Implementation
This commit:
* Adds a new subproject, audio_core.
* Defines structures that exist in DSP shared memory.
* Hooks up various other parts of the emulator into audio core.
This sets the foundation for a later HLE DSP implementation.
10 years ago
MerryMage
6c71858c5c
BitField: Make trivially copyable and remove assignment operator
10 years ago
Yuri Kunde Schlesner
195fedccf0
VideoCore: Unify interface to OpenGL and SW rasterizers
This removes explicit checks sprinkled all over the codebase to instead
just have the SW rasterizer expose an implementation with no-ops for
most operations.
10 years ago
Yuri Kunde Schlesner
03835d04f4
VideoCore: Rename HWRasterizer methods to be less confusing
10 years ago
Rohit Nirmal
32391cffdd
Silence -Wsign-compare warnings.
10 years ago
Lioncash
f87093686e
y2r: Give local variables an initial value
Keeps compilers/static analyzers quiet.
10 years ago
Yuri Kunde Schlesner
0fcabd2b11
Integrate the MicroProfile profiling library
This brings goodies such as a configurable user interface and
multi-threaded timeline view.
11 years ago
Yuri Kunde Schlesner
9ae5a09655
GPU: Implement TextureCopy-mode display transfers
Fixes glitchy garbage in Fire Emblem 3D scenes.
11 years ago
Lioncash
12a9e8502c
core: Fix missing prototype warnings
11 years ago
Subv
6c0ea5f5e8
Qt/GPU Breakpoints: Added three more breakpoint types:
* IncomingDisplayTransfer: Triggered just before a display transfer is performed.
* GSPCommandProcessed: Triggered right after a GSP command is processed.
* BufferSwapped: Triggered when the frames flip
11 years ago
Subv
63dbff9b1f
GPU/DisplayTransfer: Implemented bit 5 in the transfer flags.
It tells the GPU to not swizzle/de-swizzle the input during the transfer.
11 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).
11 years ago
Tony Wasserka
93d66475d4
GPU: Be robust against nullptr addresses; properly reset busy bits in the trigger registers.
11 years ago
Tony Wasserka
256bdfb579
HW: Fix a stupid issue which led to unknown register reads/writes.
11 years ago
aroulin
1f125a04c3
Y2R: Fix narrowing warning
11 years ago
Emmanuel Gil Peyrot
641e78bccf
GPU: Implement blended downscaling for display transfers.
11 years ago
Emmanuel Gil Peyrot
8ee814ec27
GPU: Use shifts instead of multiplications to calculate the actual size of the output.
11 years ago
Emmanuel Gil Peyrot
4964a359e1
Core: Cleanup hw includes.
11 years ago
Emmanuel Gil Peyrot
45c4781544
CitraQt: Cleanup includes.
11 years ago
Yuri Kunde Schlesner
3e6663da43
Y2R: Rework conversion process, enabling support for all formats
11 years ago
Lioncash
bbe4430922
hw: Fix mismatched Write call
11 years ago
archshift
76690392bf
Move video_core/color.h to common/color.h
11 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.
11 years ago
Emmanuel Gil Peyrot
b1503b2020
Remove every trailing whitespace from the project (but externals).
11 years ago
tfarley
05dc633a8c
OpenGL renderer
11 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.
11 years ago
Yuri Kunde Schlesner
17a8cae003
Memory: Add GetPhysicalPointer helper function
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
bunnei
57aaaf92db
HW: Properly initialize and shutdown all modules.
11 years ago
Lioncash
7da90dee42
gpu: Fix a missing format specifier
11 years ago
purpasmart96
198c0ddc72
Services: Stubs and minor changes
11 years ago
Subv
23b401c3ac
GPU/DisplayTransfer: Made the scaling bits a single 2bit value
Rephrased some comments.
11 years ago
Subv
fb8f47060b
GPU: Implemented the flip_data (bit 0) bit in display transfers.
11 years ago
bunnei
d61b26b79f
HID: Complete refactor of pad/touch input to fix threading issues.
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
Subv
1248e291f0
GPU: Added the stencil test structure to the Pica Regs struct.
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
archshift
041e99b613
Added LCD registers, and implementation for color filling in OGL code.
11 years ago
Subv
0abba5874c
GPU: Use the correct position for the finished bit in memory fills
11 years ago
Subv
a762f9c176
GPU: Corrected the 24 bit memory fills component order
11 years ago
archshift
47010fea31
Implement SetLcdForceBlack, move register enum to hw.h
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
archshift
7f9ee69a2b
Added RGBA5551 compatibility in the rasterizer
This allows Virtual Console games to display properly.
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
Subv
b1284222f2
GPU: Fixed RGBA8 as output format in a display transfer.
Verified with hwtests
11 years ago
Tony Wasserka
23c6764b2b
GPU: Add support for more framebuffer formats in display transfers.
11 years ago