summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-28Merge pull request #1301 from lioncash/mrc-apsrMathew Maidment
dyncom: Handle modifying the APSR via an MRC instruction
2015-12-28dyncom: Handle modifying the APSR via an MRC instructionLioncash
2015-12-27Merge pull request #1296 from lioncash/warnbunnei
svc: Remove superfluous printf argument
2015-12-27Merge pull request #1290 from LFsWang/masterbunnei
Add a return value in ForeachDirectoryEntry
2015-12-25svc: Remove superfluous printf argumentLioncash
2015-12-23Merge pull request #1287 from lioncash/memoryMathew Maidment
dyncom: Minor changes
2015-12-23Add missing return values in ForeachDirectoryEntryLFsWang
ForeachDirectoryEntry is changed by #1256 ,but return value at last line was missing.
2015-12-20dyncom: Remove PC dispatch from several instructionsLioncash
These instructions aren't capable of using the PC as a destination
2015-12-20Merge pull request #1289 from yuriks/reset-rasterizerYuri Kunde Schlesner
VideoCore: Sync state after changing rasterizers
2015-12-20VideoCore: Sync state after changing rasterizersYuri Kunde Schlesner
This fixes various bugs that appear in the HW rasterizer after switching between it and the SW one during emulation.
2015-12-19dyncom: Handle unprivileged load/store variants correctlyLioncash
LDRT/LDRBT/STRBT/STRT should simulate the load or store as if the host CPU is in user mode. STRT is also allowed to use the PC as an operand
2015-12-13Merge pull request #1281 from lioncash/compileYuri Kunde Schlesner
svc: Fix compilation with LOG_TRACE enabled
2015-12-12svc: Fix compilation with LOG_TRACE enabledLioncash
2015-12-09Merge pull request #1267 from yuriks/flipped-framebufferYuri Kunde Schlesner
OpenGL: Flip framebuffers during transfer rather than when rendering
2015-12-08Merge pull request #1269 from Subv/triangle_fanbunnei
GPU/PrimitiveAssembler: Fixed drawing triangle fans.
2015-12-07Merge pull request #1272 from yuriks/merge-rasterizerYuri Kunde Schlesner
VideoCore: Unify interface to OpenGL and SW rasterizers
2015-12-07VideoCore: Unify interface to OpenGL and SW rasterizersYuri Kunde Schlesner
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.
2015-12-07Merge pull request #1271 from lioncash/dyncom-miscbunnei
dyncom: Miscellaneous minor changes
2015-12-06VideoCore: Rename HWRasterizer methods to be less confusingYuri Kunde Schlesner
2015-12-06OpenGL: Rename cache functions to better match what they actually doYuri Kunde Schlesner
2015-12-06dyncom: Remove static keyword from header functionsLioncash
2015-12-06arm_interface: Make GetNumInstructions constLioncash
2015-12-06arm_interface: directly initialize class membersLioncash
2015-12-06dyncom: const correctness changesLioncash
2015-12-06GPU/PrimitiveAssembler: Fixed drawing triangle fans.Subv
It was skipping the second vertex assignment and using uninitialized garbage when assembling the corresponding triangle.
2015-12-04OpenGL: Flip framebuffers during transfer rather than when renderingYuri Kunde Schlesner
2015-12-04OpenGL: Add support for glFrontFace in the state trackerYuri Kunde Schlesner
2015-12-03Merge pull request #1252 from Subv/cambunnei
Services/Cam: Added new log type and camera enums from 3dbrew.
2015-12-01Merge pull request #1261 from yuriks/tev-buffer-delaybunnei
PICA: Properly emulate 1-stage delay in the combiner buffer
2015-11-30PICA: Properly emulate 1-stage delay in the combiner bufferYuri Kunde Schlesner
This was discovered and verified by @fincs. The tev combiner buffer actually lags behind by one stage, meaning stage 1 reads the initial color, stage 2 reads stage 0's output, and so on. Fixes character portraits in Fire Emblem: Awakening and world textures in Zelda: ALBW. Closes #1140.
2015-11-30Merge pull request #1257 from yuriks/svcGetSystemInfoYuri Kunde Schlesner
Kernel: Implement svcGetSystemInfo
2015-11-30Kernel: Implement svcGetSystemInfoYuri Kunde Schlesner
This makes smealum/ctrulib@b96dd51d3349961189d4ab1bc2a5c45deff21c09 work with Citra.
2015-11-29Merge pull request #1259 from lioncash/zeroMathew Maidment
armstate: Zero out the registers on creation
2015-11-29armstate: Zero out the registers on creationLioncash
std::array isn't always guaranteed to explicitly zero out it's contents without an initializer list.
2015-11-29Core/ARM11: Correct the size of the VFP register array in the ThreadContext ↵Subv
structure. The VFP registers are 64 bits each, and there are 32 of them.
2015-11-28Merge pull request #1225 from lioncash/cleanbunnei
csnd_snd: Get rid of type punning
2015-11-28Merge pull request #1256 from archshift/refactor-scandirbunnei
Refactor ScanDirectoryTreeAndCallback to separate errors and retvals
2015-11-27Refactor ScanDirectoryTreeAndCallback to separate errors and retvalsarchshift
ScanDirectoryTreeAndCallback, before this change, coupled error/return codes and actual return values (number of entries found). This caused confusion and difficulty interpreting the precise way the function worked. Supersedes, and closes #1255.
2015-11-25Merge pull request #1254 from bunnei/fix-gl-uniformsbunnei
renderer_opengl: Fix uniform issues with #1253
2015-11-25renderer_opengl: Fix uniform issues introduced with ↵bunnei
kemenaran/avoid-explicit-uniform-location.
2015-11-25Merge pull request #1253 from kemenaran/avoid-explicit-uniform-locationbunnei
Use regular uniform location
2015-11-25Use regular uniform locationPierre de La Morinerie
The support for GL_ARB_explicit_uniform_location is not that good (53% according to http://feedback.wildfiregames.com/report/opengl/feature/GL_ARB_explicit_uniform_location). This fix the shader compilation on Intel HD 4000 (#1222).
2015-11-24Merge pull request #1248 from polaris-/add-ssl-stubsbunnei
Add stub functions for Initialize and GenerateRandomData in ssl:C
2015-11-23Services/Cam: Added new log type and camera enums from 3dbrew.Subv
Followup to #1102 Original author @mailwl
2015-11-22Add stub functions for Initialize and GenerateRandomData in ssl:Cpolaris-
2015-11-22Merge pull request #1246 from polaris-/patch-1bunnei
Fix read and write register blocks in gdbstub
2015-11-22Merge pull request #1247 from polaris-/add-ssl-stubsbunnei
Add Initialize and GenerateRandomData function names to ssl:C
2015-11-22Add Initialize and GenerateRandomData stubspolaris-
2015-11-22Fix read and write register blocks in gdbstubpolaris-
Previously, the padding wasn't correctly accounted for which caused the gdbstub to read and write everything after R15 (starting with the dummy FPA registers) incorrectly, which caused CPSR to not be handled correctly. Everything appears to be working as expected with this change.
2015-11-18Merge pull request #1237 from Subv/ubosbunnei
Shaders: Use UBOs instead of individual uniforms in the generated frag shaders