Commit graph

3250 commits

Author SHA1 Message Date
Subv
073e01fa06 HLE/LDR: Clean up the code a little so we do not break the strict aliasing rules.
Still a work in progress.
2016-02-11 21:09:17 -05:00
Subv
d964ab667f Memory/Utils: Added a function to retrieve a string from emulated memory. 2016-02-11 21:09:17 -05:00
Subv
4b1ae3a24e Don't handle command 0x000902C2 2016-02-11 21:09:17 -05:00
Subv
f5060b43d8 Fixed the CRO linked list 2016-02-11 21:09:17 -05:00
Subv
300ae2cedd HLE/RO: Clear the dyncom instruction cache when we load a CRO 2016-02-11 21:09:04 -05:00
Subv
a59826a1c3 Some work towards unloading CROs 2016-02-11 21:05:17 -05:00
Subv
deded6f003 Corrected a bunch of stuff. 2016-02-11 21:05:17 -05:00
Subv
669596e99e Fixed some conditions. 2016-02-11 21:05:17 -05:00
Subv
d5781d39f9 memcmp instead of strcmp 2016-02-11 21:05:17 -05:00
Subv
e7862bc7a2 Properly relocate all offsets at the start.
Handle some errors.
2016-02-11 21:05:17 -05:00
Subv
882005cbf8 Some more work 2016-02-11 21:05:17 -05:00
Subv
81ae26ef6b Fixed a type bug 2016-02-11 21:05:17 -05:00
Subv
4caae2df5e Fixed build and a bug 2016-02-11 21:05:16 -05:00
Subv
5c343b6169 some changes 2016-02-11 21:05:16 -05:00
Subv
d091c3e4ec fixed a bug when retroactively applying unk2 patches 2016-02-11 21:05:16 -05:00
Subv
a43bcd3262 Services/LDR: Updated the code after the latest rebase.
Mario & Luigi Dream Team boots now!
Pokemon X still doesn't boot.
2016-02-11 21:05:16 -05:00
Subv
b79df70c8b Log the load bases 2016-02-11 21:05:16 -05:00
Subv
1108ea15ce Link the previous and current CRO by their link members. 2016-02-11 21:05:16 -05:00
Subv
8c8c98e919 Services/LDR: Initial CRO support.
Lots of unks
2016-02-11 21:05:16 -05:00
Subv
d0a52c783a HLE/FS: Corrected some style concerns. 2016-02-11 21:04:42 -05:00
Subv
1874676ec7 HLE/FS: Fixed creating the config savefile when it doesn't exist.
This fixes a regression.
2016-02-11 21:04:41 -05:00
Subv
cde2d945e2 HLE/FS: Implemented GetFormatInfo
Format information is currently only implemented for the ExtSaveData, SharedExtSaveData and SaveData archives, the information is stored in a file alongside the root folder of the archive.
2016-02-11 21:04:41 -05:00
Subv
9fc6246c61 HLE/FS: Don't return an error when deleting the ExtSaveData if it does not exist. 2016-02-11 21:04:41 -05:00
Subv
910871cc7c HLE/FS: Return the proper error codes when opening files. 2016-02-11 21:04:41 -05:00
Subv
4be40b7c81 HLE/FS: Fixed the OpenDirectory error code 2016-02-11 21:04:41 -05:00
Subv
f0c0da5b48 HLE/FS: Return the proper error codes on file Read/Write operations.
These operations are limited by the open flags specified while opening the file.
2016-02-11 21:04:41 -05:00
Subv
c68bf3936c HLE/FS: Corrected the error codes for DeleteFile 2016-02-11 21:04:41 -05:00
Subv
e6e217caa4 HLE/FS: Corrected the error codes for CreateFile 2016-02-11 21:04:41 -05:00
Subv
84e9c16131 HLE/FS: FS::CreateFile takes an u64 for the file size. 2016-02-11 21:04:41 -05:00
bunnei
f1d1049c4f Merge pull request #1264 from bunnei/fragment-lighting-hw
Fragment lighting support in the HW renderer
2016-02-05 21:49:44 -05:00
bunnei
19557aaab3 pica: Cleanup lighting register definitions and documentation. 2016-02-05 17:20:25 -05:00
bunnei
c4d318f691 gl_rasterizer: Use alignas(16) instead of explicit padding. 2016-02-05 17:20:24 -05:00
bunnei
aaa7beeda8 renderer_opengl: Use GLvec3/GLvec4 aliases for commonly used types. 2016-02-05 17:20:23 -05:00
bunnei
8e9318f20a gl_rasterizer: Fix issue with interpolation of opposite quaternions. 2016-02-05 17:20:23 -05:00
bunnei
b694423d09 pica_types: Fix typo in docstring. 2016-02-05 17:20:22 -05:00
bunnei
a949fd5f25 pica_types: Replace float24/20/16 with a template class. 2016-02-05 17:20:22 -05:00
bunnei
d171822dce command_processor: Add an assertion to ensure LUTs are not written past their boundaries. 2016-02-05 17:20:20 -05:00
bunnei
310a1c30ca gl_rasterizer: Remove unnecessary casts. 2016-02-05 17:20:19 -05:00
bunnei
c229503f4a gl_rasterizer: Fix PicaShaderConfig on GCC. 2016-02-05 17:20:19 -05:00
bunnei
9dfb223d26 gl_rasterizer: Initial implementation of bump mapping. 2016-02-05 17:20:19 -05:00
bunnei
449902b558 gl_shader_gen: Fix bug in LUT range (should within range [0, 255] not [0, 256]). 2016-02-05 17:20:17 -05:00
bunnei
348c9c9ff3 gl_shader_gen: Implement lighting red, green, and blue reflection. 2016-02-05 17:20:16 -05:00
bunnei
01b407638c gl_shader_gen: View should be normalized. 2016-02-05 17:20:15 -05:00
bunnei
c37de30cfc gl_shader_gen: Implement fragment lighting fresnel effect. 2016-02-05 17:20:13 -05:00
bunnei
0e67c21c9e gl_shader_gen: Implement fragment lighting specular 1 component. 2016-02-05 17:19:16 -05:00
bunnei
781b046579 gl_shader_gen: Add support for D0 LUT scaling. 2016-02-05 17:18:36 -05:00
bunnei
3d89dacd56 gl_shader_gen: Refactor lighting config to match Pica register naming.
- Also implement D0 LUT enable.
2016-02-05 17:17:35 -05:00
bunnei
6307999116 pica: Cleanup and add some comments to lighting registers. 2016-02-05 17:17:34 -05:00
bunnei
6878ba7608 gl_rasterizer: Minor naming refactor on Pica register naming. 2016-02-05 17:17:33 -05:00
bunnei
76f303538b gl_shader_gen: Reorganize and cleanup lighting code.
- No functional difference.
2016-02-05 17:17:33 -05:00