Tony Wasserka
a664574ecb
Pica/VertexShader: Be robust against invalid inputs.
More specifically, this also fixes crashes by Citra trying to load a src2 register even if the current instruction does not use that.
11 years ago
Tony Wasserka
ad5db467d7
Pica/VertexShader: Clarify a comment.
11 years ago
Tony Wasserka
871418e62b
Pica/DebugUtils: Further cleanups to LookupTexture.
11 years ago
Tony Wasserka
88e9efe4b8
Pica/DebugUtils: Fix two warnings.
11 years ago
Tony Wasserka
6e275778c9
Pica/DebugUtils: Better document LookupTexture.
11 years ago
Tony Wasserka
e4e9710d18
Pica/Rasterizer: Get rid of C-style casts.
11 years ago
Tony Wasserka
d81370682f
Pica/DebugUtils: Make a number of variables static.
Makes for cleaner and faster code.
11 years ago
Tony Wasserka
6bd41de276
Pica/VertexShader: Cleanup flow control logic and implement CMP/IFU instructions.
11 years ago
Tony Wasserka
22afb9d830
Pica/VertexShader: Run instruction handlers according to the effective opcode.
This allows for proper emulation of the different CMP/LRP/MAD instructions.
11 years ago
Tony Wasserka
cd163fb59a
Pica/VertexShader: Implement MAX instructions.
11 years ago
Tony Wasserka
aff808b2fd
Pica: Add support for boolean uniforms.
11 years ago
Tony Wasserka
67618a2c55
Pica/VertexShader: Add support for MOVA, CMP and IFC.
11 years ago
Tony Wasserka
cb1804e0ab
Pica/VertexShader: Move code around a bit.
11 years ago
Tony Wasserka
b85524c760
Pica/VertexShader: Some cleanups using std::array.
11 years ago
Tony Wasserka
ce36ad454e
Pica/VertexShader: Support negating src2.
11 years ago
Tony Wasserka
cc5746abfe
Pica/DebugUtils: Replace duplicated SHBIN structures in favor of nihstro's ones.
11 years ago
Tony Wasserka
8ce1d32460
Pica/VertexShader: Remove (now) duplicated shader bytecode definitions in favor of nihstro's ones.
11 years ago
Tony Wasserka
79c29243ed
Pica/DebugUtils: Add an event triggered after loading a vertex.
11 years ago
Tony Wasserka
cd322e328e
Pica/PrimitiveAssembly: Implement triangle strips.
11 years ago
Tony Wasserka
346012f29e
Pica/CommandProcessor: Add a safety check for invalid (?) GPU configurations.
11 years ago
Tony Wasserka
1e960e9ee2
Pica/CommandProcessor: Fix vertex decoding if multiple memory areas are accessed for different attributes.
11 years ago
Tony Wasserka
1c972ef3b9
Add support for a ridiculous number of texture formats.
11 years ago
Tony Wasserka
40f123b7c0
Pica: Unify ugly address translation hacks.
11 years ago
Tony Wasserka
7e210e0229
Pica: Further improve Tev emulation.
11 years ago
Tony Wasserka
3df88d59b0
Pica: Merge texture lookup logic for DebugUtils and Rasterizer.
This effectively adds support for a lot texture formats in the rasterizer.
11 years ago
Tony Wasserka
0fba1d48a6
Pica: Implement texture wrapping.
11 years ago
Tony Wasserka
c81f1a9ebc
Pica/DebugUtils: Add support for RGBA8, RGBA5551, RGBA4 and A8 texture formats.
11 years ago
Tony Wasserka
782592e6d3
citra-qt: Fix invalid memory read upon program startup.
This was caused by the framebuffer display widget not checking whether we are actually in a valid emulation state or not.
11 years ago
Tony Wasserka
fd2539121c
Pica: Initial support for multitexturing.
11 years ago
Tony Wasserka
95be6a09b2
BitField: Add an explicit Assign method.
This is useful when doing crazy stuff like inheriting from BitField.
11 years ago
Tony Wasserka
8cd0d9c000
citra-qt: static-constify a map.
11 years ago
Chin
e795692614
Clean up some warnings
11 years ago
Yuri Kunde Schlesner
82528ba7df
Common: Add a clone of std::make_unique
11 years ago
Subv
fc73bef692
FS_U: Added the command to the docs of SaveData functions
11 years ago
chinhodado
d31c23e958
Properly erase/remove an observer
11 years ago
purpasmart96
b2c64eb5ff
GSP_GPU: Shut up FlushDataCache
11 years ago
Subv
78e0f36857
SystemSaveData: Fixed a typo that was segfaulting
11 years ago
Subv
f9472eda0a
SystemSaveData: Added a TODO to move it to the NAND.
Maybe sometime when we actually implement that
11 years ago
Lioncash
e683f654ce
armemu: Fix lower-bounds clamping for USAT16
11 years ago
Subv
77f0cdfaf4
SaveData: Added some documentation to FormatSaveData
We still don't know what the other parameters do, but they appear to be very similar to those of FormatThisUserSaveData.
Most likely FormatThisUserSaveData is just an alias for FormatSaveData with LowPathType Empty
11 years ago
Lioncash
6b632bbe37
armemu: More concise names for USAT16-related variables
11 years ago
Lioncash
eaae0ad502
armemu: Get rid of bitwise parenthesis warnings
11 years ago
Lioncash
4dc8eb40be
armemu: Set GE flags correctly for SSUB16, SADD16, SSAX, and SASX.
11 years ago
Subv
bec527fa24
SaveData: Implemented the SystemSaveData archive.
It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service.
11 years ago
Lioncash
85c318078d
armemu: Combine SSUB16, SADD16, SASX, and SSAX.
11 years ago
Subv
ea9ce0fba7
Filesystem/Archives: Implemented the SaveData archive
The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information
Got rid of the code duplication in File and Directory
Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive.
FS_U: Use the correct error code when a file wasn't found
11 years ago
Lioncash
41fee1c940
armemu: Unset GE flags for UADD8 if results are < 0x100
Reference manual states these must be set to zero if this case is true.
11 years ago
Lioncash
58dc554733
armemu: Fix SSUB16
Broken from the same reason SADD16 was.
The lo part of the result should only be constructed from the lo halfwords of rm and rn.
The hi part of the result should only be constructed from the hi halfwords of rm and rn.
11 years ago
Lioncash
5820dba6b7
armemu: Implement UMAAL
11 years ago
Lioncash
2d91164bb9
armemu: Narrow the scope of some variables in handle_v6_insn
There's no reason to have these in the outer-most scope.
11 years ago