Commit Graph
1834 Commits
Author SHA1 Message Date
Henrik Rydgård fa466d2363 Merge pull request #13850 from unknownbrackets/warnings
Cleanup some warnings and a logger shutdown crash
2021-01-01 19:53:10 +01:00
Unknown W. Brackets 8bf93bb757 http: Ignore signals on recv() too. 2021-01-01 08:58:35 -08:00
Unknown W. Brackets c3ddb279f9 http: Cleanup excessive logging. 2021-01-01 08:55:18 -08:00
Unknown W. Brackets f57c642f0b Common: Fix logging shutdown race condition.
Got a crash during logging on another thread during shutdown.
2021-01-01 08:38:27 -08:00
Unknown W. Brackets 84aa33970b Debugger: Fix some type conversion warnings. 2021-01-01 08:37:54 -08:00
Henrik Rydgård c5d90a7e50 Merge pull request #13831 from unknownbrackets/debugger
Debugger: Tweaks to memory read/write APIs
2020-12-29 10:51:02 +01:00
Unknown W. Brackets 711dd0e8ac Debugger: Correct a type error. 2020-12-28 20:16:49 -08:00
Unknown W. Brackets 3325a27811 Debugger: Cleanup some syntax. 2020-12-28 11:13:54 -08:00
Unknown W. Brackets 7e5052bc9e Debugger: Add API to read/write chunks of memory.
Using base64 at this point to keep JSON.
2020-12-28 10:30:58 -08:00
Unknown W. Brackets 589d83d4da http: Prevent assert on bad websocket data. 2020-12-28 09:30:36 -08:00
Jan Beich 633ba355ee Linux: ignore missing MAP_NORESERVE on FreeBSD
Common/MemArenaPosix.cpp:111:71: error: use of undeclared identifier 'MAP_NORESERVE'
        void *base = mmap(0, EIGHT_GIGS, PROT_NONE, MAP_ANON | MAP_PRIVATE | MAP_NORESERVE, -1, 0);
                                                                             ^
2020-12-27 05:25:05 +00:00
Unknown W. Brackets c7becb2c75 http: Treat buffer full flush correctly.
Unix platforms may fail send with EAGAIN instead of 0 bytes.
2020-12-25 22:30:43 -08:00
Henrik Rydgård e4cecabbf3 UWP: Work around another race condition in StorageFileLoader.
It really needs a rewrite and better error handling but that's for
later.
2020-12-20 12:36:32 +01:00
Henrik Rydgård ddb5462bce Folder browsing on main screen: Prevent navigating "up" when you can't. 2020-12-20 01:47:52 +01:00
Henrik Rydgård 2c4a42a695 UWP: Make the home button say "Home" instead of "Browse...". 2020-12-20 01:47:49 +01:00
Henrik Rydgård aa2f102a0a PathBrowser: Show simplified version of paths under the memstick dir. 2020-12-20 01:00:07 +01:00
Henrik Rydgård d771dca3da Fix navigation upwards from a pinned game streaming folder. Fixes #13224. 2020-12-20 00:49:56 +01:00
Henrik Rydgård a272deeba3 Postprocessing shader, GL: Fix shader version bug. Fixes #13779 2020-12-19 23:45:31 +01:00
Henrik Rydgård 05bfac0ef0 Misc logging improvements 2020-12-19 20:31:58 +01:00
Henrik Rydgård ac6715baa9 Improvements to crash screen.
Part of #13299

Use the new tests/cpu/crash tests in pspautotest to test this code
(manually).
2020-12-19 19:48:24 +01:00
Andrew Church 163ed5b5f7 Linux: Properly avoid committing address space for large mmap().
A shared or writable mapping is charged to the process's memory
commitment regardless of MAP_NORESERVE, so the mmap() call to find a
4G base can still fail depending on memory usage and overcommit settings.
2020-12-19 19:45:42 +09:00
Henrik Rydgård 7de7680416 Apple driver bug workaround. See issue #13451 2020-12-16 14:39:08 +01:00
Henrik Rydgård 2dcfa63498 GL: Detect Apple GPUs as a category 2020-12-14 22:10:18 +01:00
Henrik Rydgård 559ccd9f33 Minor cleanups 2020-12-14 20:06:06 +01:00
Henrik Rydgård 32c9728c0c Some cleanups in GL feature and shader language detection.
Gets rid of many wrong or bad checks for IsCoreContext.
2020-12-14 19:46:11 +01:00
Henrik Rydgård f3ebd6553d Turn off vertex range culling in bezier/spline calls.
When we do lower res tess than the real PSP, we cant trust the game to not cause range culling to kick in.

