Commit Graph

20678 Commits

Author SHA1 Message Date
Henrik Rydgård
9e70a6f9d9 Merge pull request #8939 from RisingFog/frame_advance
Add Frame Advance
2016-08-30 16:45:54 +02:00
Chris Burgener
8c96e92199 Hide Frame Advance from mobile devices 2016-08-30 10:03:16 -04:00
Chris Burgener
f090551c2a Make variables static 2016-08-30 09:09:38 -04:00
Chris Burgener
c726691aba Remove all default bindings for Frame Advance 2016-08-29 16:39:16 -04:00
Chris Burgener
4ab71eb936 Add check for numFlips to advance per drawn frame 2016-08-29 15:34:00 -04:00
Henrik Rydgård
22b6988424 Fix issue with iOS JIT block linking, see #8122 2016-08-29 17:32:46 +02:00
Henrik Rydgård
d31d268962 Merge pull request #8940 from hrydgard/blocklink
Fix block linking with W^X mode
2016-08-29 10:14:34 +02:00
Chris Burgener
e208eff8ab Set frameStep_ to false on EmuScreen start 2016-08-28 18:18:44 -04:00
Henrik Rydgard
dde50cbdf5 Remove checks for various iOS non-jit situations in settings 2016-08-28 19:01:00 +02:00
Henrik Rydgard
4e5f1e2797 Fix block linking with W^X mode 2016-08-28 18:54:14 +02:00
Unknown W. Brackets
2fd81a4b29 Fix typo. 2016-08-28 09:44:52 -07:00
Henrik Rydgard
740ef4e0eb Apple buildfix 2016-08-28 18:41:24 +02:00
Henrik Rydgard
3ab2094b76 Buildfix attempt 2016-08-28 18:35:57 +02:00
Chris Burgener
842a29b0ae Add Frame Advance 2016-08-28 12:21:45 -04:00
Unknown W. Brackets
933949ddd2 Merge pull request #8937 from hrydgard/memprot-w-xor-x
Implement W^X-compatible JIT. Hopefully makes JIT work on iOS again
2016-08-28 09:19:54 -07:00
Henrik Rydgard
2a4f4ed41d iOS buildfix, fix another comment 2016-08-28 18:10:26 +02:00
Henrik Rydgard
1e4b77fb49 Use PAGE_SIZE, fix a comment, fix some indentation. 2016-08-28 18:07:54 +02:00
Henrik Rydgard
d82ba24485 Symbian buildfix 2016-08-28 15:07:33 +02:00
Henrik Rydgard
b264657d56 Implement W^X-compatible path. Works on Windows and Android, hopefully iOS (untested).
Disabled block linking in this mode, can re-enable with some more work later.

To enable W^X on other platforms than iOS, simply change PlatformIsWXExclusive.
2016-08-28 14:52:08 +02:00
Henrik Rydgard
daf10ec882 Use JIT on iOS (not actually working yet, but it will start working in later commits) 2016-08-28 13:43:59 +02:00
Henrik Rydgard
13e73f8c86 Make sure to reset memory protection as appropriate. Remove unused WriteProtect on codeblocks (to be redesigned) 2016-08-28 13:37:30 +02:00
Henrik Rydgard
323eb72b7c Write-protect the dispatcher on all platforms. 2016-08-28 13:35:27 +02:00
Henrik Rydgard
5005e83254 Consistency improvements to the memory protect/alloc APIs 2016-08-28 12:28:17 +02:00
Henrik Rydgard
adbac55b1d Replace Write/UnWriteProtectMemory with ProtectMemory that takes flags 2016-08-28 12:09:01 +02:00
Henrik Rydgård
22cef33a18 Merge pull request #8932 from unknownbrackets/font-minor
Font: Draw nothing for chars before first glyph
2016-08-28 11:21:24 +02:00
Henrik Rydgård
ef3f369311 Merge pull request #8933 from unknownbrackets/utility-deps
Utility: Only require avcodec for mp4
2016-08-28 11:19:24 +02:00
Henrik Rydgård
0a1f322769 Merge pull request #8934 from unknownbrackets/io-seek
Io: Do not delay on file seek
2016-08-28 11:18:45 +02:00
Unknown W. Brackets
5a797a08f7 Io: Do not delay on file seek.
This doesn't seem to reschedule, must've measured wrong in #939.

