Commit Graph

220 Commits

Author SHA1 Message Date
Unknown W. Brackets
08a6047768 PPGe: Show ellipsis for overly long lines.
To match PPGE_LINE_USE_ELLIPSIS when using TextDrawer.
2020-03-10 21:30:53 -07:00
Unknown W. Brackets
6652fe261f PPGe: Use TextDrawer for save UI if available.
This should result in better spacing for non-Latin characters, and less
missing letters.  Basically the same benefits as for the UI.
2020-03-10 21:30:53 -07:00
Unknown W. Brackets
f2c88d6626 PPGe: Make some of the API internal only.
We don't use these externally and probably won't.
2020-03-10 21:30:53 -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
Henrik Rydgård
4c392c6473 Fix bug in atlas gen.
(Due to the squash and some reordering, the previous commit already
includes fixed metadata)
2020-03-01 12:06:47 +01:00
Henrik Rydgård
45d94c4877 Switch all images to dynamic lookup in the atlas by string ID.
SLN fix

It works, but with the wrong images and the wrong characters!

Fix another bug in atlastool's binary output

Get Android building again.

Oops, didn't mean to disable this permanently.

Error checking

Minor cleanup

Gotta tweak my git ignores...

Regenerate metadata
2020-03-01 12:06:47 +01:00
Henrik Rydgård
7e9578e49d Get rid of atlas tables. 2020-03-01 12:04:51 +01:00
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -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
1307273dd7 UI: Cleanup install threads from UI thread. 2019-09-28 11:39:58 -07:00
Henrik Rydgård
ccf63ef544 Fix crash in zip handling 2019-09-27 22:55:39 +02:00
Unknown W. Brackets
fbcfd77402 UI: Support zip files with deep folder structures.
This will extract the level that has textures.ini, but it doesn't really
handle skipping other folders properly.
2019-07-27 06:17:56 -07:00
Unknown W. Brackets
4832434865 UI: Fix zip leak in error case. 2019-07-15 20:57:43 -07:00
Henrik Rydgård
3f134606e4
Merge pull request #12175 from unknownbrackets/texreplace-install
UI: Allow installing texture packs from zips
2019-07-15 22:03:31 +02:00
Unknown W. Brackets
8aed212952 UI: Allow installing texture packs from zips.
Requires the textures.ini to have a [games] section.
2019-07-14 17:43:51 -07:00
Unknown W. Brackets
07b5470827 UI: Fix type comparison warning. 2019-07-14 15:07:47 -07:00
Henrik Rydgård
274a8d7538 Address review feedback, thanks unknownbrackets 2019-07-14 11:32:32 +02:00
Henrik Rydgård
66c3f31ff9 More GameManager improvements. 2019-07-13 18:19:44 +02:00
Henrik Rydgård
aca0f35bdf Fix build error on non-windows 2019-07-13 18:19:43 +02:00
Henrik Rydgård
0e978ba2e3 Pre-check the contents of ZIP files before allowing install. 2019-07-13 18:19:43 +02:00
Henrik Rydgård
663f10d08b GameManager: Actually allow installing ISOs from zip files. Refactor. 2019-07-13 18:19:43 +02:00
Henrik Rydgård
4d30a8d04e Start refactoring GameManager zip handling to easier support ISOs in zips 2019-07-13 18:19:43 +02:00
Henrik Rydgård
2f26297062 Clean up some more ifdefs 2019-05-10 23:25:57 +02:00
driver1998
5072584781 Fix neon headers for MSVC ARM64
MSVC uses arm64_neon.h for ARM64, arm_neon.h is ARM32 only.
2019-05-04 22:45:15 +08:00
Henrik Rydgård
bd71af24db Fix some minor things found looking at Valgrind output 2019-02-27 13:42:00 +01:00
Unknown W. Brackets
b1146d8d9d PPGe: Correct text wrap without height. 2019-02-20 17:04:30 -08:00
Unknown W. Brackets
9a5fbe5ea5 Savedata: Truncate detail if it's too long.
We could add scrolling later, but this makes it more usable without ugly
text overlap, at least.

Fixes #11711.
2019-02-16 14:52:01 -08: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
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
Henrik Rydgård
407812916d Avoid wrapping when shifting down the audio after scaling by a 20-bit value. Fixes #9967 2017-11-30 18:24:26 +01:00
Henrik Rydgård
6a1fa728d8 Remove Globals.h 2017-08-31 17:15:22 +02:00
Henrik Rydgård
22e65ba80d Get rid of ugly alignment macros and some other cruft, we now have alignas(16) from C++11 2017-08-31 01:14:51 +02:00
Unknown W. Brackets
f35fa998a6 Core: Handle 20-bit volumes in SIMD optimizations.
It was previously only accounting for 17 bits of volume, by mistake.
This was introduced in v1.0.0.

May help #9379.
2017-07-30 11:48:01 -07:00
Henrik Rydgård
66dc0ea62f Typo fix 2017-05-19 11:23:22 +02:00
Henrik Rydgård
d0613511b2 Many reported ANRs were from homebrew installs. Make sure installs run on the background thread. 2017-05-18 14:21:13 +02:00
Henrik Rydgard
b1a530b3a5 Use the root of the memstick as a tempdir for downloads. Should help #8711 2017-04-07 09:58:36 +02:00
Henrik Rydgård
fdfc572b69 Misc logging improvments, minor safety check 2017-03-20 13:07:22 +01:00
Henrik Rydgard
b0bd7e3c6f Minor changes for compatibility with VS2017 2017-03-12 17:33:00 +01:00
Henrik Rydgård
85c8d9b806 Homebrew Store: Add support for cancelling downloads, fix progress bar. Fixes #9374 2017-03-06 16:03:05 +01:00
Henrik Rydgard
7b3f84aae8 More buildfixes for Windows on ARM 2017-03-05 10:52:08 +01:00
Henrik Rydgard
50be4e72b2 Get rid of our own silly reimplementation of std::thread 2017-02-27 20:51:36 +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
a1ec735f6c ARM64Emitter: Implement instructions to move data to/from SP 2017-01-26 14:23:42 +01:00
Florent Castelli
8c3552de74 cmake: Detect features at compile time
Instead of relying on manually passed down flags from CMake,
we now have ppsspp_config.h file to create the platform defines for us.
This improves support for multiplatform builds (such as iOS).
2016-10-19 12:31:19 +02:00
Florent Castelli
4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02:00
Henrik Rydgard
106a7d6a3b Remove more unused code (advanceCallback) 2016-05-01 11:35:16 +02:00
Henrik Rydgard
e611915a52 Rename some GPU classes and enums to fix some consistency issues between the backends. 2016-04-10 10:21:48 +02:00
Henrik Rydgard
3924d8bdea Fix bug in ZIP file extraction breaking the Mega Drops homebrew, and others.
Was rounding file sizes up to the nearest 128k...
2016-03-09 17:02:15 +01:00
Henrik Rydgard
6ef779402a Update PPGE atlas (font used for in-game save dialogs etc) 2016-02-15 19:24:39 +01:00
Unknown W. Brackets
d5196b44f9 Minor tweaks. 2016-01-17 09:45:55 -08:00