Commit Graph

4744 Commits

Author SHA1 Message Date
Unknown W. Brackets
bb94f31ec7 Simplify GetGlyph() and getBits() usage a bit. 2013-11-16 20:16:49 -08:00
Unknown W. Brackets
d446659b2a Improve the performance of getBits().
Well, it's not used much, although it's much faster now, heh.
2013-11-16 19:34:45 -08:00
Unknown W. Brackets
e77b8bc5b5 Check for non-indexed glyph advance values.
This change from JPCSP:
http://code.google.com/p/jpcsp/source/detail?r=3350
2013-11-16 18:35:15 -08:00
Unknown W. Brackets
2d7741a433 Return # of glyphs, not charmaps, in font info.
This makes it match the value from the PSP, and seems logical (the charmap
value is hardly useful, and might lead me to overallocate space for the
glyph bitmaps...)
2013-11-16 18:33:10 -08:00
Unknown W. Brackets
68af1ea6f8 Flip the descender in char info.
This makes it close to the value from a PSP (just rounded to 64...)
2013-11-16 18:32:06 -08:00
Henrik Rydgard
4e0520131a Tiny optimization 2013-11-15 20:32:23 +01:00
Henrik Rydgard
d17a5fefea ARM: Fix divide by 0 in software divide used on CPUs without HW divide. 2013-11-15 20:24:20 +01:00
Henrik Rydgard
6be534ca18 Merge branch 'warnings' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-warnings
Conflicts:
	Core/ELF/ElfReader.cpp
2013-11-15 19:11:51 +01:00
Henrik Rydgard
77ef79892e Remove wrong alignment check on relocations. Add a comment. 2013-11-15 18:47:27 +01:00
Sacha
20e1bdceeb Improvements to timer hack. 2013-11-16 02:55:12 +10:00
Unknown W. Brackets
b9feae3b62 Don't require 32-bit relocs to be aligned.
Also, report these situations more, who knows what games they could break.
2013-11-15 08:19:29 -08:00
Unknown W. Brackets
f165a15eff Fix a -unsigned warning.
Looks ugly, but (u32)-(s32)val is what we really want here.