Fixes #8749.
2016-08-27 14:18:59 -07:00
Unknown W. Brackets
ee664fdc25 Utility: Only require avcodec for mp4.
Test was ambiguous - testing more carefully only 300 is required.  Not
sure how I got this wrong before since only 300 was required for the
others...

Should help #8926.
2016-08-27 10:15:35 -07: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
Henrik Rydgård
028e98a92c Merge pull request #8919 from unknownbrackets/ui-tweaks
UI: Suppress state slot switch preview during boot
2016-08-21 11:08:14 +02:00
Henrik Rydgård
947680dd8e Merge pull request #8924 from unknownbrackets/runtime-core
Fix cpu core change during runtime
2016-08-21 11:08:01 +02:00
Unknown W. Brackets
0855720e04 Fix cpu core change during runtime.
Some change must've lost this - the core wasn't updating without a game
restart.  Now it does.
2016-08-20 12:31:02 -07:00
Unknown W. Brackets
a3efa99cd4 UI: Suppress state slot switch preview during boot.
Boot may change the slot if the game has game-specific settings, but we
shouldn't show the preview.

Should fix #8916.
2016-08-16 21:24:01 -07:00
Unknown W. Brackets
e4b0f295b2 Oops, these should copy the i18n pointer.
Since it leaves scope.
2016-08-16 18:56:04 -07:00
Henrik Rydgård
2184d371c1 Merge pull request #8914 from unknownbrackets/psmf-size
Psmf: Ignore stream size with old PsmfPlayer libs
2016-08-16 15:03:24 +02:00
Henrik Rydgård
6b4b21726b Merge pull request #8913 from unknownbrackets/ui-tweaks
Add setting tips on selection
2016-08-16 15:02:42 +02:00
Henrik Rydgård
540e86b340 Merge pull request #8894 from unknownbrackets/core-profile
Clean up a few more core profile things
2016-08-16 15:01:55 +02:00
Unknown W. Brackets
a0484dce65 Psmf: Use packets for end in all versions.
Turns out no version of the library looks at the pts for the end.
2016-08-15 21:00:10 -07:00
Unknown W. Brackets
4eca12890e Merge pull request #6 from sum2012/psmf-size
Psmf: Ignore last timestamp with old PsmfPlayer libs
2016-08-15 20:57:03 -07:00
Unknown W. Brackets
4507bb8466 Fix more cases of FILL_PARENT used as WRAP_CONTENT.
Fixes #8915.
2016-08-15 20:40:44 -07:00
sum2012
00a379e9f0 Psmf: Ignore last timestamp with old PsmfPlayer libs
Until 5.50
Fix #6574
2016-08-16 03:57:36 +08:00
Unknown W. Brackets
f23391578f Psmf: Ignore stream size with old PsmfPlayer libs.
Until 5.50, the stream size was not used.  See #6574.
2016-08-14 17:24:29 -07:00
Unknown W. Brackets
d9bbbab1b9 UI: Add various tips to some settings.
Let's not overuse these though: if it's not needed, that's for the best.
2016-08-14 15:26:42 -07:00
Unknown W. Brackets
0fd6f296de UI: Add a view to show setting info. 2016-08-14 14:57:39 -07:00
Unknown W. Brackets
da7a42a957 UI: Measure text with & in it properly. 2016-08-14 14:57:39 -07:00
Unknown W. Brackets
53cc4524b1 UI: Center multiline text more correctly. 2016-08-14 14:57:38 -07:00
Unknown W. Brackets
f4c735ee4e UI: Allow scrollviews to wrap content.
In the opposing direction, we can't AT_MOST if we don't have a good size
and we're wrapping content.  This can happen inside a LinearLayout.
2016-08-14 13:09:55 -07:00
Unknown W. Brackets
086dc9e0ed Move Apple GL2.0 forcing to a common place. 2016-08-08 17:56:11 -07:00
Unknown W. Brackets
6088c7d5f5 Ensure elided core profile extensions are set. 2016-08-08 17:56:11 -07:00