Commit Graph
23576 Commits
Author SHA1 Message Date
Unknown W. Brackets 00a05e97ac Module: Scan modules with no sections at all.
Also, fix some off-by-one issues with end addresses.
2018-01-02 22:20:09 -08:00
Unknown W. Brackets 30b2d05bac Module: Correct detection of executable sections. 2018-01-02 21:53:13 -08:00
Henrik Rydgård 690a409dac Merge pull request #10496 from unknownbrackets/cpu-bgstart
Core: Asynchronously load the main ELF
2018-01-02 11:31:58 +01:00
Henrik Rydgård 3b9d0015a3 Merge pull request #10498 from unknownbrackets/irjit
irjit: Properly account for delay slots in size
2018-01-02 11:31:00 +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 d4400b358a UI: Actually offset text shadow.
It wasn't actually visible before, since it was strictly underneath text
that was usually white.
2018-01-01 22:58:07 -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
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
Unknown W. Brackets b11858d9a0 irjit: Properly account for delay slots in size.
Otherwise we think blocks are 4 bytes too short, which can affect
invalidation.
2018-01-01 22:54:40 -08:00
Unknown W. Brackets 307efe7ecb Merge pull request #10495 from KentuckyCompass/ios-profiler
iOS: Fix crash with USE_PROFILER, pass command line args to NativeInit, misc cleanups
2018-01-01 19:51:46 -08:00
Kentucky Compass e3af9f401f iOS: ViewController cleanups - delete unused code and properties 2018-01-01 19:12:52 -08:00
Kentucky Compass 873dcaa126 iOS: call PROFILE_INIT so we don't crash with USE_PROFILER 2018-01-01 19:10:45 -08:00
Kentucky Compass 20794081ea iOS: Nix iosCanUseJit and targetIsJailbroken. Move NativeInit call to main so it can take cmd line args. 2018-01-01 19:10:44 -08:00
Kentucky Compass 3e5833843a Remove references to AudioEngine, which isn't used anyway 2018-01-01 17:09:48 -08:00
Henrik Rydgård 263941e9e0 Merge pull request #10494 from unknownbrackets/irjit
irjit: Implement lwl/etc.
2018-01-01 19:08:32 +01:00
Henrik Rydgård 3e40db0c00 Merge pull request #10493 from unknownbrackets/logging
Logging: Use AndroidLogger for all mobile devices
2018-01-01 18:05:39 +01:00
Henrik Rydgård a279363814 Merge pull request #10492 from unknownbrackets/hle-log
HLE: Reset latestSyscall on save state load
2018-01-01 18:05:06 +01:00
Unknown W. Brackets 6509f8b433 HLE: Reset latestSyscall on save state load.
Loading a save state might call functions which call HLE log, such as
AtracSetContext.  This was outputting confusing log / reporting messages
based on a random recent syscall.
2018-01-01 08:57:08 -08:00
Unknown W. Brackets 3abcc4d6d8 irjit: Implement lwl/lwr/swl/swr.
This is very similar to the arm64jit implementation.
2018-01-01 08:38:13 -08:00
Unknown W. Brackets b37ba9e599 irjit: Add options for compile/optimize steps.
This way the backend can set flags for the type of IR it wants.  It's
seems too complex to combine certain things like lwl/lwr in a pass.
2018-01-01 08:38:12 -08:00
Unknown W. Brackets 671be24105 irjit: Add extra temps to make lwl/swl/etc. easier. 2018-01-01 08:38:11 -08:00
Unknown W. Brackets 905d2c2da6 irjit: Cleanup some invalid op handling.
And log blocks the same way as other backends.
2018-01-01 08:38:11 -08:00
Unknown W. Brackets d8d174fa2b arm64jit: Avoid spilling an extra reg for lwl/lwr.
It's only needed for swl and swr.
2018-01-01 08:38:10 -08:00
Unknown W. Brackets 8ffb0101fe jit: Report blocks with uneaten VFPU prefixes.
There may be options to avoid, like continuing these blocks, especially if
they're likely or something.
2018-01-01 08:38:10 -08:00
Unknown W. Brackets 0039fa8c0a Logging: Use AndroidLogger for all mobile devices.
Noticed iOS wasn't logging, which seems non-ideal considering Android
does.  Might as well make them behave the same.
2018-01-01 08:37:26 -08:00
Henrik Rydgård 28acc2e9de Merge pull request #10489 from KentuckyCompass/arc-fixes
Modernization of iOS Objective-C code to use Automatic Reference Counting
2018-01-01 09:49:29 +01:00
Henrik Rydgård bf36965410 Merge pull request #10482 from unknownbrackets/irjit
irjit: Speed up icache block invalidation
2018-01-01 09:48:54 +01:00
Kentucky Compass 67c6ecdece nil out sharedViewController in case bindDefaultFBO is called again 2017-12-31 19:53:59 -08:00
Kentucky Compass 152dc2192f iOS: convert all obj-c source code to ARC 2017-12-31 19:36:47 -08:00
Kentucky Compass 4a119beb59 iOS: fix a reference counting bug that may have caused ViewController to never be deallocated 2017-12-31 17:57:39 -08:00
Kentucky Compass c563166f9a Modernize property syntax and don't use viewDidUnload (deprecated in iOS 6) 2017-12-31 17:54:50 -08:00
Kentucky Compass 5b857f08ed Create AppDelegate the standard way instead of in PPSSPPUIApplication init 2017-12-31 16:02:01 -08:00
Unknown W. Brackets 3af78883c7 irjit: Speed up icache block invalidation.
Turns out, in games using a ton of small memcpys, this was causing perf
issues.
2017-12-31 10:37:09 -08:00
Henrik Rydgård e82237bb0d Merge pull request #10481 from KentuckyCompass/ios-audio-fix
iOS: handle audio session interruptions and improve micro-stutter
2017-12-31 10:11:44 +01:00
Kentucky Compass ca5758f80b Change iOSCoreAudio from cpp to mm. Explicitly activate the audio session. Always set the same mDataByteSize. 2017-12-31 00:45:05 -08:00
Kentucky Compass 4cec3d1bf3 Add AVFoundation to linked frameworks on iOS 2017-12-31 00:37:22 -08:00
Kentucky Compass d8b3f4af33 Handle iOS audio session interruptions by reinitializing audio 2017-12-31 00:37:20 -08:00
Unknown W. Brackets 8e1ab3f6ff Merge pull request #10480 from KentuckyCompass/ios-build-fix
Fix building for iOS
2017-12-30 23:03:29 -08:00
Kentucky Compass 6a9a511337 add an include for PPSSPP_PLATFORM 2017-12-30 22:44:41 -08:00
Kentucky Compass bcd19ee520 fix cmake when building for iOS in a path with spaces 2017-12-30 20:57:45 -08:00
Kentucky Compass 2a3c4408d2 Fix build on iOS (only iOS 9 and up support thread_local) 2017-12-30 20:57:45 -08:00
Henrik Rydgård d565e23f4c Stencil copy: Avoid clearing the depth buffer. 2017-12-31 01:06:31 +01:00
Unknown W. Brackets 2f24ff85ee Merge pull request #10479 from hrydgard/vulkan-renderpass-cache
Vulkan: Create renderpass objects on demand.
2017-12-30 15:58:01 -08:00
Henrik Rydgård b9d0bf9842 Remove outdated comment. 2017-12-31 00:10:55 +01:00
Henrik Rydgård cc0327137b Oops, forgot these. 2017-12-31 00:07:02 +01:00
Henrik Rydgård b5e5d72a0a Complete the separation of depth and stencil renderpass flags 2017-12-30 22:52:22 +01:00
Henrik Rydgård a0f718ace1 Start separating depth and stencil renderpass actions, only internally in the Vulkan code so far. 2017-12-30 22:40:57 +01:00
Henrik Rydgård 1e64919392 Vulkan: Create renderpass objects on demand. Just a refactoring to prepare for some later features/optimizations. 2017-12-30 22:35:43 +01:00
Henrik Rydgård b9726245ac Vulkan: Use VK_KHR_DEDICATED_ALLOCATION for frame buffers for minor speedup on some GPUs. Check for the debug report extension before enabling it. 2017-12-30 21:31:43 +01:00
Henrik Rydgård 25a9573f8b Typo fix 2017-12-30 21:30:31 +01:00