Commit graph

8935 commits

Author SHA1 Message Date
Unknown W. Brackets
c588046d99 Savedata: Respect secureVersion parameter.
This isn't used in many games, but see #10814.
2018-05-28 08:42:48 -07:00
Henrik Rydgård
d7770307f3 Change some log levels to verbose 2018-05-27 21:53:27 +02:00
Henrik Rydgård
3472d62fff
Merge pull request #11061 from unknownbrackets/savestate
SaveState: Fix rename when undo disabled
2018-05-21 09:16:14 +02:00
Unknown W. Brackets
037a20e7c7 SaveState: Fix rename when undo disabled.
On Windows, for example, the rename target cannot exist.

This also fixes the screenshot rename for the undo.
2018-05-20 20:51:29 -07:00
Henrik Rydgård
3733669112
Merge pull request #11058 from unknownbrackets/load-fail
Core: Shutdown properly on load failure
2018-05-20 23:48:11 +02:00
Unknown W. Brackets
9b6dee126d Core: Shutdown properly on load failure. 2018-05-20 14:17:01 -07:00
Henrik Rydgård
3976b03bcd Create vital directories on Android storage permission grant. Should help #11020 2018-05-10 19:32:28 +02:00
Henrik Rydgård
6615e55c5d
Merge pull request #11024 from unknownbrackets/fps-hack
Display: Prevent delaying flips inside interrupts
2018-05-09 06:06:58 +02:00
Henrik Rydgård
c1bdb69687
Merge pull request #11022 from hrydgard/screen-brightness-fix
Android: Only keep the screen bright ingame.
2018-05-09 06:06:27 +02:00
Unknown W. Brackets
d33b8643cb Display: Prevent delaying flips inside interrupts.
It causes us to run out of idle threads, and doesn't even make sense.
2018-05-08 18:32:25 -07:00
Unknown W. Brackets
3c698a5ddb Io: Prevent error when file locked for writing.
When reopening with file sharing flags fixed it, we shouldn't set error.
That would cause the open to still fail.
2018-05-08 18:25:15 -07:00
Henrik Rydgård
a8083b9684 Android: Only keep the screen bright ingame. 2018-05-08 23:05:37 +02:00
Unknown W. Brackets
f4e8e68c44 Io: Cleanup file not found error codes.
Replay (#10888) caused error to be non zero, which was later translated to
something else, confusingly...
2018-05-06 10:15:05 -07:00
Henrik Rydgård
b6472b562b
Revert "Limit the flip delay in the other direction to try to work around #10763." 2018-05-02 10:07:37 +02:00
Henrik Rydgård
900fa523db
Merge pull request #10983 from unknownbrackets/savedata
Savedata: Report secureVersion param usage
2018-04-29 19:22:19 +02:00
Unknown W. Brackets
208b0aa4a7 Savedata: Report secureVersion param usage.
Seems likely this is what's happening in #10814, but need data from more
games.
2018-04-29 09:46:23 -07:00
Henrik Rydgård
35375691d7
Merge pull request #10944 from hrydgard/another-gow-timing-hack
Limit the flip delay in the other direction to try to work around #10763.
2018-04-29 09:46:12 +02:00
Henrik Rydgård
5f9767d19e Remove misleading log 2018-04-29 09:45:34 +02:00
Greg V
70c54a7d1a Fix build with ffmpeg 4.0 2018-04-21 16:44:45 +03:00
Henrik Rydgård
687b5f92b1 Limit the flip delay in the other direction to try to work around #10763. 2018-04-20 11:49:38 +02:00
Unknown W. Brackets
224229fc1b Replay: Skip recording virtual disc reads.
Oops.
2018-04-17 07:51:49 -07:00
Henrik Rydgård
0ac6cea34d Add a queue processing hack for Sonic Rivals too. Now it's fast. 2018-04-13 18:05:04 +02:00
Henrik Rydgård
413a204138 Vulkan: Semi-gross hack that massively improves the perf of MGS2:Acid. 2018-04-13 17:32:56 +02:00
Henrik Rydgård
a3ed87bca5 Some comment fixes and cleanup.
Not much point warning for those MIPS instructions - if games use them,
they use them carefully because games can't catch that exception anyway.
2018-04-12 12:00:19 +02:00
Unknown W. Brackets
26f5b5b938 Replay: Fix a silly typo applying analog. 2018-04-11 21:31:56 -07:00
Henrik Rydgård
9e75250c4e Android: Do the same file_offset_bits checks for pread64 as before. Should help #10901 2018-04-11 13:45:18 +02:00
Henrik Rydgård
b4721fbc44 Temporary workaround for another IR interpreter crash. See #10897 2018-04-11 11:55:12 +02:00
Henrik Rydgård
3322adbc22 IR Interpreter: Add some missing instruction metadata. May help part of #10897 2018-04-11 11:16:41 +02:00
Henrik Rydgård
993423f82d
Merge pull request #10899 from hrydgard/restore-hw-skinning-part-2
Restore hw skinning part 2
2018-04-10 14:39:23 +02:00
Henrik Rydgård
36fd2711d6 Revert "Remove further remains of hardware skinning."
This reverts commit 40db61a680.
2018-04-10 12:22:41 +02:00
Unknown W. Brackets
da0173f40c Module: Fix function hashing typo.
May help #10895.
2018-04-09 19:12:23 -07:00
Unknown W. Brackets
7dbd2cecd8 Android: Avoid pread64 for > 2GB offsets.
Appears to not actually work as advertised.  See #10862.
2018-04-08 08:14:07 -07:00
Unknown W. Brackets
462d4d648e Replay: Handle long button presses correctly. 2018-04-07 18:00:51 -07:00
Unknown W. Brackets
3ea652714a Replay: Initial file handling and control funcs. 2018-04-07 18:00:51 -07:00
Unknown W. Brackets
0f9c53e03a Replay: Track replay of file operations. 2018-04-07 18:00:51 -07:00
Unknown W. Brackets
76e2a40e5f Replay: Prep side data structure. 2018-04-07 15:36:28 -07:00
Unknown W. Brackets
89186d8113 Replay: Initial structure for replay functionality. 2018-04-07 15:36:28 -07:00
Unknown W. Brackets
4861cadb79 arm64jit: Fix reg size in jr delay slot path.
Can't use the 64-bit reg.
2018-04-04 06:58:12 -07:00
LunaMoo
e5e19554e6 Add "--pause-menu-exit" option. 2018-04-02 16:31:26 +02:00
Unknown W. Brackets
ab809bd19e jit: Apply hasSetRounding at compile time.
Otherwise, the block will be executed with the wrong rounding mode the
first time rounding is set.  This could be important if it was set for a
single operation.

This is only a problem the first time it's set.
2018-04-01 10:36:16 -07:00
Unknown W. Brackets
09e307b097 arm64jit: Update rounding mode on thread switch.
Since fcr31 is per-thread, we must update jit state when it changes.
This also fixes the rounding mode on load state and jit/interp switch.
2018-04-01 10:12:32 -07:00
Unknown W. Brackets
7d3fac2b4b arm64jit: Fix a case of R() on unmapped.
But this probably means a game crash anyway...

Attempting to fix #10843.
2018-03-31 22:34:05 -07:00
Unknown W. Brackets
4fbb68d505 arm64jit: Update some comments. 2018-03-31 21:03:23 -07:00
Henrik Rydgård
a153181e4a Don't leave "reduceHash_" uninitialized. Probably won't help #10796 though.. 2018-03-26 12:33:36 +02:00
Henrik Rydgård
188ed07d77 Android: Have haptic feedback ignore the global setting, but default to off. 2018-03-25 13:42:57 +02:00
Henrik Rydgård
2a565199b3
Merge pull request #10780 from aliaspider/temp
Libretro port.
2018-03-24 16:28:10 +01:00
Henrik Rydgård
8fe5223dd0
Merge pull request #10781 from hrydgard/preserve-config
Android: Reload the config after getting storage permission, and ask immediately.
2018-03-24 14:18:37 +01:00
Henrik Rydgård
fb15208777 Android: Reload the config after getting storage permission, and ask immediately. Should help #10670 2018-03-24 12:52:51 +01:00
aliaspider
0af6d573bb remove all usage of __LIBRETRO__ 2018-03-24 12:45:20 +01:00
Henrik Rydgård
198d921a9b
Merge pull request #10737 from unknownbrackets/savestate
SaveState: Keep an undo for each slot by default
2018-03-24 10:18:18 +01:00