Commit Graph

20691 Commits

Author SHA1 Message Date
Unknown W. Brackets
d876da1a01 Initialize fp correctly on a new thread. 2016-09-05 08:57:09 -07:00
Unknown W. Brackets
1e51a03d5a Point ra to the correct place on a new thread.
Turns out some games read the ra, maybe long jmps or something?
2016-09-05 08:56:27 -07:00
Henrik Rydgard
f39c603acb Move memory protect logging to VERBOSE level. See #8941 (probably something else going on though) 2016-09-04 16:35:23 +02:00
Henrik Rydgard
47cc898c65 Minor optimization in draw_text on Windows. May help #8953 a bit. 2016-09-04 15:27:55 +02:00
Henrik Rydgård
993ce1e620 Merge pull request #8952 from unknownbrackets/ui-tweaks
UI: Fix display layout mode indicator size
2016-09-04 10:48:08 +02:00
Henrik Rydgård
2f69bfbb32 Merge pull request #8949 from klyoungblood/ps3-controller
Adds --PS3 comand line option for PS3 controller support on SDL.
2016-09-04 10:47:14 +02:00
Kelly Youngblood
5adaa12260 Adds auto-detection for PS3 cocntroller. 2016-09-03 21:14:44 -05:00
Unknown W. Brackets
84415bf1dc UI: Avoid abusing TabHolders for layout.
And also adjust padding slightly so it looks right at 1x.
2016-09-03 18:09:44 -07:00
Unknown W. Brackets
00e922bfba UI: Fix display layout mode indicator size.
Now that we wrap text, "0" isn't a valid width.
2016-09-03 17:26:56 -07:00
Kelly Youngblood
06d594b3ff Code cleanup 2016-09-03 00:20:18 -05:00
Kelly Youngblood
7d191ccc11 Adds --PS3 flag for PS3 controllr support on SDL. 2016-09-03 00:15:25 -05:00
Henrik Rydgard
2d838f7f33 Update ffmpeg submodule 2016-09-01 20:13:17 +02:00
Henrik Rydgard
72ae23b716 Update ffmpeg, lang submodules 2016-08-31 18:16:50 +02:00
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