summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-12-29core: Use unique_ptr for holding the interpreter instancesLioncash
2015-12-28Merge pull request #1300 from Subv/arbitrateaddressbunnei
SVC: Fixed ArbitrateAddress to behave as it does on hardware.
2015-12-28dyncom: Handle modifying the APSR via an MRC instructionLioncash
2015-12-27SVC: Fixed ArbitrateAddress to behave as it does on hardware.Subv
This was verified with hwtests that i plan to upload later on.
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-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-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-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-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-30Kernel: Implement svcGetSystemInfoYuri Kunde Schlesner
This makes smealum/ctrulib@b96dd51d3349961189d4ab1bc2a5c45deff21c09 work with Citra.
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-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-25renderer_opengl: Fix uniform issues introduced with ↵bunnei
kemenaran/avoid-explicit-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-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
2015-11-18FragShader: Use an UBO instead of several individual uniformsSubv
2015-11-12fix failure on gcc and clangwwylele
2015-11-12disable unary minus when the type is not signedwwylele
silent warning C4146 on msvc
2015-11-11Merge pull request #1122 from polaris-/gdbstubbunnei
gdbstub implementation
2015-11-09GPU/Loaders: Log an error when a loader tries to load from a component ↵Subv
beyond the available ones (12). Related to #1170
2015-11-03Fix bug with reading addresses and lengthspolaris-
2015-10-29Change headerspolaris-
2015-10-28csnd_snd: Get rid of type punningLioncash