Commit graph

9119 commits

Author SHA1 Message Date
Unknown W. Brackets
8506da14f0 Debugger: Prevent invalid address on syscall. 2018-11-17 08:54:29 -08:00
Henrik Rydgård
7abbc1bebd Add compat flag to allow virtual framebuffer readbacks (auto-create fb from readback destination). Does not yet work outside VRAM but should fix Digimon Adventure. 2018-11-12 08:20:27 +01:00
Unknown W. Brackets
340460f01c Io: Add missing error code on file open.
Doesn't affect Windows.
2018-11-06 19:28:22 -08:00
mrfixit2001
d9ad57e918
Move comments in function to be more relevant 2018-11-04 13:33:42 -05:00
root
c19d3fe06a MRFIXIT2001: This patch adds a second frameskip setting, one for setting the # of frames to skip, one for setting the % of frames to skip based off fps 2018-11-03 01:33:41 +00:00
Henrik Rydgård
f8e946d8e5
Merge pull request #11518 from unknownbrackets/init-shutdown
Core: Wait for background CPU load on exit
2018-11-02 11:09:56 +01:00
Unknown W. Brackets
670e207c57 Core: Wait for background CPU load on exit.
This prevents crashes when exiting a game while loading is still in
progress.  See #11516.
2018-11-01 21:29:34 -07:00
Unknown W. Brackets
2650ddae75 Savedata: Write only one secure entry.
Before, we were filling all the entries when the first file was saved, a
regression from 1976be4.  This caused issues in games that use a single
savedata folder for multiple secure files, such as Valkyria Chronicles 3.
2018-10-28 12:35:54 -07:00
Henrik Rydgård
52739a1021
Merge pull request #11453 from unknownbrackets/bof3-flicker
Display: Resched interrupt before vblank threads
2018-10-08 07:53:54 +02:00
Henrik Rydgård
1b8bf31e89
Merge pull request #11454 from unknownbrackets/remote-iso
http: Allow pbp and ppdmp files too
2018-10-08 07:53:10 +02:00
Unknown W. Brackets
02b418e711 http: Allow pbp and ppdmp files too.
Also cleanup a bit.
2018-10-07 14:53:38 -07:00
Unknown W. Brackets
014d9ddead Display: Resched interrupt before vblank threads.
Otherwise, we may first schedule to a woken thread, and then immediately
reschedule to the interrupt.  Each reschedule costs ticks, and it doesn't
look like this should cause two reschedules.

Improves #11414, Breath of Fire 3 frame flicker.
2018-10-07 14:41:08 -07:00
Henrik Rydgård
83bf001a31 Disable Android HW scale on TV type devices. 2018-10-06 13:43:11 +02:00
Henrik Rydgård
7f38ff783a
Merge pull request #11436 from unknownbrackets/tex-ini
Replacement: Show a warning for bad texture names
2018-10-04 07:47:42 +02:00
Unknown W. Brackets
efc6510569 Replacement: Show a warning for bad texture names. 2018-09-30 17:55:51 -07:00
Unknown W. Brackets
8b62354df6 Replacement: Note filename restrictions in ini. 2018-09-30 17:44:06 -07:00
Unknown W. Brackets
13375e2b95 Replacement: Refactor ini template generation. 2018-09-30 17:00:05 -07:00
Unknown W. Brackets
7ee4d2d5a1 UI: Ask for restart when changing graphics device.
Only for D3D11 and Vulkan.