Also make a __FUNCTION__ redeclaration warning go away.
2013-11-15 08:18:34 -08:00
Sacha
fb7c3d96fd Introduce Timer Hack.
Has been used in previous Symbian releases to improve speed. Was thought to only work on Wipeout but actually works on most games?
Games that run based on internal timer will experience 60 VPS without frameskip.
2013-11-16 02:16:17 +10:00
Henrik Rydgård
4a89e2e74f Add "Dump frame GPU commands" to the "in-game" dev menu too. 2013-11-15 16:49:13 +01:00
Henrik Rydgård
40bd1fa650 Add freeze-frame to developer menu. Only useful for developing, like when using nVidia PerfHud. 2013-11-15 13:11:44 +01:00
Henrik Rydgård
cd251af345 More minor SasAudio optimizations 2013-11-15 12:28:16 +01:00
Henrik Rydgård
21006dc6a7 SasAudio: Compute envelope duration on state changes only. 2013-11-15 12:05:10 +01:00
Unknown W. Brackets
5128083d93 Mask out fcr31 bits that can't be set on a PSP. 2013-11-14 23:57:28 -08:00
Unknown W. Brackets
21c9577801 Initialize fcr31 correctly (even though unsup.) 2013-11-14 23:44:49 -08:00
Unknown W. Brackets
3c73d0d1f1 armjit: Read fpu control regs other than 0/31 as 0.
Always seem to give zero, regardless of the value of fcr31, etc.
2013-11-14 23:39:39 -08:00
Unknown W. Brackets
763eff181d Fix handling of jalr when delay slot changes rd. 2013-11-14 23:39:13 -08:00
Unknown W. Brackets
26f5922174 Return the correct value for fcr0/fir.
This is what the PSP actually returns, it's read only.
2013-11-14 23:39:08 -08:00
Unknown W. Brackets
98fb2e0402 armjit: Refer to R11 as MEMBASEREG for clarity. 2013-11-14 23:37:48 -08:00
Sacha
e3bdb3e09b Disable LitPool as it is causing crashes with Vertex Decoder JIT. Performance seems to be almost unaffected since the IMM changes. 2013-11-15 14:12:00 +10:00
Sacha
20e8a81268 Switch to compile-time ARMV7 define. 2013-11-15 11:20:39 +10:00
Henrik Rydgard
5e3fd4f1fa Turn down reloc logging a bit more 2013-11-14 23:07:22 +01:00
Henrik Rydgård
90888aad14 Merge pull request #4532 from sum2012/sceio
Fix Buzz Ultimate Music Quiz black screen Sporadically
2013-11-14 14:03:20 -08:00
Henrik Rydgård
c9475b17b8 Merge pull request #4514 from shenweip/patch-3
Skip the read of secure files which are not in SFO.
2013-11-14 14:02:21 -08:00
Henrik Rydgard
9a14d33372 Disable software divide that appears to be buggy, see #4539 2013-11-14 17:25:02 +01:00
Henrik Rydgård
e98d0d8327 Merge pull request #4510 from pal1000/master
Cwcheat: Allow comments in cheat files starting with // mainly for writing cheat usage guidelines
2013-11-14 07:14:21 -08:00
shenweip
37e477f6e5 Add a log and fix typo. 2013-11-14 22:49:26 +08:00
shenweip
9bc534d54a Wrap some empty functions. 2013-11-14 22:43:00 +08:00
Henrik Rydgard
003cb41db5 Oops, that was too much logging on startup. 2013-11-14 12:32:59 +01:00
Henrik Rydgard
9d4ece0f58 Robustify the ELF loader a little - it didn't like unaligned addresses.. 2013-11-14 11:44:14 +01:00
sum2012
f3263ed4ba Fix Buzz Ultimate Music Quiz Crash Sporadically
issue#4497
2013-11-14 05:21:24 +08:00
Henrik Rydgård
da380478f6 Enable software skinning by default 2013-11-13 19:55:20 +01:00
Henrik Rydgard
7e67476b00 Simple unoptimized software skinning.
Does not take advantage of the possible reduction in state changes yet.
2013-11-13 18:10:57 +01:00
Henrik Rydgård
836820b41e Merge branch 'vfpucc' 2013-11-13 10:03:51 +01:00
Sacha
08803c101e Remove MathUtil.{cpp,h} 2013-11-13 11:26:12 +10:00
The Dax
d56114e30d Fix VS2013. 2013-11-12 18:37:06 -05:00
Henrik Rydgård
ef8631c57f Cache VFPU_CTRL_CC in a register 2013-11-12 17:58:29 +01:00
Sacha
91ddddc2ef Remove unused Thread.{cpp,h} 2013-11-13 02:50:46 +10:00
Henrik Rydgard
54217deb16 Speed up UpdateUniforms a little 2013-11-12 17:06:03 +01:00
Henrik Rydgard
df3765a320 Arm jit: optimize ES, NS conditions in vcmp. Bugfix TR. 2013-11-12 14:43:12 +01:00
Henrik Rydgard
a2e0a4d9bf x86 jit: Optimize ES, NS (is-nan-or-inf) conditions in vcmp 2013-11-12 14:07:48 +01:00
Henrik Rydgard
84f20a1cad Small optimizations 2013-11-12 14:05:50 +01:00
Henrik Rydgård
efc35103e5 Merge pull request #4483 from xekarfwtos/tsa
Fixes issue #4477 : ULUS10419 : Tenchu: Shadow Assassins hangs the emu.
2013-11-12 04:33:24 -08:00
Unknown W. Brackets
f4b5e8a4c1 Merge pull request #4518 from hrydgard/fpcond
ARMJIT: Cache fpcond in a register to avoid store/load between compare and branch
2013-11-12 01:50:16 -08:00
Henrik Rydgård
66581c4d83 Merge pull request #4517 from Kingcom/SaveDialog
Partially implement SCE_UTILITY_SAVEDATA_FOCUS_NAME
2013-11-12 01:42:20 -08:00
Henrik Rydgård
17074f5a7f Cache fpcond in a register to avoid store/load between compare and branch 2013-11-12 10:33:38 +01:00