Henrik Rydgård
bdd09be76b
SDL (Mac) buildfix
2015-09-06 14:38:15 +02:00
Henrik Rydgard
3f02f9fc77
Move gl_state.cpp/h out to PPSSPP
2015-09-06 13:44:06 +02:00
Henrik Rydgard
3f05c8d990
Remove usage of glstate. It will be moved into PPSSPP, and only used in PSP rendering.
2015-09-06 12:41:37 +02:00
Henrik Rydgård
da38466d29
Minor logging cleanup on non-android unix
2015-09-02 10:18:00 +02:00
Henrik Rydgard
356d35e58b
Some warning fixes
2015-08-30 15:08:31 +02:00
Henrik Rydgård
9baedbcc2a
Shorter file path in ILOG/ELOG/WLOG etc on unix-likes
2015-08-06 17:48:51 +02:00
Henrik Rydgard
32a75bea46
Add an FLOG if profiler depth goes negative. Make Crash()/FLOG actually crash on win64.
2015-06-11 18:43:59 +02:00
Jan Beich
de60aad2ab
base: fallback to Unix desktop, not mobile
2015-05-26 18:07:43 +03:00
Jan Beich
b9b02eb403
DragonFly has bswap* like FreeBSD, Bitrig - like OpenBSD
2015-05-25 19:23:31 +03:00
Henrik Rydgard
a24f22d4e7
Update Qt to fit new definition of UpdateScreenScale. Does not do the smallwindow check though.
2015-05-21 11:44:35 +02:00
Henrik Rydgård
d91ab195c4
Don't use CLOCK_MONOTONIC_RAW on android, it is super choppy on Nexus 9.
2015-04-04 11:27:22 +02:00
Henrik Rydgård
bf4a5f0352
Detect the Android UIMode, use as device type. For better automatic configuration for things like Android TV.
2015-04-03 11:13:38 +02:00
Henrik Rydgård
3ffd5dda1e
Merge pull request #264 from Bigpet/vs2015
...
Make compilable with VS2015
2015-03-06 21:45:00 +01:00
Peter Tissen
30a362f227
Make compilable with VS2015
...
So Microsoft decided to make their C runtime conform to C99
2015-03-06 21:01:19 +01:00
Henrik Rydgard
044cc8e950
clock_gettime(MONOTONIC) seems more appropriate than gettimeofday for our purposes.
...
Reluctant to do this before 1.0 though so I'll leave it as a pull request for now.
2015-01-31 11:35:53 +01:00
Unknown W. Brackets
3af3452d7e
Resize in Qt like in other backends.
...
Should fix switching to fullscren and probably also resizing in general.
2015-01-18 15:29:14 -08:00
Henrik Rydgard
a506ba2e83
Expose/fake native display refresh rate. Only has a real value on Android.
2015-01-14 00:27:21 +01:00
Henrik Rydgard
1b5bf730ca
Same as the last one for BlackBerry and Qt
2015-01-11 14:17:23 +01:00
Henrik Rydgard
b6fea8a355
SDL: Implement SYSPROP_AUDIO_SAMPLE_RATE query
2015-01-11 14:15:26 +01:00
Henrik Rydgard
9201103abe
Get rid of the Java audio path. We now only support Android 2.3+ where it's not needed.
...
Also, expose the optimal sample rate for the platform so we can show it in the UI.
2015-01-11 11:39:30 +01:00
Henrik Rydgard
673491e568
Whitespace fix
2015-01-02 17:25:23 +01:00
Henrik Rydgard
7f0387a31e
Improves buffer overflow protection in LOG macros. Replaces #250 .
...
Also some warning fixes.
2015-01-02 16:36:43 +01:00
Henrik Rydgard
4dce24d05c
Improve Moga version detection - do it after the connect event.
2015-01-01 13:34:32 +01:00
Unknown W. Brackets
9f490ddb0f
Symbian buildfix.
2014-12-31 10:26:10 -08:00
Unknown W. Brackets
48cbcc9a5e
Read from sockets using larger, dynamic buffers.
...
1024 is too small for downloading things.
2014-12-31 09:36:37 -08:00
Unknown W. Brackets
6562ae4ebc
Minor warning fixes.
2014-12-30 10:06:09 -08:00
Unknown W. Brackets
826b12bb70
Tiny optimization for real_time_now() on win.
2014-12-29 10:07:47 -08:00
Gabriel
9eceb70492
Pass -D SDL when SDL is used
2014-12-19 00:03:46 +01:00
Henrik Rydgard
c958ca6b4c
Add version argument to NativeGetAppInfo
2014-12-18 22:50:17 +01:00
Henrik Rydgård
87d2436f82
Merge pull request #243 from LoungeKatt/patch-1
...
use libc++ for iOS to avoid additional directives
2014-12-18 22:42:08 +01:00
Henrik Rydgard
7d86cb2c04
Port my old webserver from the predecessor to native
2014-12-15 00:06:54 +01:00
Lioncash
60f8132d2e
stringutil: Add early-exit case to ReplaceAll
...
If both 'replaceands' are the same, the result string can just be returned.
2014-12-08 14:07:53 -05:00
TwistedUmbrella
a7a9965617
use libc++ for iOS to avoid additional directives
2014-12-05 19:45:51 -05:00
Henrik Rydgård
524fceea5c
Fix text input on SDL platforms. Make V_GONE more consistent.
2014-11-25 19:41:38 +01:00
Unknown W. Brackets
3de556b248
Handle commonly mixed-case headers better.
...
Sometimes you'll see Content-length, etc.
2014-11-25 00:30:13 -08:00
Unknown W. Brackets
c85fb55502
Fix Take() methods.
2014-11-24 07:47:57 -08:00
Unknown W. Brackets
73d5ad3b5c
Make the HTTP client more generic.
...
This way we can send other headers and use HEAD requests.
2014-11-23 16:12:54 -08:00
Sacha
b2ff5bc9f3
Fix backtrace ifdef. Failed on Linux systems that used uclibc. It is actually only available for glibc.
2014-11-18 16:17:56 +10:00
xsacha
62f7b51536
Remove SDL1 code hiding in GLES2 paths.
2014-11-18 13:34:49 +10:00
Henrik Rydgard
ffee75fe5d
Warning fixes
2014-11-16 16:44:32 +01:00
Sacha
1e847f977d
Typo fix.
2014-11-14 03:13:01 +10:00
Sacha
dea2ae0950
SDL: Support low resolution displays by automatically using fullscreen when window is too large.
2014-11-14 01:38:50 +10:00
Unknown W. Brackets
cfc1855620
Correctly append to a fixed buffer while logging.
2014-11-05 08:07:33 -08:00
beaumanvienna
e5682161da
merged with upstream / amended SDL2 multi monitor support
2014-10-15 22:35:03 +02:00
Sacha
d3743d0f39
Fix pause menu on Blackberry.
2014-10-09 04:58:47 +10:00
Henrik Rydgård
dd235f7f24
Merge pull request #239 from fcooper/master-no-x11
...
base: Allow building when not using X11 on a FBDEV based system
2014-10-07 00:44:44 +02:00
Henrik Rydgård
6d1560547e
Merge branch 'PGGB-sdl2'
2014-10-05 14:45:35 +02:00
Henrik Rydgård
d44a702f1e
Merge branch 'sdl2' of github.com:PGGB/native into PGGB-sdl2
2014-10-05 14:21:47 +02:00
Franklin S Cooper Jr
c5bb2c7b23
base: Allow building when not using X11 on a FBDEV based system
...
* Currently building base will fail on non X11 based systems due to
inclusion of X11 headers and some calls to X11 functions.
* Portions of the code currently attempts to avoid calling X11 functions
when fbdev is used. This patch adds additional checks to avoid X11 calls.
Signed-off-by: Franklin S Cooper Jr <fcooper27@gmail.com>
2014-09-26 18:56:17 -05:00
beaumanvienna
d54daa2ea5
amendement for sdl version after Qt changes
2014-09-25 21:59:45 +02:00