Lioncash
e9114a6976
backend: defaulted move constructor/assignment
10 years ago
tfarley
958e67ab53
hwrasterizer: Use proper cached fb addr/size
10 years ago
Yuri Kunde Schlesner
e82e3f64fd
OpenGL: Downgrade GL_DEBUG_SEVERITY_NOTIFICATION to Debug logging level
The nVidia driver is *extremely* spammy on this category, sending a
message on every buffer or texture upload, slowing down the emulator and
making the log useless.
10 years ago
Lioncash
c731d31b7c
services: Get rid of unnecessary includes
10 years ago
Lioncash
9bcfc35ba0
services: Update function tables
10 years ago
MerryMage
e614492dca
Memory: Implement MMIO
10 years ago
Lioncash
15d0530902
color: Make trivial helpers constexpr
10 years ago
Lioncash
f290c57dee
elf: Don't cast away const
10 years ago
Lioncash
fa95cad2f9
key_map: Use std::tie for comparisons
10 years ago
Lioncash
4a87f38e9c
archive_backend: Remove unnecessary const from return types
This doesn't return by reference so const isn't really necessary
10 years ago
Yuri Kunde Schlesner
c922298b37
Debugger: Use 3dbrew names for GPU registers
This list was imported from the 3dbrew wiki page and is pretty much
complete.
10 years ago
Yuri Kunde Schlesner
b4c68589f6
Shader: Implement "invert condition" feature of IFU instruction
If the bit 0 of the JMPU instruction is set, then the jump condition
will be inverted. That is, a jump will happen when the boolean is false
instead of when it is true.
10 years ago
Yuri Kunde Schlesner
d1096d9adc
Shader JIT: Fix off-by-one error when compiling JMPs
There was a mistake in the JMP code which meant that one instruction at
the destination would be skipped when the jump was taken. This commit
also changes the meaning of the culprit parameter to make it less
confusing and avoid similar mistakes in the future.
10 years ago
tfarley
ee33d54b6f
hwrasterizer: Use depth offset
10 years ago
rob turner
0d435fe4d8
ARM_Disasm::DisassembleMemHalf: actually use width in determining opcode name
10 years ago
Lioncash
3b682a824e
command_processor: Get rid of variable shadowing
10 years ago
Subv
d9c4c1622f
HLE/SVC: Implement UnmapMemoryBlock.
This implementation will need to be (almost completely) changed when we implement multiprocess support.
10 years ago
archshift
b1ebd54cb6
Change default gameListRootDir from "" to "."
Not much thought went into that one...
10 years ago
archshift
8e9fde2828
Gamelist: supply default settings for QSettings config
10 years ago
Lioncash
49e3979ae6
arm_dyncom_dec: Fix decoding of VMLS
Previously, all VMLS variants would misdecode as CDP
(which isn't necessarily wrong in itself, however
VMLS has it's own label of execution)
10 years ago
Lioncash
58a100d3b7
services: Update some function tables
10 years ago
Lioncash
4dcc5fe6ab
video_core: Make the renderer global a unique_ptr
10 years ago
Subv
9aa852982f
HLE/Timers: Reset OneShot timers when they are acquired instead of when they're triggered.
Closes #1139
10 years ago
Lioncash
d70ea5b6aa
swrasterizer: Add missing override specifier
10 years ago
Lioncash
a64af28cf2
core: Use unique_ptr for holding the interpreter instances
10 years ago
Lioncash
39609e9d6e
dyncom: Handle modifying the APSR via an MRC instruction
10 years ago
Subv
a2c2b28b54
SVC: Fixed ArbitrateAddress to behave as it does on hardware.
This was verified with hwtests that i plan to upload later on.
10 years ago
Lioncash
4ab2d11182
svc: Remove superfluous printf argument
10 years ago
Subv
2e01b5d390
HLE/Sockets: Fixed the buffer offset in recvfrom.
Closes #1277
10 years ago
LFsWang
d8d9d5d916
Add missing return values in ForeachDirectoryEntry
ForeachDirectoryEntry is changed by #1256 ,but return value at last line
was missing.
10 years ago
Lioncash
0908f894ca
dyncom: Remove PC dispatch from several instructions
These instructions aren't capable of using the PC as a destination
10 years ago
Yuri Kunde Schlesner
b7109a1113
VideoCore: Sync state after changing rasterizers
This fixes various bugs that appear in the HW rasterizer after switching
between it and the SW one during emulation.
10 years ago
Lioncash
2f0474efa5
dyncom: Handle unprivileged load/store variants correctly
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
10 years ago
Lioncash
00ca148685
svc: Fix compilation with LOG_TRACE enabled
10 years ago
Yuri Kunde Schlesner
102d39fe20
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
192829165a
VideoCore: Rename HWRasterizer methods to be less confusing
10 years ago
Yuri Kunde Schlesner
c2526d440e
OpenGL: Rename cache functions to better match what they actually do
10 years ago
Lioncash
8813673601
dyncom: Remove static keyword from header functions
10 years ago
Lioncash
0f083bdf0f
arm_interface: Make GetNumInstructions const
10 years ago
Lioncash
dd441a3dd6
arm_interface: directly initialize class members
10 years ago
Lioncash
93cd3dccc5
dyncom: const correctness changes
10 years ago
Subv
c94a1a0375
GPU/PrimitiveAssembler: Fixed drawing triangle fans.
It was skipping the second vertex assignment and using uninitialized garbage when assembling the corresponding triangle.
10 years ago
Yuri Kunde Schlesner
30c70c905f
OpenGL: Flip framebuffers during transfer rather than when rendering
10 years ago
Yuri Kunde Schlesner
8e478d8b99
OpenGL: Add support for glFrontFace in the state tracker
10 years ago
Yuri Kunde Schlesner
7b9807c835
PICA: Properly emulate 1-stage delay in the combiner buffer
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 .
10 years ago
Yuri Kunde Schlesner
5bed732b03
Kernel: Implement svcGetSystemInfo
This makes smealum/ctrulib@b96dd51d3349961189d4ab1bc2a5c45deff21c09 work
with Citra.
10 years ago
Lioncash
af06eaf78d
armstate: Zero out the registers on creation
std::array isn't always guaranteed to explicitly zero out it's contents
without an initializer list.
10 years ago
Subv
a84d5aa51e
Core/ARM11: Correct the size of the VFP register array in the ThreadContext structure.
The VFP registers are 64 bits each, and there are 32 of them.
10 years ago
archshift
6e66a1244e
Refactor ScanDirectoryTreeAndCallback to separate errors and retvals
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 .
10 years ago
bunnei
4cbe626fc7
renderer_opengl: Fix uniform issues introduced with kemenaran/avoid-explicit-uniform-location.
10 years ago