Commit Graph

219 Commits

Author SHA1 Message Date
Henrik Rydgård 0829543987 Third part of getting rid of PanicAlert 2020-07-19 20:34:02 +02:00
Henrik Rydgård 626d173d10 Split the fault handling from MemMap.cpp to MemFault.cpp. 2020-07-15 12:12:57 +02:00
Henrik Rydgard 1fce6de8b1 Simple exception handler so we can ignore accesses that happen within the PSP memory space. 2020-07-14 09:25:45 +02:00
Henrik Rydgård 7dcd708fac Address some feedback 2020-07-12 15:25:27 +02:00
Henrik Rydgård 8461ea19b1 Centralize handling of memory exceptions a bit 2020-07-12 15:25:20 +02:00
Henrik Rydgård efc3f4f5e4 Split CORE_ERROR into CORE_BOOT_ERROR and CORE_RUNTIME_ERROR 2020-07-12 15:25:20 +02:00
Unknown W. Brackets 492e8d4f92 Core: Use full memory for ELF files.
We only apply the MEMSIZE check for homebrew in PBP format.
2020-03-16 19:54:48 -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
Unknown W. Brackets 5b5ded058c Windows: Support long My Documents paths. 2020-01-04 10:57:23 -08: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 13f87301cf Merge pull request #12371 from unknownbrackets/thread-detach
Avoid thread.detach(), join when needed instead
2019-10-07 20:27:42 +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
Unknown W. Brackets c8c0cd51c7 Core: Avoid detach for game loading thread. 2019-09-28 11:07:57 -07: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 7ee4d2d5a1 UI: Ask for restart when changing graphics device.
Only for D3D11 and Vulkan.

Also, makes Vulkan follow D3D11 in not changing the setting if the device
is not found on startup.
2018-09-30 00:53:21 -07:00
Unknown W. Brackets d715ed8fba Core: More consistently use directory constants. 2018-09-02 10:27:11 -07: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
Unknown W. Brackets 3dac5f2103 Debugger: Add current game info. 2018-06-08 06:59:17 -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 e313a9bf6c Debugger: Lock startup/shutdown for threadsafety.
Otherwise things can get freed while we're trying to inspect them.
2018-06-06 05:58:49 -07:00
Henrik Rydgård 3733669112 Merge pull request #11058 from unknownbrackets/load-fail
Core: Shutdown properly on load failure
2018-05-20 23:48:11 +02:00
Unknown W. Brackets 9b6dee126d Core: Shutdown properly on load failure. 2018-05-20 14:17:01 -07:00
Henrik Rydgård 3976b03bcd Create vital directories on Android storage permission grant. Should help #11020 2018-05-10 19:32:28 +02:00
Henrik Rydgård a8083b9684 Android: Only keep the screen bright ingame. 2018-05-08 23:05:37 +02: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
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 42f2312030 Remove the old CPU threading remains, start redesigning interfaces. 2018-01-27 15:10:17 +01:00
Henrik Rydgård 1a97f62dc9 Fix running the CPU test from the UI. 2018-01-04 18:10:41 +01:00
Unknown W. Brackets b41413b8a5 Core: Asynchronously load the main ELF.
Sometimes it takes a little time.  More importantly, this allows us to
load caches or do other things at start that might be a tad slow.

Not doing anything like that yet, though.
2018-01-01 22:58:06 -08:00
Kentucky Compass d8b3f4af33 Handle iOS audio session interruptions by reinitializing audio 2017-12-31 00:37:20 -08:00
Henrik Rydgård 4f1e0de9a9 Add missing includes. Remove some more unnecessary #ifdef _DEBUG checks - the debugger is supposed to work in release mode too. 2017-12-20 11:24:05 +01:00
Unknown W. Brackets 60c4ac58f0 System: Allow GPU to have delayed loading. 2017-12-03 11:29:07 -08: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 26e52ca5e8 Get rid of a bunch of sync stuff that's no longer needed. 2017-11-05 23:21:49 +01:00
Henrik Rydgård be2ba4ffb3 Remove the setting to run the display list interpreter on a separate thread. 2017-11-05 23:21:26 +01:00
twinaphex 4855b2d6f1 mingw patches 2017-08-31 22:15:05 +02:00
Unknown W. Brackets 41b485aa0a Core: Refactor repeating disc id homebrew code. 2017-06-03 15:29:08 -07:00
LunaMoo 939b26475d Fix a bunch of emu features for Homebrew by better identification. 2017-05-30 12:20:29 +02:00
LunaMoo a67e5bc8db Use InitMemoryForGamePBP also for homebrew(PSP_PBP_DIRECTORY). 2017-05-24 18:12:35 +02:00
Unknown W. Brackets e8e65881b8 Windows: Avoid restarting completely on GPU change.
This retains the logger, avoids an annoying window open/close, and most
importantly for me: keeps the debugger attached.
2017-04-15 16:33:30 -07:00
Henrik Rydgard cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +02:00
Unknown W. Brackets 51fe978fe1 Core: Clear debug stats on frame start.
This way we can log drops and debug stats at the same time - oops.
2017-04-02 14:49:18 -07:00
Henrik Rydgard 8d1ece05ca Finally move flash0 into assets, fixing #9468 and #9520
CMake fix
Fix the innosetup and zip scripts for the new assets location
2017-04-01 00:20:53 +02:00
Henrik Rydgård 33db883024 Merge pull request #9492 from unknownbrackets/frame-drops
Allow debug logging of frame drops
2017-03-24 20:37:18 +01:00
Unknown W. Brackets 01703f7ffc Core: Add UI option to enable frame drop logging. 2017-03-23 19:27:16 -07:00
Unknown W. Brackets 438af2f4fa Core: Separate collecting and displaying stats. 2017-03-23 18:57:18 -07:00
Henrik Rydgard ff2b6b3fca Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit. 2017-03-23 10:02:28 +01:00
Henrik Rydgård 09a3de1e66 Windows: Get rid of my private gold branch, simply gate behind a define instead. 2017-03-16 15:47:59 +01:00
Henrik Rydgard 5b835839fa Make IdentifiedFileType a proper enum class 2017-03-02 12:29:03 +01:00
Henrik Rydgard 26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00