Subv
4f329607fd
Corrected a bunch of stuff.
2016-01-01 09:42:14 -05:00
Subv
f6a98d429a
Fixed some conditions.
2016-01-01 09:42:13 -05:00
Subv
58649e671f
memcmp instead of strcmp
2016-01-01 09:42:12 -05:00
Subv
2e4730a3cc
Properly relocate all offsets at the start.
...
Handle some errors.
2016-01-01 09:42:12 -05:00
Subv
bab307b1f4
Some more work
2016-01-01 09:42:11 -05:00
Subv
e77943c7de
Fixed a type bug
2016-01-01 09:42:11 -05:00
Subv
e72867b819
Fixed build and a bug
2016-01-01 09:42:10 -05:00
Subv
91318a33b9
some changes
2016-01-01 09:42:09 -05:00
Subv
bb29ac7a26
fixed a bug when retroactively applying unk2 patches
2016-01-01 09:42:09 -05:00
Subv
bb58f2d1dd
Services/LDR: Updated the code after the latest rebase.
...
Mario & Luigi Dream Team boots now!
Pokemon X still doesn't boot.
2016-01-01 09:42:08 -05:00
Subv
e5a7321927
Log the load bases
2016-01-01 09:42:07 -05:00
Subv
d2d9709ea8
Link the previous and current CRO by their link members.
2016-01-01 09:42:07 -05:00
Subv
74d1553d85
Services/LDR: Initial CRO support.
...
Lots of unks
2016-01-01 09:42:06 -05:00
bunnei
085c8f2987
Merge pull request #1310 from lioncash/services
...
services: Update some function tables
2015-12-30 21:30:07 -05:00
bunnei
54bdba750a
Merge pull request #1316 from lioncash/decode
...
arm_dyncom_dec: Fix decoding of VMLS
2015-12-30 21:29:35 -05:00
Lioncash
532dc797c9
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)
2015-12-30 14:23:07 -05:00
Lioncash
744f4af3ab
services: Update some function tables
2015-12-30 11:29:21 -05:00
Lioncash
5e17a586da
video_core: Make the renderer global a unique_ptr
2015-12-30 08:52:01 -05:00
bunnei
4bc961d5fd
Merge pull request #1306 from Subv/sync
...
HLE/Timers: Reset OneShot timers when they are acquired instead of when they're triggered
2015-12-29 22:36:29 -05:00
bunnei
8a24214b46
Merge pull request #1303 from lioncash/unique
...
core: Use unique_ptr for holding the interpreter instances
2015-12-29 22:34:32 -05:00
Subv
6cccc36505
HLE/Timers: Reset OneShot timers when they are acquired instead of when they're triggered.
...
Closes #1139
2015-12-29 20:35:25 -05:00
Lioncash
97dc9634a2
swrasterizer: Add missing override specifier
2015-12-29 18:35:38 -05:00
Lioncash
cee8df6ff0
core: Use unique_ptr for holding the interpreter instances
2015-12-29 18:03:08 -05:00
bunnei
73740d74ed
Merge pull request #1300 from Subv/arbitrateaddress
...
SVC: Fixed ArbitrateAddress to behave as it does on hardware.
2015-12-28 22:23:51 -05:00
Lioncash
fddfe946c8
dyncom: Handle modifying the APSR via an MRC instruction
2015-12-28 07:52:04 -05:00
Subv
29032ce9b6
SVC: Fixed ArbitrateAddress to behave as it does on hardware.
...
This was verified with hwtests that i plan to upload later on.
2015-12-27 18:44:42 -05:00
bunnei
8f39297c53
Merge pull request #1296 from lioncash/warn
...
svc: Remove superfluous printf argument
2015-12-27 16:19:48 -05:00
bunnei
40599c24ea
Merge pull request #1290 from LFsWang/master
...
Add a return value in ForeachDirectoryEntry
2015-12-27 16:18:43 -05:00
Lioncash
270cbb0119
svc: Remove superfluous printf argument
2015-12-25 14:21:45 -05:00
Mathew Maidment
031443199b
Merge pull request #1287 from lioncash/memory
...
dyncom: Minor changes
2015-12-23 04:56:04 -05:00
LFsWang
8376821776
Add missing return values in ForeachDirectoryEntry
...
ForeachDirectoryEntry is changed by #1256 ,but return value at last line
was missing.
2015-12-23 16:26:38 +08:00
Lioncash
d09b7a3c12
dyncom: Remove PC dispatch from several instructions
...
These instructions aren't capable of using the PC as a destination
2015-12-20 21:19:02 -05:00
Yuri Kunde Schlesner
015d7b9779
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.
2015-12-20 17:37:15 -08:00
Lioncash
5a531d7ec2
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
2015-12-19 19:05:50 -05:00
Lioncash
84afaaa10c
svc: Fix compilation with LOG_TRACE enabled
2015-12-12 18:14:36 -05:00
Yuri Kunde Schlesner
402692c08d
Merge pull request #1267 from yuriks/flipped-framebuffer
...
OpenGL: Flip framebuffers during transfer rather than when rendering
2015-12-09 20:35:15 -08:00
bunnei
3013f26d70
Merge pull request #1269 from Subv/triangle_fan
...
GPU/PrimitiveAssembler: Fixed drawing triangle fans.
2015-12-08 10:27:40 -05:00
Yuri Kunde Schlesner
31764c48fb
Merge pull request #1272 from yuriks/merge-rasterizer
...
VideoCore: Unify interface to OpenGL and SW rasterizers
2015-12-07 20:21:06 -08:00
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.
2015-12-07 20:20:38 -08:00
Yuri Kunde Schlesner
03835d04f4
VideoCore: Rename HWRasterizer methods to be less confusing
2015-12-06 19:08:37 -08:00
Yuri Kunde Schlesner
da80ece8b9
OpenGL: Rename cache functions to better match what they actually do
2015-12-06 17:02:52 -08:00
Lioncash
56e22e6aac
dyncom: Remove static keyword from header functions
2015-12-06 15:14:51 -05:00
Lioncash
1ea0702eaa
arm_interface: Make GetNumInstructions const
2015-12-06 15:07:59 -05:00
Lioncash
de9a625c7e
arm_interface: directly initialize class members
2015-12-06 15:07:00 -05:00
Lioncash
d03e7f08ff
dyncom: const correctness changes
2015-12-06 15:03:06 -05:00
Subv
7b33e163b9
GPU/PrimitiveAssembler: Fixed drawing triangle fans.
...
It was skipping the second vertex assignment and using uninitialized garbage when assembling the corresponding triangle.
2015-12-06 10:48:05 -05:00
Yuri Kunde Schlesner
cf81e08389
OpenGL: Flip framebuffers during transfer rather than when rendering
2015-12-04 22:23:39 -08:00
Yuri Kunde Schlesner
95dbc6eb0e
OpenGL: Add support for glFrontFace in the state tracker
2015-12-04 21:58:26 -08:00
bunnei
87df493b5b
Merge pull request #1252 from Subv/cam
...
Services/Cam: Added new log type and camera enums from 3dbrew.
2015-12-03 22:01:45 -05:00
Yuri Kunde Schlesner
e9c209ccc8
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 .
2015-11-30 22:45:18 -08:00