Also, makes Vulkan follow D3D11 in not changing the setting if the device
is not found on startup.
2018-09-30 00:53:21 -07:00
Unknown W. Brackets
ce6cb7e7c9 Core: Report disc read errors to the user.
At least when we can detect this, better not to keep silent about it.
2018-09-29 00:45:50 -07:00
Henrik Rydgård
3f849bb946 Android: Don't use "hw scaling" on modern devices by default.
It seems to cause more problems than it's worth, see #11151
2018-09-16 21:05:13 +02:00
Henrik Rydgård
204bfc7441
Merge pull request #11371 from unknownbrackets/mpeg-minor
Mpeg: Avoid reading outside available bytes
2018-09-09 10:50:48 +02:00
Unknown W. Brackets
a5f61e798e Mpeg: Avoid reading outside available bytes.
When we're just looking for the size or offset, it shouldn't be necessary
to load the stream, so hopefully we can avoid it.
2018-09-08 12:14:17 -07:00
Unknown W. Brackets
1b4f1d7d4e Replacement: Cut down on parsing for large inis. 2018-09-07 21:36:59 -07:00
Henrik Rydgård
8ac50b232d
Merge pull request #11360 from unknownbrackets/gpu-failed
Core: Log more on graphics backend failures
2018-09-06 09:18:46 +02:00
Unknown W. Brackets
db93a08fc9 Core: Log more on graphics backend failures.
Just so we can tell for sure in logs what's happening.
2018-09-05 23:13:15 -07:00
Unknown W. Brackets
246234b0b7 UI: Automatically forget pinned deleted paths.
Also, resolve the paths in case of symlinks.
2018-09-04 21:53:20 -07:00
Henrik Rydgård
562c5f6485
Merge pull request #11346 from unknownbrackets/startup-fail
Core: Track graphics startup failures and cycle
2018-09-04 21:14:15 +02:00
Henrik Rydgård
caaec8c4cc
Merge pull request #11347 from unknownbrackets/save-minor
Savedata: Show confirm save without faded icon
2018-09-02 21:33:41 +02:00
Henrik Rydgård
4f26ac6e65
Merge pull request #11351 from unknownbrackets/android-minor
Add .nomedia files to system and textures
2018-09-02 21:20:15 +02:00
Unknown W. Brackets
d715ed8fba Core: More consistently use directory constants. 2018-09-02 10:27:11 -07:00
Unknown W. Brackets
d1c5668612 Android: Add .nomedia files to system and textures.
Due it on all platforms when saving textures to encourage including
.nomedia in texture packs.
2018-09-02 10:19:08 -07:00
Unknown W. Brackets
f906fbed35 Core: Track graphics startup failures and cycle.
If the graphics driver segfaults, or some plugin segfaults, let's try a
different one next time.  This gives better hope of starting up next time.
2018-09-01 19:59:13 -07:00
Unknown W. Brackets
68317f0067 Core: Match up NOEN define usage a bit more.
Some compile parameters were resulting in us try to use a func we didn't
compile.  We should at least use the same defines in usage and definition.
2018-09-01 19:56:35 -07:00
Unknown W. Brackets
ed10b69b17 Savedata: Show confirm save without faded icon.
See #9632.
2018-09-01 14:40:44 -07:00
Unknown W. Brackets
653129c528 Debugger: Add an event for GE dump recording. 2018-09-01 10:59:37 -07:00
Unknown W. Brackets
4ce2b64ef7 Debugger: Refactor to allow simpler broadcasting.
It's okay to mix a bit for simple ones, I think.
2018-09-01 10:15:22 -07:00
Unknown W. Brackets
c10b2035b5 Debugger: Prevent record with no commands.
Should cut down on empty dumps, at least.
2018-09-01 09:51:04 -07:00
Unknown W. Brackets
f1afc51994 GE Debugger: Refactor out stepping callback.
In case we have multiple connected debuggers, we don't want just a
callback.  A counter works fine.
2018-09-01 09:41:20 -07:00
Unknown W. Brackets
a4c0640f01 GE Debugger: Factor out host calls some.
Moving more of this to cross platform for the web debugger.
2018-09-01 08:32:03 -07:00
Unknown W. Brackets
d13f76308d Ge: Avoid executing invalid pointers.
May help #3407 and related errors, as well as crashes and execution of
garbage.  This stops immediately on a bad pointer, rather than trying to
push through.
2018-08-25 10:32:32 -07:00
Unknown W. Brackets
8a154dab70 Windows: Correctly buildfix Windows XP.
Should run properly now - dumb mistake.
2018-08-18 10:22:55 -07:00
LunaMoo
f038b6489a Add sceUsbAcc stubs, improves EyePet(fixes endless loop on boot) 2018-08-15 18:35:07 +02:00
Henrik Rydgård
6f173b9134 Harmonize some VS project settings. 2018-08-14 22:41:39 +02:00
Henrik Rydgård
75827004e1 Properly fix the iterator bug, oops. 2018-08-14 21:26:42 +02:00
Henrik Rydgård
404594da57 Fix crash bug when cleaning duplicates of recent files 2018-08-14 20:40:42 +02:00
Henrik Rydgård
0684068c81
Merge pull request #11296 from hrydgard/discord-presence
Discord presence - show the current game
2018-08-14 08:40:09 +02:00
Unknown W. Brackets
ac5467ca67 Io: Linux buildfix.
Fixes #11300.
2018-08-13 07:32:53 -07:00
Henrik Rydgård
a495537164
Merge pull request #11297 from unknownbrackets/fs-root
Io: Prevent cur/parent dir in listing of root
2018-08-13 07:48:51 +02:00
Unknown W. Brackets
7a058180bb Io: Prevent cur/parent dir in listing of root.
See #9344.  Matches tests.
2018-08-12 19:27:26 -07:00
Henrik Rydgård
785858dbf8 Basic Discord presence integration. 2018-08-13 00:20:09 +02:00