Commit Graph
500 Commits
Author SHA1 Message Date
Unknown W. Brackets 4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
shenweip 77da51c418 Also correct the allocated size. 2020-08-05 19:01:00 +08:00
shenweip acc952d839 Correct the alignment size when allocate memory at a position. 2020-08-05 18:43:45 +08:00
ANR2MEandHenrik Rydgård bd36fdda0e Do UPnP stuff on it's own thread to prevent causing stutters/lags during multiplayer game due to blocking socket behavior on miniUPnP 2020-07-23 12:41:13 +02:00
ANR2MEandHenrik Rydgård e21ea719e9 Fixed PortManager fallback Cleanup issue when exiting PPSSPP due to early WSACleanup 2020-07-22 23:13:41 +02:00
ANR2MEandHenrik Rydgård 68fa15784c Fixed UPnP port opened by PPSSPP detection, and Updated PortManager to be compliant to general purpose usage 2020-07-22 23:13:41 +02:00
ANR2MEandHenrik Rydgård b9025b50bd Added a UPnP option to use original port for external port instead of using the shifted port by port offset, to be compatible with real PSP or other PSP emulators 2020-07-22 23:13:41 +02:00
ANR2MEandHenrik Rydgård d12218e8da Attempt to fix compilation error on Linux 2020-07-22 20:41:47 +02:00
ANR2MEandHenrik Rydgård d0045947f1 An attempt to fix socket's behavior inconsistencies across platforms.
Added an option to override minimum socket's timeout to prevent getting timeouts on high latency networks.
2020-07-22 16:46:34 +02:00
ANR2MEandHenrik Rydgård 088e489c91 Fix UPnP error detection
Fix Local IP detection on non-Windows system
2020-07-21 23:03:04 +02:00
ANR2MEandHenrik Rydgård 33d3ac28de Added UPnP Support
Fix i18n type
2020-07-21 23:02:58 +02:00
Henrik Rydgård 47a3bf1dd7 Step 2 of removing PanicAlert 2020-07-19 20:34:02 +02:00
Henrik Rydgård 79b3352b67 Merge branch 'ppge-scroll' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-ppge-scroll 2020-07-19 14:09:24 +02:00
Henrik Rydgård 6f97c3d422 Various platform buildfixes 2020-07-14 09:25:59 +02:00
Henrik Rydgard c988d42b04 ARM/ARM64 instruction analysis, hook up to handler 2020-07-14 09:25:45 +02:00
Unknown W. Brackets b181a93e5e MsgDialog: Add scrollbar when message is long.
Some games hard wrap their messages, and PSP firmware also showed a
scrollbar.  Let's do the same.

One intentional difference: trying to ensure we always show part of a
hidden line to make it clear to the user that there's more text.
2020-07-13 18:24:05 -07:00
Unknown W. Brackets 3586128d8d PPGe: Draw nicer drop shadows.
Only when we have a text drawer for text, because it really adds up.
2020-07-13 18:24:05 -07:00
Unknown W. Brackets 143ba22097 PPGe: Handle text shadows more consistently.
Don't really want them wrapping differently or etc.  Let's handle
centrally so we can make them consistent and better.
2020-07-13 18:20:57 -07:00
Henrik Rydgård 63ead85c7f Some paranoid checks in PPGeDraw. Might help the crash seen in #13047. 2020-06-28 21:35:19 +02:00
Henrik Rydgård 4bcd8df079 Logging improvements and warning fixes.
(Had a super odd crash that I can't repro anymore in PPGe init...)
2020-06-22 22:46:03 +02:00
Unknown W. Brackets 4f586f9567 PPGe: Left align messages in dialogs.
It was previously left aligned, but the TextDrawer was being told to
center.  These are meant to just center the enclosing box of text, not the
individual lines within.

Makes Final Fantasy 3 look a lot better.
2020-05-23 19:59:56 -07:00
Unknown W. Brackets e4abfd5408 PPGe: Remove half-pixel offset.
This made the background misaligned, causing a black border on the right
and bottom edges.
2020-04-22 21:19:34 -07:00
Unknown W. Brackets 41dfe05de2 Headless: Fix compile on Android. 2020-04-05 15:23:13 -07:00
Henrik Rydgård 620aa50cf1 PPGe: Slightly reduce the font size, might help #12764 2020-03-28 14:37:35 +01:00
Unknown W. Brackets dbc78b437e PPGe: Fix dialog button positioning.
The measure was previously the line height, but always ultimately used
as the full text height.  This just makes it always full height.
2020-03-23 18:23:35 -07:00
Unknown W. Brackets d2d07e253b PPGe: Avoid crash with missing metadata. 2020-03-22 07:12:16 -07:00
Unknown W. Brackets da9158b34b UI: Allow startup without UI assets.
On platforms where we render fonts, it is at least somewhat usable without
assets.  A much better experience than a segfault.

On other platforms, it'll probably be mostly unusable, but you can already
get that with an old/wrong assets file.
2020-03-21 21:35:43 -07:00
Unknown W. Brackets de81b706c4 PPGe: Clear unused parts of text image buffers.
Prevents artifacts when the RAM previously had other data in it.
2020-03-11 06:48:11 -07:00
Unknown W. Brackets 5f65c075e2 PPGe: Correct double spacing in some save text. 2020-03-11 06:37:18 -07:00
Unknown W. Brackets 9c9ace6e1a Android: Delay TextDrawer init in PPGe.
We need it to init on the correct thread.
2020-03-10 21:40:47 -07:00
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årdandGitHub 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