Michael Yu
2834697f1f
MEMORY: Copy from real's destination parameter should be immutable
2014-05-19 02:23:22 -07:00
Michael Yu
346614b0da
gitignore now ignores files generated by visual studio profiler, solution configured for profiling.
2014-05-19 02:23:22 -07:00
raven02
c2f3f04808
Add support for m_surface_depth_format 0
2014-05-19 15:43:41 +08:00
Michael Yu
9e791da7bd
virtual memory block reads/writes properly fail if address is out of bounds.
...
Fixes Solar v2.1 http://puu.sh/8ScXK.jpg
2014-05-18 23:12:28 -07:00
Alexandro Sánchez Bach
0d0df4b491
Merge pull request #247 from unknownbrackets/texformats
...
Implement more texture formats per the test
2014-05-19 00:52:20 +02:00
Unknown W. Brackets
7948f376fb
GL: Fix the compressed R8B8 / B8R8 type formats.
...
The not-swizzled bit is always set for them.
2014-05-18 15:24:12 -07:00
Unknown W. Brackets
612e515317
GL: Fix X16 / Y16_X16 texture formats.
...
Per the rsx/texture_formats test. Not sure about pitch, may need to deal
with UNPACK_ROW_LENGTH...
2014-05-18 14:39:04 -07:00
Unknown W. Brackets
06c4c45200
GL: Fix half-float texture formats.
...
This matches the ps3 output/channels for these textures per the
rsx/texture_formats test.
2014-05-18 14:22:05 -07:00
Alexandro Sánchez Bach
4f63f57d26
Merge pull request #246 from Blaypeg/master
...
Explicit conversion to avoid compiler warning (2)
2014-05-18 15:05:06 +02:00
Blaypeg
5e36362a4c
int ->size_t
2014-05-18 13:28:11 +01:00
Alexandro Sánchez Bach
b4a7684344
Check pointers in cellPamf
2014-05-18 12:46:01 +02:00
B1ackDaemon
9e7f8564b6
Merge pull request #244 from raven02/patch-6
...
Fix wrong color effect in Disgaea 3
2014-05-18 11:08:17 +03:00
B1ackDaemon
1a6fa4aedc
Merge pull request #243 from unknownbrackets/texformats
...
Swap R/B in a few other texture formats
2014-05-18 11:08:12 +03:00
B1ackDaemon
be11bd85f6
Merge pull request #242 from unknownbrackets/pngdec
...
cellPngDec: Ignore bytesPerLine < width * bpp
2014-05-18 11:08:05 +03:00
raven02
c8e52a78f9
Fix wrong color effect in Disgaea 3
2014-05-18 14:57:56 +08:00
Unknown W. Brackets
07505aa9e2
GL: Fix D1R5G5B5 texture R/B components as well.
2014-05-17 23:14:42 -07:00
Unknown W. Brackets
7992115f6c
GL: Swap R/B in A1R5G5B5 correctly.
...
Fixes Terraria, thanks @raven02. How did I miss this, it was not passing
the test after all...
2014-05-17 23:06:26 -07:00
Unknown W. Brackets
fed2998d48
cellPngDec: Ignore bytesPerLine < width * bpp.
...
It seems strange, but Sonic CD passes bytesPerLine = w * 3 for a 4 channel
image. Either this is a bug elsewhere, or it ignores likely incorrect
strides.
Untested except in Sonic CD.
2014-05-17 22:32:11 -07:00
B1ackDaemon
c0f55ae1e7
Merge pull request #241 from unknownbrackets/texformats
...
Add a few more texformats, fix cellPngDec
2014-05-18 02:19:30 +03:00
Unknown W. Brackets
c8dea6b931
Typo.
2014-05-17 15:38:13 -07:00
Unknown W. Brackets
28b10157ad
GL: Add Y16_X16 tex format (untested.)
2014-05-17 14:49:23 -07:00
Unknown W. Brackets
439dd9d8a3
GL: Add Y16_X16_FLOAT tex format (untested.)
2014-05-17 14:49:22 -07:00
Unknown W. Brackets
cf0e116a56
GL: Add R8B8_R8G8 / B8R8_G8R8 formats, tweak G8B8.
...
Based on how the first two swizzle, most likely G8B8 works that way too.
2014-05-17 14:49:22 -07:00
Alexandro Sánchez Bach
0e3e4c7553
Merge pull request #236 from unknownbrackets/pngdec
...
cellPngDec: fix outputMode, outputBytesPerLine
2014-05-17 21:48:16 +02:00
Alexandro Sánchez Bach
921de12d93
Merge pull request #238 from unknownbrackets/texformats
...
Correct various texture formats in OpenGL
2014-05-17 20:56:29 +02:00
Unknown W. Brackets
dbcee43567
Typo.
2014-05-17 11:32:18 -07:00
Unknown W. Brackets
b58320d7dc
GL: Small simplification.
2014-05-17 11:29:49 -07:00
Unknown W. Brackets
0978a1348e
GL: Correct byteswapping for 565 type textures.
2014-05-17 11:15:26 -07:00
Unknown W. Brackets
86d35d58df
GL: Add support for R6G5B5.
2014-05-17 11:15:26 -07:00
Unknown W. Brackets
2f8e31cddd
GL: support the G8B8 tex format.
2014-05-17 11:15:25 -07:00
Unknown W. Brackets
68bc41b436
GL: Correct texture reswizzling, fix A4R4G4B4.
2014-05-17 11:15:25 -07:00
Alexandro Sánchez Bach
ac65af7b62
Merge pull request #237 from raven02/patch-5
...
Fix wrong type for DEPTH24_D8/DEPTH16
2014-05-17 19:19:55 +02:00
raven02
ccc35176f6
Fix wrong type for DEPTH24_D8/DEPTH16
2014-05-18 00:52:48 +08:00
Unknown W. Brackets
f7114cc620
cellPngDec: fix outputMode, outputBytesPerLine.
...
This handles CELL_PNGDEC_BOTTOM_TO_TOP and also handles reduced
outputBytesPerLine more correctly-looking. Not actually tested against
actual behavior.
2014-05-17 09:21:25 -07:00
Alexandro Sánchez Bach
d745a7bb4e
Implemented CELL_GCM_TEXTURE_D1R5G5B5
...
Same color issue as A1R5G5B5 though.
2014-05-17 17:17:41 +02:00
B1ackDaemon
1f465bc7d8
Merge pull request #235 from raven02/patch-4
...
Implement CELL_GCM_TEXTURE_A1R5G5B5 & CELL_GCM_TEXTURE_A4R4G4B4
2014-05-17 12:22:58 +03:00
B1ackDaemon
389e3bbd91
Merge pull request #233 from raven02/patch-3
...
Fix CELL_GCM_TEXTURE_B8 opengl error 0x0500
2014-05-17 12:22:45 +03:00
B1ackDaemon
a3a6a8a9e0
Merge pull request #232 from raven02/patch-2
...
Fix ternary operator
2014-05-17 12:22:35 +03:00
B1ackDaemon
36d5cf1a7f
Merge pull request #231 from raven02/patch-1
...
Set default off for WriteColorBuffers / DepthBuffers
2014-05-17 12:22:27 +03:00
B1ackDaemon
a33e4c7346
Merge pull request #230 from raven02/master
...
Use GL_BGRA for glReadPixels()
2014-05-17 12:22:12 +03:00
raven02
0d9de89a26
Implement CELL_GCM_TEXTURE_A1R5G5B5 & CELL_GCM_TEXTURE_A4R4G4B4
2014-05-17 17:00:25 +08:00
raven02
ddfdaa270e
Set default on for Ignore RW errors
...
This seems to be making couples of games at least not booting without the option ticking.
2014-05-17 10:03:21 +08:00
raven02
e7a4eac676
Typo fix
2014-05-17 01:44:13 +08:00
raven02
ca7c4e119e
Fix CELL_GCM_TEXTURE_B8 opengl error 0x0500
2014-05-17 01:27:55 +08:00
raven02
86ca4819ee
Fix ternary operator
2014-05-16 22:43:32 +08:00
raven02
8278c8f5c4
Set default off for WriteColorBuffers / DepthBuffers
2014-05-16 21:29:34 +08:00
raven02
20af7c4981
Log lvl -> Log Level
2014-05-16 21:27:14 +08:00
raven02
f5e1d9eab1
Use GL_BGRA for glReadPixels()
2014-05-16 15:13:34 +08:00
Alexandro Sánchez Bach
68b0f800ff
Merge pull request #228 from raven02/patch-1
...
Add few more texture formats and comments
2014-05-15 18:15:37 +02:00
raven02
42434adfaf
Add few more texture formats and comments
2014-05-15 22:29:55 +08:00