Commit Graph

136 Commits

Author SHA1 Message Date
Bashar Astifan
9b0577351f Review's changes, more fixes and better structure 2023-05-02 00:09:22 +04:00
Bashar Astifan
d0b6935592 UWP Improved Support 2023-04-28 23:22:17 +04:00
Unknown W. Brackets
0ade62d264 Core: Remove Host entirely. 2023-03-25 17:47:25 -07:00
Henrik Rydgård
adccc480a0 Another one bites the dust (SendUIMessage) 2023-03-24 21:39:02 +01:00
Henrik Rydgård
1250692657 Convert host->SetWindowTitle to a request 2023-03-24 17:52:01 +01:00
Henrik Rydgård
b56eef487c Strict mode checking - no way to forget detaching now.
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Unknown W. Brackets
e094f5673a
Core: Fix unused variable warning. 2021-10-22 09:09:06 -07:00
Unknown W. Brackets
1f3d31f687 UI: Fix game installer extension check. 2021-09-26 09:36:52 -07:00
Henrik Rydgård
9ae00b80b1 Cleanup the ownership model in MetaFileSystem.
The old one was error-prone spaghetti.
2021-07-24 10:31:15 +02:00
Henrik Rydgård
2e16e83159 It never ends... 2021-05-13 10:39:16 +02:00
Henrik Rydgård
ae06499a0c Change Copy, Rename to use Path. Remove std::string version of Exists().
Buildfixes

Buildfix
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
cc3868db97 Loaders: Look for PSP/GAME/ not /PSP/GAME/.
Because upcoming Path changes will affect path string comparisons.
2021-05-09 17:50:59 -07:00
Henrik Rydgård
ac68dac029 Loaders: Avoid fileToStart compare with "". 2021-05-09 17:38:39 -07:00
Henrik Rydgård
9480b6672b Loaders: Rename Path() to GetPath().
Path is going to be a struct name.
2021-05-09 17:10:14 -07:00
Henrik Rydgård
f4a6d291e1 Common: Capitalize setCurrentThreadName(). 2021-04-30 23:02:36 -07:00
Unknown W. Brackets
cab2a38498 Reporting: Avoid generated homebrew IDs.
But let through a few more, homebrew rarely reused newer system version
SFOs.  By that point they were doing their own SFOs finally.
2021-04-17 14:28:53 -07:00
Unknown W. Brackets
a6d5c9c0c5 Core: Use homebrew disc IDs/titles when available.
Soem homebrew do have valid data here - better to use it if possible.

This affects reporting, which recently got a large chunk of homebrew
reports with empty titles because of this.
2021-02-28 10:47:51 -08:00
Dylan Smit
b8ccd7fae7
Fixed a PlayStation typo (#13729) 2020-11-30 23:58:43 +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
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
Henrik Rydgård
b58ca8af12
Merge pull request #12945 from unknownbrackets/io-timing
Make file open timing a bit more accurate
2020-07-13 13:37:53 +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
sum2012
adf8d5e831 Real support Code Geass: Lost Colors chinese patched version 2020-06-14 09:43:08 +08:00
sum2012
b3468b2c74 Real support "Hatsune Miku Project Diva Extend" chinese version 2020-06-07 18:15:49 +08:00
Unknown W. Brackets
9b112efa0b Headless: Handle umd mapping with block devices. 2020-05-21 18:58:24 -07:00
Unknown W. Brackets
c829ccb87d Io: Track whether the game is on a UMD or storage. 2020-05-21 18:57:46 -07:00
Unknown W. Brackets
67416e5919 Io: Simulate VFAT bug only when simulating FAT32.
And cleanup flag handling a bit.
2020-05-21 18:57:46 -07:00
Unknown W. Brackets
ab38c387ad Io: Correct some error handling for OpenFile().
See #12433.
2020-03-08 21:22:21 -07:00
Henrik Rydgård
52156ec4e5
Merge pull request #12550 from unknownbrackets/win-long-path
Attempt support for Windows long paths
2020-01-11 23:32:38 +01:00
Unknown W. Brackets
46464d2722 Windows: Resolve module/full paths for long paths. 2020-01-04 09:02:10 -08:00
shenweip
9be8fc6c69 Oops. 2020-01-04 11:14:32 +08:00
shenweip
9fa4ae7b15 fix 2020-01-04 09:11:15 +08:00
shenweip
d09543ebd7 Move umd replace to loaders. 2020-01-02 14:56:24 +08:00
Unknown W. Brackets
913121cf2b Io: Consistently use error codes with OpenFile().
This gets rid of OpenWithError(), and just always returns a negative value
on error for OpenFile().  Also fixed the sequence rollover, which could've
returned 0.

0 should be considered a valid handle ideally, but left it never returning
0 to simplify cleanup in some areas.
2019-10-20 11:03:37 -07:00
Unknown W. Brackets
c8c0cd51c7 Core: Avoid detach for game loading thread. 2019-09-28 11:07:57 -07:00
Unknown W. Brackets
5e2b4d9f1d Config: Specify/save game title on load too.
Needed when we load and then save, of course.
2019-07-17 21:28:21 -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
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
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
Henrik Rydgård
70481c9444 Fix the loading status. Prettify the loading screen by putting the status and spinner along the bottom edge. 2018-03-13 11:25:17 +01:00
Unknown W. Brackets
b41413b8a5 Core: Asynchronously load the main ELF.
Sometimes it takes a little time.  More importantly, this allows us to
load caches or do other things at start that might be a tad slow.

Not doing anything like that yet, though.
2018-01-01 22:58:06 -08:00
Unknown W. Brackets
c097910439 UI: Reset touch controls after config load.
This is potentially earlier than full init, better to move the controls as
soon as possible.
2017-12-09 14:11:39 -08:00
Unknown W. Brackets
2c01bc80d0 Core: Set cwd for non-ms0:/ games on boot.
This isn't ideal (games should be in ms0:/PSP/GAME/), but it gives a
better chance of games working than not setting a cwd at all.

Fixes #9785.
2017-06-07 18:52:46 -07:00
Unknown W. Brackets
7e26c75a27 GE Debugger: Pass filename into dump replay. 2017-06-04 15:11:10 -07:00
Unknown W. Brackets
36069d1446 GE Debugger: Simple framework to load dumps.
This tries to execute them within the context of the emulator as much as
possible, so we don't have weird bugs.  Going with a file type so we can
easily load the dump by opening the file directly.
2017-06-03 15:29:11 -07:00
LunaMoo
3aae24aea5 Remove unnecessary \ / conversion. 2017-05-31 12:44:05 +02:00
LunaMoo
5e0f8141d2 Corrections, some %i->%d around other code as well. 2017-05-30 13:52:29 +02:00