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
Henrik Rydgård
0ed3deabe6
Fix #10692 (crash when starting games from command line). Throw in some minor Vulkan fixes as well.
2018-03-08 16:35:13 +01:00
Henrik Rydgård
b9b41f52c5
Add a simple spinner to the game load screen to not look frozen.
2018-02-08 12:03:29 +01:00
Henrik Rydgård
3e56d8bbdf
Noticed that the UWP build has been broken for some time, fix it.
...
Should probably set up a buildbot if we care about this...
2018-02-05 16:21:39 +01:00
Henrik Rydgård
22e28e218b
Merge pull request #10411 from hrydgard/gl-render-manager
...
GL render manager - new faster GL multithreading
2018-01-31 12:22:07 +01:00
Henrik Rydgård
c60c8ed68a
Debug visualization for the Vulkan memory allocator. Shows some interesting behaviour.
2018-01-29 19:38:10 +01:00
Henrik Rydgård
af6431986d
OpenGL: Now run GL on a secondary thread. Sync issues remain.
2018-01-27 15:10:17 +01:00
Unknown W. Brackets
9952d4bac5
UI: Fade in loading much slower to avoid flicker.
...
On Android, it often takes 0.3s or longer to load a game. Avoid fading it
all the way in for just a short moment, if it's gonna be quick.
2018-01-01 23:07:48 -08:00
Unknown W. Brackets
c793da500a
UI: Show PIC1 while loading.
...
In case it takes a second, less ugly than a black screen.
2018-01-01 22:58:07 -08:00
Henrik Rydgård
cc0327137b
Oops, forgot these.
2017-12-31 00:07:02 +01:00
Henrik Rydgård
525cce095a
Implement warning when trying to play Ghost of Sparta with a modified CPU clock, as suggested by unknownbrackets in #7411
2017-12-17 13:14:06 +01:00
Unknown W. Brackets
46ea88e096
UI: Add delay to tweens.
...
Also allow them to start out in an invalid state and accept first divert.
2017-12-10 09:00:52 -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
Henrik Rydgård
7d0fc9ce65
Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc.
2017-12-07 15:05:59 +01:00
Henrik Rydgård
026d3d4a00
Recreate views after boot is done, to workaround #10360 . Not the best solution..
2017-12-07 10:21:33 +01:00
Henrik Rydgård
cf5ede493b
Merge pull request #10247 from unknownbrackets/ui-tween
...
UI: Show a loading message during shader preload
2017-12-06 14:24:21 +01:00
Unknown W. Brackets
4e6c083807
UI: When stepping, clear on initial load.
...
Otherwise we get the UI rather than a black screen.
2017-12-03 19:22:00 -08:00
Unknown W. Brackets
fb91e7f043
UI: Show loading message while shaders preload.
...
This opens the door to doing this for other things we do on game start,
later.
2017-12-03 12:04:42 -08:00
Unknown W. Brackets
15152fc55b
UI: Reorganize EmuScreen so it renders on loading.
2017-12-03 10:39:25 -08:00
Unknown W. Brackets
e945ad6ac1
UI: Avoid navigation with an active dialog.
...
Cleaning up next.
2017-12-02 11:55:05 -08:00
LunaMoo
95a14ca830
Add hotkey to toggle audio and video dumping together in sync.
2017-12-01 23:48:58 +01:00
LunaMoo
2ff4104ddf
Requested changes.
2017-11-14 06:33:49 +01:00
Henrik Rydgård
230f72a110
Oops
2017-11-13 16:38:35 +01:00
Henrik Rydgård
8bfdf7b1b2
Fix annoying little flicker when starting a game.
2017-11-13 15:45:31 +01:00
Unknown W. Brackets
ac78b908d3
UI: Typo fix.
2017-11-12 09:34:22 -08:00
Unknown W. Brackets
2b194d30bf
Debugger: Prevent clear while stepping.
...
So it's easier to see what's going on.
2017-11-11 18:31:13 -08:00
Henrik Rydgård
ec504756e0
Vulkan: Improve init/shutdown logging on Android. Fix a bug where we'd not run InitDeviceObjects on GPU_Vulkan sometimes.
2017-11-09 16:02:05 +01:00
Henrik Rydgård
d618b3673b
Count readbacks in a frame and show in GPU debug stats.
2017-11-08 11:57:53 +01:00
Henrik Rydgård
944cc94630
Vulkan: Better way to make sure we bind the backbuffer at some point.
2017-11-06 23:48:47 +01:00
Unknown W. Brackets
9dfc9ff6ae
Vulkan: Allow clearing the backbuffer to any color.
...
Helps with debugging sometimes.
2017-11-05 22:14:53 -08:00
Unknown W. Brackets
ead4c5f9a8
Vulkan: Make sure backbuffer is bound for UI.
...
Fixes #10048 .
2017-11-05 09:22:14 -08:00
Henrik Rydgård
8d0209c7e4
Stop leaking framebuffers on shutdown. Fix other shutdown issues.
2017-11-01 21:43:08 +01:00
vnctdj
7f37c40382
Make dev menu pop-up title translatable
2017-08-17 23:10:12 +02:00
Gde Made Novan Priambhada
4420719a86
Bug fix
2017-08-09 03:50:31 +08:00
Unknown W. Brackets
7e753ed24a
GLES: Set target w/h in buffered rendering.
...
Otherwise, the flipped scissors don't update on window resize.
Example: when toggling fullscreen.
2017-07-30 14:44:38 -07:00
Gde Made Novan Priambhada
8ec2d50c28
Add virtual key for opening chat
2017-07-02 01:28:38 +08:00
Gde Made Novan Priambhada
97a4d6424f
Rebased and fix the update scroll
2017-07-02 01:28:38 +08:00
Ade Novan
6706698d21
build fix
2017-07-02 01:28:38 +08:00
Ade Novan
624d1cd82f
chat screen & chat button position and hide ui on show chat
2017-07-02 01:28:38 +08:00
Ade Novan
6121dce9e1
remove pointer and using update() should fix random crash (thanks Uknown)
2017-07-02 01:28:38 +08:00
Ade Novan
f514b25c79
Windows CTRL + C Hotkey
2017-07-02 01:28:38 +08:00
Ade Novan
5187b9f118
Add New Chat Counter
2017-07-02 01:28:38 +08:00
Ade Novan
07b1d8b845
pointer fix random crash & better substring logic
2017-07-02 01:28:38 +08:00
sum2012
08a1cc7075
Add translation
2017-07-02 01:28:38 +08:00
sum2012
bd2342ad59
Enable chat box
2017-07-02 01:28:38 +08:00
Ade Novan
10e874cefd
PPSSPP early chat feature rebranched
2017-07-02 01:28:38 +08:00
Unknown W. Brackets
979bc58cac
UI: Translate AVI start/stop strings.
2017-06-03 08:37:55 -07:00
Unknown W. Brackets
d1c9cb8c63
UI: Start a render pass while stepping.
...
We won't start one otherwise. This fixes a crash when auto run is off.
2017-05-31 20:04:02 -07:00
Henrik Rydgård
c173da49d3
Fix a number of bugs and stuff affecting Vulkan on Mali
2017-05-30 09:36:17 +02:00
Henrik Rydgard
32728553bd
Further steps towards Vulkan framebuffer support
2017-05-30 09:36:17 +02:00
Henrik Rydgård
6bcfe539f7
Use vulkan-style clear-on-bind when switching render targets. Not optimally used yet.
...
Also removes a bunch of redundant render target binds.
2017-05-30 09:36:17 +02:00
Henrik Rydgård
0f171acacb
Start refactoring things to be more vulkan-friendly
2017-05-30 09:36:17 +02:00
Unknown W. Brackets
259af56ee6
SoftGPU: Fix rendering when using Direct3D 9.
...
Since we restore dxstate when setting a framebuffer or backbuffer, we need
something that populates it.
2017-05-20 21:29:09 -07:00
Henrik Rydgård
df6ce90c84
When what we need is a shared_ptr, we should just go ahead and use one.
...
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00
Unknown W. Brackets
75898392b9
UI: Proxy devmenu keypress through an event.
...
This prevents a mutex issue in #9626 .
2017-04-17 20:33:22 -07:00
Unknown W. Brackets
e59ebf8ad9
Windows: Add option to browse for bg image.
...
And also to clear the image.
2017-04-02 10:50:09 -07:00
Henrik Rydgard
3c52570552
Add UWP projects and rough UWP entry point application based on the sample
...
Delete sample load, hook things up. It now builds but doesn't run
Reformat, add an event
2017-03-23 10:02:27 +01:00
Unknown W. Brackets
07d2b4fb46
UI: Make popups transition their button.
2017-03-21 18:45:49 -07:00
zminhquanz
ea0aab9340
Add warning simulate block transfer , setting info
...
Add some games compatibility required buffered rendering and warning
required simulate block transfer set to on
2017-03-21 14:23:31 +07:00
Henrik Rydgård
e17772b58d
Merge pull request #9430 from unknownbrackets/input-state
...
Remove legacy InputState tracking
2017-03-15 10:16:14 +01:00
Unknown W. Brackets
9e390510df
Remove legacy InputState.
2017-03-14 22:07:07 -07:00
Unknown W. Brackets
2a745f86ac
Switch to axis for accelerometer usage.
2017-03-14 22:07:03 -07:00
Henrik Rydgard
e37decc9a8
Warn if trying to run some games that are known to require buffered rendering with it not enabled.
2017-03-14 10:36:51 +01:00
Henrik Rydgård
a895936913
More log cleanup. Fix resize issue: Fixes #9392
2017-03-06 13:50:22 +01:00
Henrik Rydgård
440e72d250
Clean up among the logs. Remove MASTER_LOG.
2017-03-06 13:10:23 +01:00
Henrik Rydgard
fa80cfa4aa
Additional UWP preparations
2017-02-25 09:57:14 +01:00
Henrik Rydgard
900539e200
Fix #9340 (touch controls not always getting repositioned correctly)
2017-02-23 09:31:45 +01:00
Henrik Rydgard
5c918da774
Minor cleanups (combined two identical enums, misc)
2017-02-15 11:06:59 +01:00
Henrik Rydgard
0b7f3720ae
More FBO api cleanup
2017-02-04 22:25:34 +01:00
Henrik Rydgard
daee5c24e5
Work towards unifying the GL and DX FBO APIs
2017-02-04 22:25:34 +01:00
Henrik Rydgard
20d9e60a67
Just some renaming. Start moving away from the "thin3d" name
2017-01-30 14:38:31 +01:00
Henrik Rydgard
d9acd27126
Rename GLES files to match the convention the other backends use.
2017-01-23 17:08:58 +01:00
Henrik Rydgård
f86b9f7900
Guess what? More renaming
2016-12-27 11:59:06 +01:00
Henrik Rydgård
463251908b
Rename things to closer match another project which I plan to share some code with
2016-12-27 11:59:02 +01:00
Henrik Rydgård
10393f5d4e
Move Thin3D into the Draw namespace.
2016-12-27 11:58:03 +01:00
Florent Castelli
70593d1004
android: Change preprocessor define to standard __ANDROID__
...
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Unknown W. Brackets
379ec56f0d
Tweak wording to clarify battery save message.
2016-10-10 17:32:25 -07:00
Unknown W. Brackets
6bbb3c0442
Handle clear gpu cache as a global message.
...
This makes it so if you change texture scaling in the Windows menu on the
pause menu, it actually clears the cache.
2016-09-28 22:35:09 -07:00
Unknown W. Brackets
92d930887f
Android: Add both a lost and restore phase.
...
Lost = delete, restore = create. Let's stick to never overlapping.
May help #8912 .
2016-09-10 21:58:42 -07:00
Unknown W. Brackets
b06359edd1
Merge pull request #8945 from RisingFog/frame_dump
...
Add Display Recording and Audio Dumping to Desktop
2016-09-04 15:30:26 -07:00
Unknown W. Brackets
cfbfbc1593
Disable audio on the game pause screen.
2016-09-04 14:03:59 -07:00
Unknown W. Brackets
995e056598
UI: Consistently set bgaudio on game start.
...
Before we were doing it only in certain cases. This now means that
background audio will always play on the pause screen.
Fixes #8944 .
2016-09-04 08:46:19 -07:00
Chris Burgener
78d1af4b50
Fix builds for non-Win32
2016-09-02 12:53:54 -04:00
Chris Burgener
7ca90872fb
Add simple OSD display
2016-09-02 12:53:52 -04:00
Chris Burgener
1fc6191c85
Add Frame Dumping for Windows
2016-09-02 12:52:52 -04:00
Chris Burgener
f090551c2a
Make variables static
2016-08-30 09:09:38 -04:00
Chris Burgener
4ab71eb936
Add check for numFlips to advance per drawn frame
2016-08-29 15:34:00 -04:00
Chris Burgener
e208eff8ab
Set frameStep_ to false on EmuScreen start
2016-08-28 18:18:44 -04:00
Chris Burgener
842a29b0ae
Add Frame Advance
2016-08-28 12:21:45 -04:00
Unknown W. Brackets
a3efa99cd4
UI: Suppress state slot switch preview during boot.
...
Boot may change the slot if the game has game-specific settings, but we
shouldn't show the preview.
Should fix #8916 .
2016-08-16 21:24:01 -07:00
Unknown W. Brackets
1f7a137926
Android: Detect and report power save mode.
...
This shows a message when it's on, or when power drops to low.
2016-07-24 17:04:06 -07:00
Unknown W. Brackets
27d135d48a
Decouple save states from UI.
...
It's the UI's job to decide how and what things are displayed, not Core's.
This also reduces reasons for linkage issues.
2016-05-27 21:25:05 -07:00
Unknown W. Brackets
ac21d2e84d
Clean up save state preview fade.
...
Now it mostly matches the save slot text fade.
2016-05-27 20:53:58 -07:00
Unknown W. Brackets
e6cf296d1a
Trigger save slot display from UI code.
...
Core shouldn't be calling UI code.
2016-05-27 20:53:20 -07:00
Unknown W. Brackets
afdd01571c
Uncouple savestates from NativeApp some.
...
Still have osm.
2016-05-27 20:41:37 -07:00
Henrik Rydgard
ce8aae5ed1
Make the IRJit core selectable in developer tools
2016-05-08 01:43:27 +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
5ef608fa50
GPU stats: Have each backend format its own string.
2016-03-31 10:17:02 +02:00
Henrik Rydgard
c33c3cf3d4
Vulkan: Add ugly temporary warning about buffered rendering not working
2016-03-20 20:26:52 +01:00
Henrik Rydgard
29bc07eb0a
SoftGPU with Vulkan runs but displays black
2016-03-20 20:04:49 +01:00
Henrik Rydgard
2c61b1e763
Change the VulkanPushBuffer API to allow for adding support for dynamic growth
2016-03-20 19:35:03 +01:00
Henrik Rydgard
01e3fbae95
Fix clearing bug, add FIFO_RELAXED flag, etc
2016-03-20 19:30:11 +01:00
Henrik Rydgard
c64064024d
Initial vulkan code.
...
This was squashed from nine commits but using old versions of Vulkan.
2016-03-20 19:18:35 +01:00
Henrik Rydgård
54a37f9bb8
Merge pull request #8591 from unknownbrackets/thin3d
...
Use thin3d for softgpu drawing (+thin3d improvements)
2016-03-20 18:06:53 +01:00
Unknown W. Brackets
ef566a3adf
SaveState: Clean up some constant usage.
2016-02-28 18:21:57 -08:00
Henrik Rydgard
da1a04be8d
Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
...
Cherry-picked from #8592
2016-02-28 12:39:47 +01:00
Unknown W. Brackets
841267c083
d3d9: Allow software rendering selection in UI.
2016-02-13 14:01:57 -08:00
LunaMoo
6061ad7579
Some improvements, comments and polishing.
2016-01-17 09:21:12 +01:00
Henrik Rydgard
e11d0a7e1c
Minor GPU interface cleanup
2016-01-06 23:49:02 +01:00
Unknown W. Brackets
aa0055cea7
Track the running GPU backend separate from config.
...
This way we can change the config directly when we want to save a new
setting, rather than having hacks to use a temp var.
2016-01-05 22:37:28 -08:00
Unknown W. Brackets
6c38b22467
Fix crashes when running games, tests, etc.
...
Need the graphicsContext value to stick around.
2016-01-03 11:05:36 -08:00