Commit graph

382 commits

Author SHA1 Message Date
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
iota97
f42e6a984f Rapid fire touch control 2020-01-28 08:52:18 +01: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
3924e457be Also rename the config setting to make sure it starts out off. 2019-10-25 16:03:00 +02:00
Henrik Rydgård
5dc9acf839 Cardboard VR: Add an on-screen VR OFF button. Enable Cardboard on iOS. 2019-10-25 16:03:00 +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
Henrik Rydgård
653afeb7ab Vulkan: Implement basic integrated GPU profiling.
Currently simply measures the total GPU time of the frame. Will later be
extended to get the execution time of individual render passes.
2019-08-21 00:03:00 +02: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
LunaMoo
b87e958693 Replace mouse control with device ID mouse check for threshold. 2019-07-15 03:47:19 +02:00
LunaMoo
3f77bb1da5 Reduce in-game axis bind threshold for mouse control. 2019-07-15 03:30:53 +02:00
LunaMoo
da031ebbdb Fix avi dump via render buffer instead,
with an option to use output buffer since recording with
post process effects will often be desirable.
2019-06-04 07:54:17 +02:00
LunaMoo
57bd3c63f4 Block savestates OSM when video frames are dumped.
Also make the dump messages shorter,
especially dump start since it will be recorded.
2019-05-27 23:43:39 +02:00
Henrik Rydgård
2f26297062 Clean up some more ifdefs 2019-05-10 23:25:57 +02:00
driver1998
0aa33d53c0 Disable features not available on Windows ARM32/ARM64
ARM32: OpenGL & DirectInput
ARM64: OpenGL
2019-05-04 22:45:16 +08:00
Unknown W. Brackets
03bec46b93 UI: Make the screenshot key configurable.
Affects #10825.
2019-04-30 19:01:20 -07:00
LunaMoo
1fa7bbc816 Add texture dump/replace hotkeys. 2019-03-26 06:13:05 +01:00
Henrik Rydgård
7790e61b12
Merge pull request #11866 from unknownbrackets/keyup
UI: Pass touch/button releases to all screens
2019-03-18 11:16:35 +01:00
Henrik Rydgård
55ccc4ed81 On game load error screens, print the filename. May help diagnose issues from screenshots of the error (commonly sent by end-users) 2019-03-13 11:24:23 +01:00
Unknown W. Brackets
1205753289 UI: Pass touch/button releases to all screens.
This way, if you go into a menu and release a button, it still gets
noticed.  This also goes for axis centering (and therefore vkeys.)

Also, move TOUCH_RELEASE_ALL to all screen switches.
2019-03-03 17:50:54 -08:00
Henrik Rydgård
260fd3c9ee ActivateTopScissor doesn't belong in UIContext::Begin. 2018-12-18 10:37:39 +01:00
Henrik Rydgård
2d01db805e Remove no-op DrawBuffer::End() 2018-12-18 10:10:53 +01:00
Henrik Rydgård
442b57033f Attempt to fix the last very common issue of #11493 by being paranoid 2018-11-21 22:40:54 +01:00
Unknown W. Brackets
c96748f0e2 Discord: Attempt to explicitly cleanup on exit. 2018-11-10 09:49:08 -08: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
Unknown W. Brackets
ed90ab4fa6 UI: Fix occassional issue starting second game.
Sometimes render() would be called before update() after creating
EmuScreen, and we'd exit out instead of starting the game.
2018-09-17 22:45:09 -07:00
Unknown W. Brackets
3fc845a265 UI: Delay game config/discord until game info load.
This avoids a race condition where the info is not always available,
causing game-specific config and Discord presence to set incorrectly.
2018-08-22 18:27:20 -07:00
Henrik Rydgård
35e1d0c841 Discord: Translated some messages 2018-08-13 20:14:34 +02:00
Henrik Rydgård
785858dbf8 Basic Discord presence integration. 2018-08-13 00:20:09 +02:00
hissingshark
64e432e12d Moved from using enum to enum class 2018-06-26 07:52:02 +01:00
hissingshark
7fd7afeba9 Added "oldest save" and "slots 1-5" as options for "auto load savestate" 2018-06-25 21:45:51 +01:00
Unknown W. Brackets
ca8677d262 UI: Keep rendering UI even while stepping.
This makes it possible to "get out" on mobile.
2018-06-24 06:24:08 -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
95f270778e Core: Allow toggle between 2 custom speeds.
In addition to virtual keys for each speed separately.
2018-06-23 10:59:18 -07: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
dc840c077d UI: Add a virtkey for holding alt speed.
Can be used for slow motion or fast motion (esp. if unthrottle is too
fast.)
2018-06-23 10:59:17 -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
Unknown W. Brackets
2f2c561b03 UI: Interpret "unthrottle" to mean leave stepping. 2018-06-22 21:33:12 -07:00
Unknown W. Brackets
a5efb85ab7 SaveState: Show warning on old / long use state.
Using save states instead of in game saves causes bugs in games, and
preserves bugs from bad settings and old PPSSPP versions.

This tells users when they might be affected.
2018-06-14 18:29:55 -07:00
Unknown W. Brackets
2e2d8f2989 Core: Process stepping on other platforms.
This includes Android.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets
6e02771591 UI: Use UISTATE_PAUSEMENU while game still running. 2018-06-06 05:58:50 -07:00
Unknown W. Brackets
18bfff5f75 UI: Reinit UI texture during game when used.
Otherwise we may try to use it when it doesn't exist.  This should only
happen on graphics restart.

Potentially related to first crash in #11116.
2018-06-01 21:07:09 -07:00
Henrik Rydgård
b730d187e8 Add some paranoid checks guided by stack traces from Google Play 2018-05-27 22:12:59 +02:00
Unknown W. Brackets
21468ce1e4 UI: Cleaning loading handling and use tags.
The tags should let the tweens persist correctly.  See #10974.
2018-04-29 14:44:00 -07:00
Henrik Rydgård
1f73d78cc8 Oops, meant to commit this. 2018-04-20 11:43:27 +02:00
Henrik Rydgård
68611e85ba Disable the loading state string display, creates too much translation work for 1.6 2018-04-20 11:02:13 +02:00
Unknown W. Brackets
c0f1b7793a UI: Assert on invalid permission status. 2018-04-08 23:54:56 -07:00
Unknown W. Brackets
895de164ed Android: Fix initial start from shortcut.
Fixes #10855.  We have to wait for the permission request to complete.
2018-04-01 23:28: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
Henrik Rydgård
a0fa199ce3
Merge pull request #10715 from unknownbrackets/loading
UI: Show more detailed loading status
2018-03-13 10:44:07 +01:00
Unknown W. Brackets
88e01c7944 UI: Show more detailed loading status.
It's sometimes taking longer, so this may make it easier to identify.

See #10673.
2018-03-12 18:06:46 -07:00