68 Commits

Author SHA1 Message Date
Henrik Rydgård
0df2a40487 Remove the "GPUInterface" base class. Not really useful, GPUCommon is pretty much the same thing. 2024-12-02 11:12:14 +01:00
Herman Semenov
3c66f149d3 [Common/Core/Windows] Removed excess check pointer before delete or free() 2024-09-17 11:34:42 +02:00
Henrik Rydgård
e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Unknown W. Brackets
ca4a0a848a Font: Fix bad memory read on invalid font data. 2022-08-13 12:16:21 -07:00
Unknown W. Brackets
5abec6ca18 Font: Prevent a crash on invalid data. 2021-06-12 10:09:47 -07:00
aliaspider
9a3e5879bb Global: Correct many endian types and casts. 2021-02-18 22:25:24 -08:00
Henrik Rydgård
58f19051cd Attempt to fix #14022 2021-01-30 18:03:46 +01:00
Henrik Rydgård
5117ded378 Remove ELOG/ILOG/WLOG from the Android C++ code (mostly) 2020-08-15 19:08:39 +02:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
Henrik Rydgård
c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Unknown W. Brackets
eacebd4c41 Font: Draw nothing for chars before first glyph.
This matches the logic in sceFontGetCharImageRect(), and improves tests.
Previously, we were drawing the alt character in these cases.
2016-08-27 09:41:01 -07:00
Unknown W. Brackets
e8fb61cf43 Font: Fix clipping when x/y aren't 0.
The final X2/Y2 are relative to the glyph at x,y.
2016-01-23 16:01:25 -08:00
Unknown W. Brackets
b8a2a6647d Font: Turns out this happens a lot. 2016-01-23 15:59:47 -08:00
Unknown W. Brackets
621f86c7f1 Font: Blend after swizzling to 8 bit.
This is much closer, but the values still are slightly off.
2016-01-23 15:42:42 -08:00
Unknown W. Brackets
1860180c2e Font: Implement subpixel rendering. 2016-01-23 15:37:19 -08:00
Unknown W. Brackets
32573ce121 Fix a typo in font loading. 2015-02-01 01:20:28 -08:00
Henrik Rydgard
d6b51d4dfa Reduce some excessive logging 2014-06-09 19:40:05 +02:00
Unknown W. Brackets
d65af7353b Avoid some ChunkFile includes. 2014-03-15 11:32:57 -07:00
lioncash
b9886942a7 Fix some vertical alignments in misc Core source files. 2014-03-03 11:16:53 -05:00
Unknown W. Brackets
131cbc073c Implement sceFontGetShadowInfo(). 2014-03-01 00:18:19 -08:00
Unknown W. Brackets
29d2e81676 Cleanup errors in sceFontGet*ImageRect(). 2014-02-28 23:04:34 -08:00
Unknown W. Brackets
bc3e123b61 Oops, fix negative clip regions.
Since they're summed, need to clamp the left/top side.  And the
bottom/right side is offset by x/y.
2014-02-28 21:25:45 -08:00
Unknown W. Brackets
46370e2860 Implement sceFontGetShadowGlyphImage().
Not sure if any games actually use it, though...
2014-02-28 20:57:18 -08:00
Unknown W. Brackets
ab6b998710 Correct clipping in sceFontGetCharGlyphImage_Clip.
It was not clipping completely, and didn't handle negative clip w/h.
Also, reduce to debug log (seems to work fine now and has been working
fine in most games.)
2014-02-27 00:19:40 -08:00