Henrik Rydgård
f01ba6dc84
Move NativeApp.h to Common/System, split into NativeApp.h and System.h
...
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437
Move Display.cpp/h to Common.
2020-10-04 11:42:16 +02:00
Henrik Rydgård
821817e6d4
Move the profiler to Common
2020-10-04 11:42:16 +02:00
Henrik Rydgård
989e353482
Common.h shouldn't include Log.h.
...
Buildfixes
More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
de3b46077a
iOS buildfix attempt
2020-10-04 08:25:11 +02:00
Henrik Rydgård
342ed97291
Move input utilities from native to Common/Input.
2020-10-01 09:42:32 +02:00
Henrik Rydgård
054acf768c
Don't cache time in a variable.
...
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
Henrik Rydgård
ccc0331279
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 20:53:08 +02:00
Henrik Rydgård
80e0f85332
Getting really close to getting rid of base/logging.h now.
...
Qt buildfix
2020-08-15 19:09:01 +02:00
Henrik Rydgård
c5e0b799d9
Remove category from _assert_msg_ functions. We don't filter these by category anyway.
...
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Henrik Rydgård
6560192d8e
Support full VSync control in SDL OpenGL.
...
(Not yet Qt).
Forgot about iOS
SDL headless buildfix
Additional iOS buildfix
2020-07-19 12:07:16 +02:00
Florin9doi
bc948b9b94
iOS/macOS : set bundle version
2020-05-01 21:36:55 +03:00
Florin9doi
4bebdb30c6
iOS : File association
2020-04-29 11:02:59 +03:00
Florin9doi
1ccde0427e
iOS Share PPSSPP
2020-04-25 10:07:46 +03:00
Florin9doi
92754e6c45
[iOS] Notch support
2020-04-01 00:05:11 +03:00
Unknown W. Brackets
051a84e9bd
GPU: Restart when changing inflight frames setting.
...
We need to keep the push and pull in step, so changing at runtime is
messy.
2020-03-02 19:21:15 -08:00
Saagar Jha
99c631c791
Improve stability on non-jailbroken devices
...
By setting up a Mach exception handler, we can try to handle most
signals before they cause the system to hang. Since PT_TRACE_ME enables
CS_DEBUGGED on the parent process as well, we can simplify some of the
code as well.
2020-02-24 02:04:04 -08:00
Florin9doi
58b04ef77b
QT Api for Camera (Linux/macOS)
...
Allow the use of different resolutions (win/android/iOS)
2020-02-10 08:47:55 +02:00
李通洲
55bb58e13e
NativeApp: add System_GetPropertyFloat all the places
2020-02-04 09:20:34 +08:00
Florin9doi
83277680da
Location: add HDOP; change speed to km/h; change altitude from geoid to sea level
...
The speed is now close to the value obtained on original hardware but
the altitude on original hardawre is too imprecise to tell if we're good
2020-01-26 14:19:45 +02:00
Florin9doi
2b57d2365f
Android satellites info
2020-01-26 09:22:24 +02:00
Florin9doi
5fbf2d7713
Add camera/location support for iOS
...
Add front camera support for Android
Allow to change the active camera in-game
2020-01-25 16:54:45 +02:00
Sam Bingner
967c6f86b5
Use old jit enablement method if clean method fails
2019-10-16 12:19:47 -10:00
Sam Bingner
e3971dccbd
Fix fork logic
2019-10-14 17:33:04 -10:00
Sam Bingner
169473b7d0
Replace horrible hack with less horrible hack
2019-10-14 15:24:06 -10:00
Henrik Rydgård
da54c8d70c
Experimentally revert a small part of #12094 , ios external display support, that seemed to break exit. See #12140 .
2019-07-07 20:01:31 +02:00
Xie Yi
0e7c85d89e
Disable external display by default
...
Configuration is in system settings
2019-06-19 17:47:14 +08:00
Xie Yi
c0a1404308
Fix invalid mode on iPad Pro 2018
...
When connected to 4K display via C2HDMI cable, the last item in availableModes is 5K.
2019-06-13 22:57:19 +08:00
Xie Yi
4a7e9d47e3
Ignore mute switch when connected to external display
2019-06-11 15:09:42 +08:00
Xie Yi
1affe0bff3
Fix shutdown because of Discord deinitializer
...
f94beb5185/UI/DiscordIntegration.cpp (L40)
Calling exit(0) without NativeShutdown() breaks the assertion.
2019-06-11 14:44:06 +08:00
Xie Yi
364b447ee4
Simple dpi scaling
2019-06-11 14:04:18 +08:00
Xie Yi
a68c982b85
Fix overscan compensation (Hack)
2019-06-11 05:44:58 +08:00
Xie Yi
d5d76b086f
Do some clean up
2019-06-11 02:48:18 +08:00
Xie Yi
bed47ea30a
Fix iPhone won’t switch to external display
2019-06-11 02:30:19 +08:00
Xie Yi
259f0ce22e
Auto switch between internal and external display
2019-06-11 01:24:58 +08:00
Xie Yi
ccfbc5fcd0
Show root view controller on external display
2019-06-09 22:15:39 +08:00
Silent
bb2ba8086b
Improved Show in Folder:
...
- Not spawning cmd.exe anymore, rather using the same way Chromium does to spawn a shell window with a file focused
- Hid a nonfunctional "Show In Folder" button for UWP builds
2019-05-23 19:59:08 +02:00
Jeeeyul Lee
53e254d352
Disables iOS exit animation to prevent freezing.
...
Selective PTRACE sys call.
2019-03-27 11:01:20 +09:00
mygizli04
8a888c57d0
Update Launch Screen.storyboard
2019-01-06 14:42:49 +04:00
mygizli04
8596cc1190
Removed the premade picture
...
Well this both saves some space ( KB's count right? ) and looks better :P The logo is slightly displaced but it's good enough
2019-01-06 14:15:18 +04:00
mygizli04
9a210b4dec
The new Launch Screen ( to include the logo )
2019-01-01 01:24:48 +04:00
Unknown W. Brackets
adeca2c3ba
GLES: Move some vendor bug checks to Draw.
2018-12-23 20:27:22 -08:00
Henrik Rydgård
429a1fce01
Assert even in release mode if preset shaders fail to compile. This is just to help track down a Play crash.
2018-11-21 18:14:26 +01: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
3f1544612b
Android: Add missing graphics shutdown calls.
...
These were there for graphics restart (like resize) but not for full
shutdown, which was causing crashes during shutdown sometimes.
See #10931 .
2018-04-21 08:33:53 -07:00
Xie Yi
597e61c0c9
add support for File app on iOS 11
2018-04-15 22:54:04 +08:00
Conrad Kreyling
b4e315a839
Use tabs for indentation
...
When those Xcode defaults bite you
2018-04-08 13:29:38 -04:00
Conrad Kreyling
3f90c97f39
fix “crash on exit”
...
Leaving this view here causes some kinda race condition on a lock, causing a crash on exit. Simply removing the volume from the superview fixes the issue.
2018-04-08 13:29:38 -04:00
Conrad Kreyling
2febfa1888
allow padding specification, remove NSLog
2018-04-08 13:29:38 -04:00
Conrad Kreyling
cb83ff598b
add updated Obj-C version of SubtleVolume
2018-04-08 13:29:38 -04:00
Henrik Rydgård
5f8118b82b
Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases.
2018-02-25 10:27:59 +01:00
Kentucky Compass
149ca17df6
iOS: fix hang on exit
2018-02-22 03:04:32 -08:00
Unknown W. Brackets
df5144b94c
iOS: Attempt to fix shutdown race condition.
...
Not really tested, but should be necessary...
2018-02-11 11:47:15 -08:00
Kentucky Compass
e7c9afd7bb
another whitespace fix
2018-01-27 15:10:17 +01:00
Kentucky Compass
c5a09de446
one more whitespace fix
2018-01-27 15:10:17 +01:00
Kentucky Compass
d43283239d
whitespace cleanup
2018-01-27 15:10:17 +01:00
Kentucky Compass
49c5880fcc
disable the iOS thread before shutting down
2018-01-27 15:10:17 +01:00
Kentucky Compass
0943cf3fcc
use GLRenderManager on iOS
2018-01-27 15:10:17 +01:00
Conrad Kreyling
0e474077e4
Add taptic feedback on virtual buttons
2018-01-14 13:38:18 -05:00
Kentucky Compass
6ea4924ee9
require iOS 8, add a launch screen
2018-01-04 09:56:49 -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
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
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
d8b3f4af33
Handle iOS audio session interruptions by reinitializing audio
2017-12-31 00:37:20 -08:00
Unknown W. Brackets
766b40aad8
GPU: Reset GPUBackend on graphics init.
...
This way, when using a port that doesn't support Vulkan, it doesn't just
silently use upside down GL, etc.
2017-12-26 16:02:55 -08:00
Henrik Rydgård
b9ba525de1
Don't call functions in asserts, they get compiled out in release...
2017-10-20 14:45:00 +02:00
Henrik Rydgård
017d3da067
Allow D3D9 context creation to bail if shader compilation fails (D3D9 runtime not installed).
...
Fixes an issue where after switching to D3D9 on a PC without the D3D9 runtime, it's impossible to start PPSSPP anymore.
2017-10-20 11:53:07 +02:00
imxieyi
6e9e6f090e
map '`' to back instad of esc
2017-09-04 15:17:03 +08:00
imxieyi
f0ba66fcd6
add support for smart keyboard
2017-09-04 15:05:46 +08:00
Henrik Rydgård
e6bf7b5fe0
Buildfixes
2017-08-07 17:09:16 +02:00
Henrik Rydgård
11c75476f7
Turn g_dpi into a float, because why not
2017-08-07 12:16:08 +02:00
Henrik Rydgård
4491c7e2ca
Quick hack to enable analog stick sensitivity on non-windows platforms.
...
See #8028
2017-05-18 15:15:10 +02:00
Xiong Shimin
17b6f9f7a3
Fix: in some extreme case on-screen touch controls get stuck on iOS
2017-05-01 17:58:35 +08:00
Unknown W. Brackets
3b4103cb3b
System: Use a separate API for bool props.
...
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00
Henrik Rydgard
cf365bb257
Minor cleanup with GOLD define - only use it in System_GetPropertyInt
2017-04-05 16:21:08 +02:00
Henrik Rydgård
22782b6439
UWP: Fix DPI calculations for touch. Implement back button support.
2017-03-23 10:02:29 +01: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
e1bc26e67a
Remove remaining input_state mutexing.
2017-03-14 22:07:06 -07:00
Unknown W. Brackets
255c726c1e
Remove legacy pointer tracking outside Windows.
2017-03-14 22:07:05 -07:00
Henrik Rydgård
7e007c3973
Merge pull request #9426 from unknownbrackets/input-state
...
Remove various legacy parts of the InputState
2017-03-14 09:34:57 +01:00
Unknown W. Brackets
2812ddcc86
Remove End/UpdateInputState and ButtonTracker.
...
No longer used for anything.
2017-03-13 22:58:38 -07:00
Unknown W. Brackets
ef57eafaad
Correct GE debugger font size in small window mode.
...
This should handle high and low DPI cases correctly, to avoid making the
text unreadably small.
2017-03-12 12:17:35 -07:00
Henrik Rydgård
9f17c7f01e
Fix iOS crash. Fixes #9381
2017-03-06 20:27:11 +01:00
Henrik Rydgård
a1941d8a81
It's enough to call net::Init/Shutdown in NativeInit/Shutdown. Remove other calls.
2017-03-06 10:51:28 +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
Henrik Rydgard
55aa879216
A lot of buildfixes
2017-02-06 16:16:43 +01:00
Henrik Rydgard
ad29974a56
Change when drawcontexts are allocated. Hook up backbuffer events to fix d3d9 resizing.
2017-02-06 11:40:16 +01:00
Henrik Rydgard
20d9e60a67
Just some renaming. Start moving away from the "thin3d" name
2017-01-30 14:38:31 +01:00
Henrik Rydgård
b9bbee5c85
Use the mach memory functions on Mac and 32-bit iOS as well.
2017-01-25 20:38:46 +01:00
Henrik Rydgård
193b5f3094
By skipping kernel mappings, I got things to fit in the iOS 64-bit address space. However, something is still a bit broken with JIT...
2017-01-25 18:35:09 +01:00
Henrik Rydgård
5af8b152e1
Further buildfixes
2016-12-27 11:59:12 +01:00
Henrik Rydgard
bb4920298b
ios/ViewController.mm : Add a comment about a future optimization
2016-12-21 17:40:33 +01:00