Commit graph

9282 commits

Author SHA1 Message Date
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
Henrik Rydgård
eddaf97938 Add submodules, namespace json to prepare for the addition of rapidjson (sigh) 2018-08-13 00:18:54 +02:00
Henrik Rydgård
7aa71fc84b
Merge pull request #11295 from unknownbrackets/recent
UI: Resolve symlinks when adding things to recent
2018-08-12 23:45:39 +02:00
Unknown W. Brackets
048afb6d24 UI: Resolve symlinks when adding things to recent.
See #11131.  This also normalizes paths, captialization, etc. as
necessary.
2018-08-12 08:25:10 -07:00
Unknown W. Brackets
b64bb2e8ce Savedata: Also validate icon/subdata size. 2018-08-11 17:00:15 -07:00
Unknown W. Brackets
c0ccc9449d Savedata: Use size, not bufSize, for icons.
Verified by tests.  Should help #8810.
2018-08-11 17:00:09 -07:00
Unknown W. Brackets
42feade460 Savedata: Return error when bufSize is too small.
Mirrors what a PSP does.
2018-08-11 16:36:28 -07:00
Unknown W. Brackets
718053e7fc Savedata: Return error codes on WRITEDATA/MAKEDATA. 2018-08-11 16:35:58 -07:00
Henrik Rydgård
ec650adbc1
Merge pull request #11273 from unknownbrackets/savedata
Savedata: Reset data size when retrying hash
2018-07-29 09:48:08 +02:00
Unknown W. Brackets
c4717fae2f Savedata: Reset data size when retrying hash.
It's even possible we might've not loaded the key before, so let's play it
safe and reset everything.

The previous fix only worked in some games, when dataSize was larger than
necessary.
2018-07-28 09:41:44 -07:00
Henrik Rydgård
b37938b061
Merge pull request #11246 from unknownbrackets/debugger
Debugger: Add a few more APIs
2018-07-11 13:42:26 +02:00
weihuoya
535def4b74 max res x2 2018-07-09 10:00:29 +08:00
Unknown W. Brackets
91a43c9d32 Debugger: Add force resume/kill thread API. 2018-07-07 18:58:37 -07:00
Unknown W. Brackets
2e6a52ed51 Debugger: Add backtrace API. 2018-07-07 18:36:47 -07:00
Unknown W. Brackets
8a7662adae Debugger: Add function symbol add/remove API. 2018-07-07 09:56:59 -07:00
Unknown W. Brackets
2133b18198 Debugger: Add APIs for texture and CLUT. 2018-07-07 09:56:59 -07:00
LunaMoo
402033030b Just a quick fix for a typo made in last big rewrite of cheat engine. 2018-07-07 15:45:56 +02:00
Unknown W. Brackets
1d430ffac9 SaveState: Fix stale state threshold.
Micro not milli...
2018-07-04 18:00:06 -07:00
Henrik Rydgård
41e8854476
Merge pull request #11232 from unknownbrackets/armips
Debugger: Update to latest armips
2018-07-01 01:31:54 +02:00
Unknown W. Brackets
8ae157e27f Debugger: Update to latest armips. 2018-06-30 14:18:26 -07:00
Unknown W. Brackets
1976be48ab Savedata: Use file hash to validate hash mode.
This makes older PPSSPP save data also work, and also logs when save data
is detected as corrupt.
2018-06-30 12:17:52 -07:00
hissingshark
64e432e12d Moved from using enum to enum class 2018-06-26 07:52:02 +01:00
hissingshark
7fd7afeba9 Added "oldest save" and "slots 1-5" as options for "auto load savestate" 2018-06-25 21:45:51 +01:00
Unknown W. Brackets
ecdc4bbd17 Savedata: Upgrade secureVersion by default.
This may help fix save data made incorrectly, but may also break save data
last saved in PPSSPP v0.9.8 or lower.  Can be toggled off otherwise.
2018-06-24 15:46:41 -07:00
Unknown W. Brackets
93d96b8a32 Savedata: Map secureVersion modes correctly.
1 was correct, but other modes were not.
2018-06-24 15:34:27 -07:00
Unknown W. Brackets
46d7ead781 Savedata: Add validation on secureVersion param. 2018-06-24 15:30:33 -07:00
Unknown W. Brackets
aad6377580 Savedata: Return result codes from Save/Load.
This doesn't change anything, yet.
2018-06-24 13:28:57 -07:00
Unknown W. Brackets
ca8677d262 UI: Keep rendering UI even while stepping.
This makes it possible to "get out" on mobile.
2018-06-24 06:24:08 -07:00
Henrik Rydgård
4cfc6ee272
Merge pull request #11187 from unknownbrackets/alt-speed
Add second alternate speed and buttons for alt speed
2018-06-24 13:41:12 +02:00
Unknown W. Brackets
f2956a1c1a UI: Show custom speed toggle buttons.
This allows more flexibility if unthrottle is too fast or too uneven.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
69dd59d9b9 UI: Refactor touch control config handling.
Much cleaner this way, less repetition.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
95f270778e Core: Allow toggle between 2 custom speeds.
In addition to virtual keys for each speed separately.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
e2c217ab29 Core: More consistently use config enums. 2018-06-23 10:59:18 -07:00
Unknown W. Brackets
b4496f1975 Core: Move config enums to separate file.
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
0d4bd341e9 Windows: Separate Pause and Break actions.
It was confusing that "Pause" made PPSSPP appear to hang.

This has the side effect of making "Break on Load" work outside Windows.
2018-06-23 10:14:36 -07:00
Unknown W. Brackets
15244b7679 CoreTiming: Reset CPU mhz on reset.
Oops - this wasn't being reset, and stayed at the previous value.
See #5530.
2018-06-22 21:29:18 -07:00
Unknown W. Brackets
fd8a0612fa SaveState: Initialize some memory that is saved.
At the very least, will help them compress better.  Also good not to leak
random memory.
2018-06-22 21:29:18 -07:00
Leo
3090360692 Make HideSaveWarnings global (#11196) 2018-06-19 16:12:33 +02:00