Fixes #11692
2020-12-13 16:04:16 +01:00
Henrik Rydgård 1c925e705f Merge pull request #13760 from hrydgard/fix-dirt-graphics
Fix car lighting issues in DiRT 2.
2020-12-13 09:19:34 +01:00
Henrik Rydgård 6a5522b185 thin3d: Add a way to query the current render target for debugging. 2020-12-13 00:20:13 +01:00
Halo-Michael 0652d2b52f Change the typo 2020-12-08 14:42:07 +08:00
Halo-Michael a40674d770 Fix loader 2020-12-08 14:40:29 +08:00
Halo-Michael 277b00dfa0 Bundle libMoltenVK 2020-12-08 13:46:14 +08:00
gameblabla 7ef8e64303 Add missing header in Logmanager.h 2020-12-04 21:24:18 +01:00
gameblabla 4fe3786499 Fix headers in MIPSCPUDetect. 2020-12-04 21:23:36 +01:00
Halo-Michael cbcfbca895 sz must be longer than target string 2020-12-03 21:05:00 +08:00
Halo-Michael 95e6a1c7a5 Why not iOS? 2020-12-03 11:43:20 +08:00
Henrik Rydgård 9c8feefcdc M1: Correctly detect core count. 2020-12-02 21:59:18 +01:00
Henrik Rydgård 20d579c3b8 Cleaner way to flush the instruction cache on Mac ARM64 2020-12-02 19:15:08 +01:00
Henrik Rydgård 5077a004ff Mark ARM64 Macs as needing WX-exclusive memory protection 2020-12-02 19:13:52 +01:00
Henrik Rydgård c0a5fa3e8b Fix a crash if JIT space failed to allocate 2020-12-02 00:33:51 +01:00
Henrik Rydgård c0c2bfb293 D3D11: Fix shader module leak in thin3d.
Thanks Unknown.
2020-12-01 09:20:13 +01:00
Henrik Rydgård 032890803e Need to take renderArea into account when merging render passes.
Fixes #13664
2020-11-26 23:29:59 +01:00
iota97 a014d7c785 Remember game list scroll 2020-11-23 10:10:20 +01:00
Henrik Rydgård 3c2733d8eb Adreno/OpenGL: Limit shader depal to 6xx series GPUs. Should help #13668.
Also make a function static.
2020-11-22 18:00:07 +01:00
Henrik Rydgård 29b2f2c4ef Better GLSL version handling. Now specify the latest version supported by the device.
Correct the version check for our own implementations of packUnorm4x8 etc.
2020-11-16 23:30:07 +01:00
Henrik Rydgård 90cc325b53 Clears didn't always properly set the RenderArea. Should help #13664 2020-11-15 22:30:16 +01:00
Henrik Rydgård e14437cb3f OpenGL: Assorted shader-depal bugfixes and regression fixes.
Fixes #13517
2020-11-11 23:09:48 +01:00
Henrik Rydgård a3d06e366f OpenGL: Detect Adreno model number 2020-11-11 22:46:25 +01:00
Henrik Rydgård 34efa1281b More consistent use of GLSL precision modifiers, now use them in Vulkan too.
Might help #13464 ?
2020-11-10 22:42:41 +01:00
Henrik Rydgård d99cba7308 Outrun on OpenGL: Fix weird purple highlight seen on some devices
mediump int is just not enough.
2020-11-10 22:01:57 +01:00
Henrik Rydgård 5eea7435d0 Minor cleanup in GL backend, fixes #13647
Was a stray old texture in boundTextures_ in thin3d. Now makes sure to
invalidate them, and also make it possible to look up bound framebuffer
textures when checking for valid tex parameters.
2020-11-10 00:13:44 +01:00