Commit Graph

101 Commits

Author SHA1 Message Date
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
LunaMoo
12dc7163f6 Add savestates to the list(with automatic rename) 2017-05-30 12:20:32 +02:00
LunaMoo
939b26475d Fix a bunch of emu features for Homebrew by better identification. 2017-05-30 12:20:29 +02:00
Unknown W. Brackets
c91f9f3a2c Windows: Fix buffer overflow on load.
This was causing headless to crash, not sure what it was doing otherwise.
2017-04-20 21:09:55 -07:00
Henrik Rydgard
26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Henrik Rydgard
fcbc20f240 Small changes to make Common and Core build under my preliminary UWP setup. 2017-02-24 18:59:41 +01:00
Henrik Rydgard
6e83ef0a1b Fix the issue where the first argument to homebrew umd0:/EBOOT.PBP instead of their actual location on the memory stick. Fixes #9326 2017-02-19 10:27:26 +01:00
Florent Castelli
4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02:00
Unknown W. Brackets
5fcf6ee012 Provide clearer errors for invalid ISOs. 2016-06-04 22:10:47 -07:00
Henrik Rydgard
082d839965 Fix minor issues in ISOFileSystem 2016-03-06 14:28:10 +01:00
Unknown W. Brackets
a563e606b3 Resolve PBP directories earlier in load process.
This allows us to initialize the memory AFTER determining the proper size,
in the case of remasters.  It also avoids going through load twice.
2015-12-28 14:13:07 -08:00
Unknown W. Brackets
1987c9e157 Dumb typo fix. 2015-12-28 14:13:06 -08:00
Unknown W. Brackets
cf1b8e5384 Identify remasters based on UMD_DATA hash. 2015-12-28 14:13:05 -08:00
Unknown W. Brackets
f3df6b307f Use a FileLoader for PBPs.
Improves consistency, caching, etc.
2015-12-24 12:21:40 -08:00
Unknown W. Brackets
a53f0360f3 Use a less leak prone interface for PBP reading. 2015-12-24 10:20:27 -08:00
Unknown W. Brackets
7b4315bc70 Respect MEMSIZE for ISOs also, cleanup. 2015-12-24 10:04:08 -08:00
Unknown W. Brackets
d273deedeb Use MEMSIZE SFO param to detect 64MB homebrew.
Now, use 32MB for normal games even in PSP-2000 mode, which is how real
firmware behaves.
2015-12-23 15:16:48 -08:00
Unknown W. Brackets
dd5c91108c Use a background thread to load ISO into RAM.
This way we don't get slow startup.  This will also cache the CSO data,
for example, rather than the raw data, using up less RAM.  It might even
be reasonable to enable on 32-bit.
2015-12-19 15:23:25 -08:00
sum2012
aad95db070 Remove OLD_EBOOT.BIN support
Utawareru Mono Chinese version use it but this still work
2015-04-23 20:16:45 +08:00
Peter Tissen
be3389fdef added optional per-game settings
call button 'game settings' only when modifying game-only settings
make the user confirm deleting settings
2014-12-16 00:14:11 +01:00
Unknown W. Brackets
967b589778 Consistently use FileLoader for standard ISOs. 2014-11-23 13:59:56 -08:00
Unknown W. Brackets
102b7b03fa Add an interface to load files with.
This allows loading from other than raw files.
2014-11-23 13:25:32 -08:00
Henrik Rydgard
1eec10b614 Properly prevent loading ISO to RAM in 32-bit mode (could have been enabled in 64-bit mode where the UI exists) 2014-11-09 12:53:31 +01:00
Henrik Rydgard
291e5e53c0 Add feature to cache ISOs in RAM to avoid I/O stutters. 64-bit only. Loading gets slow though.
TODO: Make it cache in the background on load. Allow on 32-bit for small ISOs.
2014-10-31 00:14:00 +01:00
Unknown W. Brackets
8e14dc1acd Fix path issue running tests on Linux.
No trailing slash.  Doesn't hurt Windows to have an extra one.
2014-08-30 22:38:19 -07:00
Henrik Rydgard
c5861f4277 Rename to ISOBlockSystem, savestate workaround (?) 2014-07-28 00:01:10 +02:00
Henrik Rydgard
8146ff85f3 umd0 solution: Add "OnlyEntireISOFileSystem"
Wraps around an ISOFileSystem, redirecting all the filenames to "" to
achieve the desired effect (should fix Bleach Soul Carnival 2 without resorting
to CPkmn's hack from #6638)

Probably breaks savestates as-is...
2014-07-27 23:42:46 +02:00
Sacha
c745072b55 Update Symbian to GCC 4.8.3 2014-06-11 03:10:50 +10:00
daniel229
7aa75e6e81 World Neverland Qukria Kingdom Stories Chinese translate bypass EBOOT 2014-05-30 12:28:27 +08:00
Unknown W. Brackets
695e9e1b4e Try again to buildfix Symbian. 2014-04-20 08:04:59 -07:00
Unknown W. Brackets
b526661ff5 Buildfix for Symbian. 2014-04-20 08:00:05 -07:00
Unknown W. Brackets
63b5ec3d85 Allow specifying a root path for host0:/.
This way, similar to the PSP, we can have a root path outside the test.
2014-04-19 21:43:09 -07:00
Unknown W. Brackets
996fa39684 Reduce some unnecessary includes in Core/. 2014-03-15 10:41:07 -07:00
Unknown W. Brackets
c7437bbe8e Fix some minor warnings. 2014-03-03 00:08:32 -08:00
sum2012
864c0be604 Fix PAKFILE2.BIN and eboot logic
Fix #5474
2014-02-16 10:51:45 +08:00
daniel229
bbe36fbd8e Code Geass Hangyaku no Lelouch Lost Colors CN translate bypass EBOOT.BIN 2014-02-15 23:52:08 +08:00