Henrik Rydgård
d5d25d3da5
Merge pull request #14494 from unknownbrackets/debugger
...
Debugger: Expose API to reset game
2021-05-31 11:44:42 +02:00
Unknown W. Brackets
6e128eb510
Debugger: Expose API to reset game.
...
This can be useful to put the game back to a known-good state before
setting up breakpoints, overwriting memory, and processing replay data.
2021-05-30 21:12:30 -07:00
Henrik Rydgård
0328816870
Rename g_Config.externalDirectory to defaultCurrentDirectory - since that's what it was.
...
Also make currentDirectory a Path, and add support for Path config
parameters.
Buildfixes
More Qt buildfixes
Oops, didn't mean to change zstd ver
2021-05-30 00:49:47 +02:00
Unknown W. Brackets
f2b2f26e8e
Common: Use Path for GetExeDirectory().
2021-05-15 11:12:54 -07:00
Unknown W. Brackets
2558022afe
Config: Move data path settings to Paths.
2021-05-15 11:11:37 -07:00
Unknown W. Brackets
a097403298
Common: Remove File::GetFilename().
2021-05-14 23:08:31 -07:00
Unknown W. Brackets
d376e67f87
Common: Cleanup some Path constructions.
2021-05-14 22:48:04 -07:00
Henrik Rydgård
47039b4bcd
Address all the easy feedback. Some is left.
2021-05-13 10:39:17 +02:00
Henrik Rydgård
2e16e83159
It never ends...
2021-05-13 10:39:16 +02:00
Henrik Rydgård
025bcb1673
Introduce Path, start using it all over the place.
...
Still lots left to convert!
Convert GetSysDirectory to return Path.
More buildfixing
Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
d775bf4e4c
Merge pull request #14442 from unknownbrackets/path-extension
...
Update path extension and PSP/GAME/ handling
2021-05-10 21:05:05 +02:00
Henrik Rydgård
ac68dac029
Loaders: Avoid fileToStart compare with "".
2021-05-09 17:38:39 -07:00
Henrik Rydgård
a40bb2eaa1
headless: Avoid empty string compares for mountIso.
2021-05-09 17:24:04 -07:00
Unknown W. Brackets
8544bd0c3e
Windows: Avoid C++ files for consistency.
...
There's already the mingw thing, and we're avoiding these for Android
paths too. Let's be consistent.
2021-05-09 17:00:48 -07:00
Unknown W. Brackets
07cb37c2c1
Compat: Remove single/double sincos path.
...
New implementation should work for both cases.
2021-04-25 07:09:50 -07:00
Unknown W. Brackets
cb8745bca8
Core: Switch to double precision VFPU sin/cos.
2021-04-24 16:29:20 -07:00
Unknown W. Brackets
49a4edbab5
UI: Show more detailed load error messages.
2021-04-06 07:04:25 -07:00
Unknown W. Brackets
f8306891c5
Windows: Avoid segfault if memory except on boot.
2021-03-28 19:44:17 -07:00
Unknown W. Brackets
4178f09e57
Build: More consistently avoid _M_ defines.
...
We use PPSSPP_ARCH in several places already, this makes it more complete.
2021-03-02 21:49:21 -08:00
Unknown W. Brackets
8c655750fe
SaveState: Delay restart handling until end frame.
...
Otherwise, we end up having unmatched pushbuffer map/unmap.
2021-02-21 08:18:13 -08:00
Unknown W. Brackets
aca9953b3c
Core: Reset state properly on CPU init failure.
2021-02-04 21:41:40 -08:00
Unknown W. Brackets
2a545a317c
Core: Maintain frame dump disc ID in SFO.
...
This way we won't generate a fake one later and use it for anything else.
2021-01-31 09:22:20 -08:00
Unknown W. Brackets
b462946e7c
Core: Properly stop on abrupt shutdown.
...
When dragging a game/dump/etc. into PPSSPP while running, we call shutdown
immediately. This wasn't properly notifying Stop handlers.
Fixes #13884 .
2021-01-07 23:14:54 -08:00
Henrik Rydgård
ed9c54b93a
Add an iOS-only utility in devtools to copy savestates to memstick root.
...
Makes it easier to access the files on iOS over USB from MacOS.
2020-12-16 14:52:34 +01:00
Henrik Rydgård
9e4c7c84ac
Only use double precision sincos in Hitman Reborn Battle Arena 2. See #12900
2020-11-23 23:51:07 +01:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
f01ba6dc84
Move NativeApp.h to Common/System, split into NativeApp.h and System.h
...
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
9e41fafd0d
Move math and some file and data conversion files out from native to Common.
...
Buildfixing
Move some file util files
Buildfix
Move KeyMap.cpp/h to Core where they belong better.
libretro buildfix attempt
Move ini_file
More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +02:00
Unknown W. Brackets
e383b0279f
Plugins: Support for loading game-specific plugins.
2020-09-08 09:12:19 -07:00
Unknown W. Brackets
815580533c
GE Debugger: Include game ID inside dump file.
...
Just so we're not relying on filename parsing. It's useful information.
2020-09-06 14:38:56 -07:00
Henrik Rydgård
b0365bd6ee
GE dump loading: Try to use the correct GameID so compat.ini flags apply.
2020-08-30 11:48:58 +02:00
Henrik Rydgård
5313fc5b36
More work on GL state leaks. Some things really need a redesign.
2020-08-18 09:18:24 +02:00
Henrik Rydgård
ccc0331279
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 20:53:08 +02:00
Unknown W. Brackets
1dc5ee424b
SaveState: Split out Do types to reduce headers.
2020-08-10 08:03:44 +00:00
Henrik Rydgård
0829543987
Third part of getting rid of PanicAlert
2020-07-19 20:34:02 +02:00
Henrik Rydgård
626d173d10
Split the fault handling from MemMap.cpp to MemFault.cpp.
2020-07-15 12:12:57 +02:00
Henrik Rydgard
1fce6de8b1
Simple exception handler so we can ignore accesses that happen within the PSP memory space.
2020-07-14 09:25:45 +02:00
Henrik Rydgård
7dcd708fac
Address some feedback
2020-07-12 15:25:27 +02:00
Henrik Rydgård
8461ea19b1
Centralize handling of memory exceptions a bit
2020-07-12 15:25:20 +02:00
Henrik Rydgård
efc3f4f5e4
Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR
2020-07-12 15:25:20 +02:00
Unknown W. Brackets
492e8d4f92
Core: Use full memory for ELF files.
...
We only apply the MEMSIZE check for homebrew in PBP format.
2020-03-16 19:54:48 -07:00
Unknown W. Brackets
cb1b7b1e43
Core: Bring over some file related Switch changes.
...
Reducing the distance from the Switch port code.
2020-03-03 22:53:03 -08:00
Unknown W. Brackets
5b5ded058c
Windows: Support long My Documents paths.
2020-01-04 10:57:23 -08:00
Henrik Rydgård
19a1fa8430
Add a compat.ini flag for software rendering, use it to force on in Darkstalkers
2019-10-27 20:54:36 +01:00
Henrik Rydgård
13f87301cf
Merge pull request #12371 from unknownbrackets/thread-detach
...
Avoid thread.detach(), join when needed instead
2019-10-07 20:27:42 +02:00
Unknown W. Brackets
5871ab0538
UI: Stop caching the draw context in coreParam.
...
This is possibly getting outdated in some paths of graphics reinit, and
then causing crashes. Let's just always get it from the graphicsContext.
2019-09-28 21:58:15 -07:00
Unknown W. Brackets
c8c0cd51c7
Core: Avoid detach for game loading thread.
2019-09-28 11:07:57 -07: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