Commit Graph
4767 Commits
Author SHA1 Message Date
Henrik Rydgard dca457e6df Optimize multiple sv.s and lv.s calls on ARM. Also some cleanup. 2013-11-19 21:41:47 +01:00
Henrik Rydgard 5bb3824dcf Implement vocp on ARM and x86. 2013-11-19 21:41:47 +01:00
Sacha a41e3d3432 Qt: Remove controls. Undefine emit so that it is easier to use Qt headers in native files. 2013-11-20 01:25:59 +10:00
Henrik Rydgård 428b27903b Merge pull request #4556 from unknownbrackets/ctrl-timing
Adjust ctrl timing (sample and wake after vblank)
2013-11-18 05:06:58 -08:00
Unknown W. Brackets 6ebad9e06f Include all released buttons in the latch.
Not just newly released ones.  This does appear to be how the PSP fills
this buffer - it's normally 0xffffffff.
2013-11-17 19:32:21 -08:00
Unknown W. Brackets d7d0242225 Minor simplification to ctrl buffer updates. 2013-11-17 19:32:20 -08:00
Unknown W. Brackets 39cd7f812a Move ctrl to after vblank, not before.
Tests I'd done long ago suggested this wasn't right, but we made other
timing fixes since then, and now tests are showing this is the right
order.

May improve Patapon/etc. timing, or may hurt it...
2013-11-17 19:32:20 -08:00
Henrik Rydgard 2c9a1123f0 Fix audio regression: Don't "WalkCurve" on state OFF 2013-11-17 23:13:30 +01:00
Unknown W. Brackets fa7467f03d Try to find the flash0 directory in headless. 2013-11-17 10:15:49 -08:00
Henrik Rydgard b30495c8e8 Reapply the "duration" SasAudio optimization. 2013-11-17 16:49:43 +01:00
Henrik Rydgard 5f51432de7 Revert "More minor SasAudio optimizations"
Will reapply later in pieces.

This reverts commit cd251af345.
2013-11-17 16:46:26 +01:00
Henrik Rydgard 9f5402ce54 Use hardware half-to-float on ARM when available. 2013-11-17 14:17:13 +01:00
Henrik Rydgard a3caefed18 Buildfix (pgf 64-bit) 2013-11-17 12:55:35 +01:00
Unknown W. Brackets 5f3d7d5c97 Add support for fpu and vfpu regs in expressions.
This way you can break based on the value.
2013-11-17 02:15:15 -08:00
Unknown W. Brackets 33d6ee77cb Add a some more defines for ELF values.
Mostly flags and stuff.
2013-11-17 02:14:35 -08:00
Henrik Rydgård ce11fd7e4b Merge pull request #4560 from unknownbrackets/font-minor
Fix fields in char info and font info, speed up font loading a little
2013-11-17 02:10:27 -08:00
Unknown W. Brackets 0bd7d7ad19 Minor correctness: don't zero extend bpp bits. 2013-11-16 23:39:19 -08:00
Unknown W. Brackets 8f6315e375 Support replacement chars in sceFontGetCharInfo(). 2013-11-16 23:32:13 -08:00
Unknown W. Brackets d955d9b303 Cut down on unnecessary allocs in font loading. 2013-11-16 22:53:05 -08:00
Unknown W. Brackets 769ffbd33b Read in the shadow flags and give them to the game.
Yay, now this struct seems to match the PSP.
2013-11-16 21:08:34 -08:00
Unknown W. Brackets 4505cb4b3a Match ascender/descender values per character.
This makes sense, and matches the ascender/descender for my fonts.

However, it could be wrong for vertical fonts... not sure.
2013-11-16 20:35:50 -08:00
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
Kingcom c44c99a5b7 Ignore changes to r0 2013-11-16 10:59:49 +01:00
Kingcom a277706489 Workaround for symbols defined in .sym files 2013-11-16 10:53:47 +01: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