Henrik Rydgård
7e10633472
Merge pull request #10253 from hrydgard/riff-cleanup
...
RIFF reader cleanup and sanity checks
2017-12-04 18:25:00 +01:00
Henrik Rydgård
c4e8c509d6
RIFF: Add check for truncated files, cleanup a little more.
2017-12-04 18:01:51 +01:00
Henrik Rydgård
b3b57f1b47
Try to protect against bad data in RIFF files (used for menu background audio only)
2017-12-04 17:41:06 +01:00
Henrik Rydgård
b47251dbd4
Even more cleanup of RIFFReader
2017-12-04 17:34:47 +01:00
Henrik Rydgård
210b70ff0c
Kill off more unused code in RIFFReader
2017-12-04 17:30:16 +01:00
Henrik Rydgård
1c0a0fefdb
Remove write support from chunk_file, rename to RIFFReader
2017-12-04 17:27:47 +01:00
Henrik Rydgård
14a263d5b6
Reformat chunk_file. Don't usually reformat whole files, but this was too ugly to work on :P
2017-12-04 17:23:29 +01:00
Henrik Rydgård
ca6865b323
GE Record: After recording a frame, log the filename of the output file.
2017-12-04 15:15:55 +01:00
Henrik Rydgård
fc0f3513bd
Disable "Accurate Depth" in Burnout games, they have trouble with it on Mali (Z-fighting...)
2017-12-04 15:15:12 +01:00
Henrik Rydgård
ab95dcae91
Merge pull request #10249 from unknownbrackets/minor
...
More minor cleanups
2017-12-04 09:49:44 +01:00
Henrik Rydgård
752949bc3e
Merge pull request #10250 from unknownbrackets/android-lock
...
Fix hangs on Android lock/unlock with Vulkan
2017-12-04 09:46:50 +01:00
Unknown W. Brackets
5846016247
Vulkan: Allow shutdown with init commands.
...
On startup, when immediately shutting down, there will be init commands
from creating the backbuffers. Rather than fight this, just free them.
This fixes hangs when locking/unlocking Android.
2017-12-03 20:32:17 -08:00
Unknown W. Brackets
9c046d7518
Android: Fix race condition on lock/unlock.
...
This might be related to the recreate from bad orientation - sometimes, it
was pause/resuming pretty quick, which would get stuck waiting for a join.
2017-12-03 20:32:17 -08:00
Unknown W. Brackets
2e87a652a4
Android: Reset immersive after native dialogs.
...
Not sure why it only happens on OpenGL, but it implies we need to reset
the state after the alert is dismissed. Fixes #10177 .
2017-12-03 19:22:04 -08:00
Unknown W. Brackets
a5998e6dc7
Vulkan: Swap in more forceful asserts.
...
Just in case of unexpected format issues.
2017-12-03 19:22:03 -08:00
Unknown W. Brackets
715a7b7318
Global: Silence some unused declaration warnings.
...
These things aren't used on Android.
2017-12-03 19:22:03 -08:00
Unknown W. Brackets
20c9d0edea
UI: Fix some virtual override warnings.
2017-12-03 19:22:02 -08:00
Unknown W. Brackets
f607f41440
Windows: Stop input poll before emu shutdown.
...
Otherwise, we could crash in the input thread during host deletion.
2017-12-03 19:22:01 -08: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
Henrik Rydgård
7f5ba21402
Merge pull request #10248 from unknownbrackets/android
...
Android: Fix crash on shutdown/restart
2017-12-04 01:13:12 +01:00
Unknown W. Brackets
79f03a0767
Android: Fix crash on shutdown/restart.
...
The text drawing textures needed to be deleted before shutting down their
allocator. Fixes #10244 .
2017-12-03 14:39:00 -08:00
Henrik Rydgård
5eba689d6e
Merge pull request #10243 from unknownbrackets/d3d9-1x
...
UI: Fix D3D9 half-pixel offset at 1x
2017-12-03 17:59:44 +01:00
Unknown W. Brackets
84f5f633df
UI: Fix D3D9 half-pixel offset at 1x.
...
Since we scale by 0.5x for small window, we need to adjust the half pixel
offset to match real pixels.
2017-12-03 06:58:16 -08:00
Henrik Rydgård
aa0cc6712f
Clip block transfer destinations. Should fix crash in #10011 . Stats: Invent some sort of usage metric for device memory allocators.
2017-12-03 15:00:25 +01:00
Henrik Rydgård
cc2e162a00
Merge pull request #10242 from hrydgard/thin3d-texture-alloc
...
Use a VulkanDeviceAllocator for thin3d textures. Saves on allocations.
2017-12-03 14:26:47 +01:00
Henrik Rydgård
6a2f0f4191
Revert "Fix memory-scan bug in VulkanDeviceAllocator that probably causes some fragmentation."
...
This reverts commit ac6b491287 .
2017-12-03 11:31:25 +01:00
Henrik Rydgård
ac6b491287
Fix memory-scan bug in VulkanDeviceAllocator that probably causes some fragmentation.
2017-12-03 11:10:40 +01:00
Henrik Rydgård
1bf44b7ca3
Shutdown fix.
2017-12-03 11:02:49 +01:00
Henrik Rydgård
6abdbde47e
Fix bugs in VulkanImage allocator support
2017-12-03 10:50:25 +01:00
Henrik Rydgård
5d53f5e24c
Add another assert, which gets hit.. Hm. Something is wrong..
2017-12-03 10:42:19 +01:00
Henrik Rydgård
ff264efe7e
Change some Crash() to asserts in VulkanDeviceAllocator
2017-12-03 10:35:34 +01:00
Henrik Rydgård
d0c248368d
Use a VulkanDeviceAllocator for thin3d textures. Many devices have a hard limit on the total number of allocs and it's unnecessary to have the UI put pressure on that.
2017-12-03 10:29:41 +01:00
Henrik Rydgård
97bdc72d90
Vulkan: Only call EndCreate on the texture if it actually exists.. Though not having one would be bad.
2017-12-03 10:21:51 +01:00
Henrik Rydgård
1cb3564c11
Merge pull request #10239 from unknownbrackets/ui-minor
...
UI: Send prompt results even on back/cancel
2017-12-03 10:01:22 +01:00
Henrik Rydgård
a58ef7ce6b
Merge pull request #10238 from unknownbrackets/hashmaps
...
Fix missing Maintain() for some hashmaps
2017-12-03 10:00:49 +01:00
Unknown W. Brackets
cde6b3d3e4
UI: Send prompt results even on back/cancel.
...
Before, if you went to the GPU backend prompt, and canceled, it would
never call the callback, and so the g_Config value never got reset.
2017-12-02 19:04:33 -08:00
Unknown W. Brackets
0dee041002
D3D11: Change state caches to DenseHashMaps.
2017-12-02 18:55:02 -08:00
Unknown W. Brackets
243304a5e8
Hashmaps: Fix missing maintain calls in non-GLES.
...
Should only matter if vertex cache is enabled.
2017-12-02 18:27:18 -08:00
Henrik Rydgård
d6b7cde718
Fix a use-after-free in sceKernelTerminateDeleteThread
2017-12-03 02:33:50 +01:00
Henrik Rydgård
4c114c1b1a
Merge pull request #10236 from unknownbrackets/text-wrap
...
UI: Fix text wrapping issues
2017-12-03 02:19:41 +01:00
Unknown W. Brackets
04c61ea429
Android: Render text with newlines properly.
...
Fixes the Android part of #10217 .
Not sure if the line height calculation is ideal but it's visually fine.
2017-12-02 16:05:35 -08:00
Henrik Rydgård
b795258469
Merge pull request #10234 from unknownbrackets/ui-message
...
UI: Handle messages even when dialog is top
2017-12-03 00:34:02 +01:00
Unknown W. Brackets
4ad7107151
UI: Wrap text properly with explicit newlines.
...
Fixes the non-Android part of #10217 .
2017-12-02 14:38:59 -08:00
Unknown W. Brackets
8e27600236
UI: Clean up some unused code and flags.
2017-12-02 13:52:10 -08:00
Unknown W. Brackets
8a58bf6596
Hashmaps: Another cleanup.
2017-12-02 11:55:54 -08:00
Unknown W. Brackets
5c81c67410
UI: Avoid pushing a screen on top of itself.
...
In case someone doesn't realize they're on settings, or etc.
2017-12-02 11:55:06 -08:00
Unknown W. Brackets
f1bd54148b
UI: Cleanup common message handling.
...
Most of it can just be handled by the common parent classes.
2017-12-02 11:55:06 -08:00
Unknown W. Brackets
e945ad6ac1
UI: Avoid navigation with an active dialog.
...
Cleaning up next.
2017-12-02 11:55:05 -08:00
Unknown W. Brackets
68a5861f60
UI: Send messages to dialog parents by default.
...
If it has no sendMessage(), it probably still makes sense to send to the
parent (especially cpu change, clear cache, etc.)
This fixes the ability to change CPU cores ingame, and also fixes other
settings which weren't properly clearing caches.
2017-12-02 11:55:04 -08:00
Unknown W. Brackets
1f9fabee57
Merge pull request #10232 from unknownbrackets/shader-ids
...
GLES: Improve shader cache logging, another hashmap fix
2017-12-02 14:54:08 -05:00