Commit Graph

4776 Commits

Author SHA1 Message Date
Sacha
effca1e4c7 Improvements to timer hack. 2013-11-20 12:55:56 +10:00
Henrik Rydgård
21bafd5d18 Merge pull request #4581 from unknownbrackets/armjit-divu
armjit: Fix divu when divisor is a constant 1
2013-11-19 13:28:41 -08:00
Henrik Rydgård
41fd68be68 Merge pull request #4577 from unknownbrackets/vblank-interval
Switch to 59.94 fps rather than 60, since we say we are 59.94
2013-11-19 13:24:38 -08:00
Unknown W. Brackets
c50ab6d6aa armjit: Fix divu when divisor is a constant 1.
Fixes #4539 and #4520.
2013-11-19 13:24:15 -08:00
Henrik Rydgard
bd3a03ad1d Quick buildfix. Last commit was meant to go on a WIP branch but meh :) 2013-11-19 21:44:18 +01:00
Henrik Rydgard
ab3037112f Some scaffolding for a future VFPU-on-NEON implementation 2013-11-19 21:41:48 +01:00
Henrik Rydgard
99af10cb09 Get rid of bool disablePrefixes in ARM build (already gone in x86) 2013-11-19 21:41:48 +01:00
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
Unknown W. Brackets
425ea8b846 Track hcount as an integer, not a double.
Since it's even with NTSC.  Makes much more sense.
2013-11-18 08:12:49 -08:00
Unknown W. Brackets
2b74f7f812 Switch to 59.94 fps rather than 60. 2013-11-18 08:06:09 -08: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