Commit Graph

1715 Commits

Author SHA1 Message Date
Henrik Rydgård
45e3b7122b Remove some unused code (error_context, fastlist, stats) 2015-09-19 10:15:24 +02:00
Henrik Rydgård
9636e4cef4 Fix assorted key mapping issues affecting Shield and probably pads in general on Android. See #7976 2015-09-17 22:46:59 +02:00
Henrik Rydgard
aa4a33e6db Fix "ANY" device keydefs (used for ui nav). 2015-09-17 22:07:22 +02:00
Henrik Rydgard
3232e46c36 Make debug build nearly warning free in MSVC 2015 2015-09-17 22:02:15 +02:00
Henrik Rydgård
a71fbccfbc Warning fixes for new LLVM on mac (warns on inconsistent usage of override) 2015-09-17 20:29:37 +02:00
sergiobenrocha2
1c869e4607 png17 must be after image, no need of libzip here; fix freetype2 header. 2015-09-16 01:32:23 -03:00
sergiobenrocha2
91ff535272 Fix atlastool build. 2015-09-16 01:13:15 -03:00
Unknown W. Brackets
7a34d64911 Correct native project file paths.
A couple files were missing causing constant rebuild.
2015-09-12 13:16:46 -07:00
Henrik Rydgard
c757931779 Android: Combine the two Java Eclipse projects into one.
Should make it easier to get ndk-gdb going, which I've always had crazy issues with with library projects.
2015-09-10 18:51:48 +02:00
Henrik Rydgard
dc4fb4ca76 Fix #7884 by fixing silly UI layout bug 2015-09-07 23:51:25 +02:00
Unknown W. Brackets
d403ef6329 Fix StringFromFormat() on MSVC 2015. 2015-09-07 10:27:36 -07:00
Unknown W. Brackets
77f0de9b63 Fix a few more line endings.
Otherwise these will appear dirty often.
2015-09-07 09:19:15 -07:00
Unknown W. Brackets
85533dad6e Native merge part 2: update build files.
And a couple minor stragglers.
2015-09-06 13:06:57 -07:00
Unknown W. Brackets
dbfc5385c3 Fix line-endings in ui/screen. 2015-09-06 12:29:23 -07:00
Unknown W. Brackets
f279c2a3c2 Merge remote repo native into ext/native/. 2015-09-06 12:24:17 -07:00
Henrik Rydgard
fdea85138c Update project files, fix minor issues for VS 2015 2015-09-06 19:32:15 +02:00
Henrik Rydgard
0be2b93ceb More ARM32 NEON encoding horrors (VMOVL, VSHLL) 2015-07-10 23:56:42 +02:00
Henrik Rydgard
59164cdbfb ARM32: Disasm and emit NEON shifts-by-immediate 2015-07-09 00:24:57 +02:00
Jan Beich
b9b02eb403 DragonFly has bswap* like FreeBSD, Bitrig - like OpenBSD 2015-05-25 19:23:31 +03:00
Jan Beich
7af88bf50e ext/stb_vorbis: alloca() is in stdlib.h on BSDs as well
ext/stb_vorbis/stb_vorbis.c:19:10: fatal error: 'alloca.h' file not found
2015-05-25 19:23:31 +03: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
Chin
83b8b23e40 Remove a useless switch 2015-03-01 16:48:24 +01:00
Unknown W. Brackets
1075a394ce Optimize xBRZ with ARGB a bit.
Alpha is quite common with PSP textures.  Measured by Zenju to provide a
15% performance improvement in Visual Studio.
2015-02-21 15:51:03 -08:00
Unknown W. Brackets
0982336565 Oops, fix race in xBRZ buffer alloc. 2015-02-21 15:51:02 -08:00
Unknown W. Brackets
10049e62a8 Allocate the xBRZ buffer only when actually used.
This way if scaling is off, we don't have to worry about potentially
eating more RAM on any platform.
2015-02-21 15:51:02 -08:00
Unknown W. Brackets
3c9150231d Update to xBRZ 1.2, with perf improvements.
Performance improvements in PPSSPP not measured, but xBRZ expects 30%
improvement.  Fixes #7443.
2015-02-21 15:51:01 -08:00
Henrik Rydgard
7f51cd6003 Cleaner fix for compilation problem in SFMT.h, though had to patch it. 2015-02-15 23:14:54 +01:00
daniel229
21b0c2992b Implement sceSfmt19937 module. 2015-02-15 13:22:20 +08:00
sergiobenrocha2
778934641e You need this if you don't want to install libglew-dev dependence. 2015-02-03 17:35:45 -02:00
Henrik Rydgard
4ebdf49fb6 Update ffmpeg to master, also switching to static linking of MSVCRT. Don't forget to update your submodules! 2015-01-24 13:30:37 +01:00
Unknown W. Brackets
5065570c1b Burn troublesome debugging code with fire.
This wasn't doing anything on any platform, even in debug mode, it was
just in upstream in case someone wanted to debug xbrz.

Removing it, will have to remember to remove again when syncing upstream.
It makes Linux still break and does not help cross-compat.
2015-01-19 19:06:32 -08:00
Henrik Rydgård
5c80731637 Merge pull request #7358 from unknownbrackets/warnings
A few more static analysis warnings
2015-01-19 18:15:56 +01:00
Unknown W. Brackets
85fa35f651 Fix an undefined shift operation. 2015-01-19 08:38:16 -08:00
Unknown W. Brackets
11471372d2 Update armips, fix #7357. 2015-01-19 08:30:18 -08:00
Unknown W. Brackets
b32dcf572b Update native (android version fix.)
Fixes #7352.
2015-01-18 15:54:45 -08:00
Unknown W. Brackets
dd5a69c18e Update armips with warning fixes. 2015-01-18 13:00:06 -08:00
Henrik Rydgard
604abe933e Update submodules, add x64Emitter bugfix from Dolphin (plus a few new instrs), misc 2015-01-11 00:12:32 +01:00
Unknown W. Brackets
585d0d3a56 Update armips. 2015-01-04 13:04:30 -08:00
Unknown W. Brackets
6562ae4ebc Minor warning fixes. 2014-12-30 10:06:09 -08:00
Unknown W. Brackets
edb0203cfb Symbian doesn't have alloca.h. 2014-12-25 19:43:06 -08:00
Unknown W. Brackets
10fbb0f6ef Silence some type conversion warnings. 2014-12-21 10:21:58 -08:00
Unknown W. Brackets
f20e05bb4c Fix an undefined pragma warning on non-msvc. 2014-12-21 00:02:08 -08:00
Unknown W. Brackets
07b8637ada Fix a bitwise precedence warning. 2014-12-21 00:01:16 -08:00
Unknown W. Brackets
614ae52eb8 Quiet some warnings in externals.
We're not very worried about these anyway.  Better to not have the spam.
2014-12-20 09:37:55 -08:00
Unknown W. Brackets
561de790d8 Fix an incorrect unsigned compare. 2014-12-20 09:14:33 -08:00
Henrik Rydgård
a346b70341 Fix debug build on mac 2014-12-15 18:52:27 +01:00
Henrik Rydgard
c04a759b1d Update the armips submodule with attempt at blackberry buildfix 2014-12-11 11:45:17 +01:00
Henrik Rydgard
59d41b1803 Update armips (accidentally changed it in a previous commit) 2014-12-08 00:33:03 +01:00
Henrik Rydgard
50bb3e1e05 Minor fixes 2014-12-08 00:18:13 +01:00
Henrik Rydgard
8c128508a5 disarm: Fix a couple of bugs, and disable a broken test to get to the good stuff in ArmEmitter unittest... 2014-12-07 23:24:39 +01:00
Henrik Rydgard
f7baec317c Merge the ARM disassembler improvements from the old neon-vfpu branch
Forgot these...
2014-12-07 22:05:04 +01:00
Henrik Rydgård
0e171efc0d CMakeLists cleanup 2014-12-04 07:19:27 +01:00
Unknown W. Brackets
25a8752dcb Update armips (fixes #7114.) 2014-11-29 09:12:32 -08:00
Kingcom
2159e3b3b6 Update armips 2014-11-29 13:12:55 +01:00
Kingcom
f6cedcbff5 Replace assembler with a submodule 2014-11-23 21:09:40 +01:00
xSacha
df5b9b301c Buildfix for MIPS in debug mode.
Also, remove assumption that EGL means GLES2. My board supports EGL+Desktop GL too.
2014-11-18 13:39:25 +10:00
Henrik Rydgard
74d8a9bdba Clean up after the block linker. armdis: add BKPT 2014-11-17 21:21:34 +01:00
TwistedUmbrella
07f0478425 Xcode 6 / iPhone 6 compatibility updates 2014-11-04 03:37:40 -05:00
Unknown W. Brackets
416182b4ba Update to xBRZ 1.1.
Keeping the channel swap stuff and other changes, though.
2014-11-02 14:17:24 -08:00
Unknown W. Brackets
139277bc1a Update xxhash to r37. 2014-10-26 17:48:59 -07:00
Unknown W. Brackets
6f9ea6ef4b Avoid some warnings in udis86.
These should all be safe.
2014-10-11 09:30:29 -07:00
Unknown W. Brackets
cb6634f54b Add udis86 b24baf1 (1.7.3?), not yet used.
Linked even on arm to avoid dependency complexity, might skip later.
2014-10-11 09:30:29 -07:00
Henrik Rydgard
f84ebf6bff sprintf->snprintf, fix some too short buffers 2014-09-14 00:14:11 +02:00
Henrik Rydgard
a9b5fe44bf Slip thin3d underneath DrawBuffer/UI 2014-08-22 20:54:23 +02:00
Henrik Rydgard
cea002e39a Update GLEW with GL4.4 support 2014-08-21 10:21:37 +02:00
Henrik Rydgard
1140bc7539 Fix inconsistent line endings 2014-07-20 18:31:27 +02:00
Unknown W. Brackets
692dc810cf Update CityHash to v1.1.1/r15.
No major changes.
2014-07-20 08:56:01 -07:00
Henrik Rydgard
a9ab9bcdca android: LDLIBS in a static library just causes warnings: remove 2014-07-20 17:13:51 +02:00
Henrik Rydgard
b980b73f41 Change sum's buildhack to only affect android 2014-07-20 00:23:43 +02:00
sum2012
c93e3149a8 Android build fix for unknown reason
#6575
2014-07-19 07:38:07 +08:00
Unknown W. Brackets
0b34f14935 Cast away some warnings in Snappy. 2014-07-18 09:39:58 -07:00
Unknown W. Brackets
79657af5c8 Update to the latest Snappy 1.1.2.
Not clear if there are any bugfixes, but there are minor performance
improvements.
2014-07-18 09:22:08 -07:00
Henrik Rydgård
fb9f1c2d6a Fix native tools build on mac etc 2014-07-15 17:24:31 +02:00
Sacha
946deda4b3 Remove some redundancy (Symbian/Qt). Symbian has cstdint now. 2014-06-24 08:29:04 +10:00
Sacha
ea17e17ebd Join both Maemo platforms (Maemo5 + Meego Harmattan/Maemo 6) to MAEMO define. Technically they are very similar and anything that wasn't already defined for both probably needed to be. 2014-06-18 03:42:31 +10:00
Sacha
d03acfdbf3 Revert some of that, sorry. 2014-06-10 23:22:20 +10:00
Sacha
f7ffcd4197 Remove a lot of #ifdef's that simply were not needed. For example: Symbian has zip in-built, no need to even compile it let alone use #ifdef's. 2014-06-10 23:05:14 +10:00
Sacha
e57ae29e4a Symbian: Switch to GCC 4.7.3. Blackberry: Switch to GCC 4.8.2 2014-06-09 23:49:30 +10:00
Sacha
d052c403f9 Symbian: Remove outdated ifdefs 2014-06-09 21:45:57 +10:00
Sacha
39d48a7e67 Switch to libpng17 to resolve NEON issue on iOS + other bug fixes. 2014-05-31 04:37:31 +10:00
Henrik Rydgård
1167f20d14 Warning fixes, etc. 2014-04-08 16:08:38 +02:00
Henrik Rydgård
06ec64fa62 Warning fixes 2014-04-08 15:26:37 +02:00
Unknown W. Brackets
3ec61274fa Add prefetch to xxhash func on gcc at least.
Improves hashing speed on Android by ~18%.
2014-03-25 00:34:54 -07:00
Unknown W. Brackets
b00c98a87d Correct disasm for BFI/BFC/UBFX/SBFX. 2014-03-14 19:15:40 -07:00
Henrik Rydgard
ab9cd99d0f Major ARM disassembler improvements, will make debugging the JIT easier 2014-03-12 18:09:28 +01:00
Henrik Rydgard
377a104e68 JSON: Rename single-parameter getString to getStringOrDie to emphasize the danger. 2014-03-09 15:42:59 +01:00
Sacha
30a6a5d10f ARMJIT: Implement VLDM/VSTM load/store combinations and use in armjit. Also add them to disassembler. 2014-03-07 02:56:34 +10:00
Unknown W. Brackets
37dc32a658 Update to xxHash-r33 and apply alignment patch
Patch from: http://code.google.com/p/xxhash/issues/detail?id=15

Makes sense, seems right hopefully.
2014-02-08 19:27:47 -08:00
Unknown W. Brackets
2c204e8028 Update project to MSVC 2013 tools.
Retaining XP support, using SDK 7.1a (v120_xp.)  Disables SSE2 flag on x64
since it's implied and causes compile warnings.
2014-02-08 13:41:28 -08:00
sky-zer
9158e948f3 Force aligned memory access for iOS 2014-02-03 04:00:50 +04:00
Unknown W. Brackets
8a20b28bb6 Workaround a strange zlib crash in debug mode only. 2014-01-27 07:50:45 -08:00
Henrik Rydgard
d19d041640 GPU disasm: Show opcodes. Also disable some warnings and update submodules. 2014-01-15 17:00:20 +01:00
Henrik Rydgård
dfcfe5d00f Android: Allow apps to override the use of low profile.
Minor logging improvement in vjson
2014-01-14 17:32:06 +01:00
Henrik Rydgård
a53f8738d8 Fix disarm warnings in clang more properly 2013-12-09 16:56:05 +01:00
Amir Zaim Mohd Zaini
bfeb3806ba Update buildfix for Clang 3.4
Adding the wrapper to avoid warning "-Wtautological-compare":


#ifdef clang-3.4
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wtautological-compare" //used to avoid warning, force compiler to accept it.
#endif clang-3.4

$Code_Content_Here

#ifdef clang-3.4
#pragma GCC diagnostic pop
#endif clang-3.4

Tested on both GCC and Clang compilers and none of these compilers have this problem.
2013-12-09 21:55:03 +08:00
Sacha
9d5cd81729 iOS: Disable neon in libpng16. 2013-12-09 15:36:48 +10:00
Sacha
8aa73bfc8d iOS buildfix. 2013-12-08 02:49:26 +10:00
Sacha
64b5146718 Add libpng16 to project. 2013-12-08 01:37:22 +10:00
Sacha
26dfe75882 Some improvements to Qt Audio. 2013-12-06 13:06:04 +10:00
Sacha
b83fea1b6b Symbian: libzip buildfix. 2013-12-06 05:03:48 +10:00
The Dax
3c862d7bd5 Win32 doesn't have strings.h. 2013-12-05 12:00:40 -05:00
Henrik Rydgård
e6baad31ed Linux buildfix 2 2013-12-05 15:08:01 +01:00
Sacha
1e03cd84c3 Linux buildfix. 2013-12-05 22:51:51 +10:00
Henrik Rydgard
ae7c0827f2 Hack unicode support into libzip 2013-11-20 19:38:23 +01:00
Henrik Rydgard
857fa4426b Hack libzip into building on win32 2013-11-20 19:01:27 +01:00
Henrik Rydgård
e497942827 Minor json stuff 2013-11-20 14:41:58 +01:00
Sacha
35b84eecac Update to v1.4 of rg_etc1 to fix 64-bit compile bug with gcc. 2013-11-17 15:40:39 +10:00
Henrik Rydgård
64614c954f Update some CMakeLists used by projects other than PPSSPP 2013-11-04 12:27:37 +01:00
Sacha
2e324c9842 Define unaligned access for all ARM. We don't support any that don't. The define didn't exist yet in GCC 4.6 (used by Symbian and Android). 2013-11-04 12:45:13 +10:00
Sacha
03a9cd6711 Fix crashes on Symbian and Blackberry (and likely others) when memory to be hashed is unaligned. Thanks @unknownbrackets 2013-11-04 12:14:21 +10:00
daniel229
9a91f1ecfd Turn off optimazation in vs2013 2013-10-23 20:01:03 +08:00
Henrik Rydgard
c1f05326c4 Better fix for the UINT_64 errors. 2013-10-20 13:51:10 +02:00
Henrik Rydgard
f8cab66c8c Quickfix for android build (weirdly, works locally but not on teamcity) 2013-10-20 13:18:56 +02:00
Sacha
06a7ad40b2 This define is redundant. __STDC_CONSTANT_MACROS should be defined globally instead. 2013-10-20 16:39:22 +10:00
Henrik Rydgård
0f68de275c Minor fixes 2013-10-09 00:44:45 +02:00
Henrik Rydgard
81bbc65216 Update glew 2013-10-08 21:15:09 +02:00
Henrik Rydgard
b661ae6c41 Add very simple jit viewer screen to dev menu. Add untested emitter for cvt.f32.f16 & c:o. 2013-09-29 13:41:56 +02:00
shenweip
03197c376c Fix some double semicolon. 2013-09-15 23:17:22 +08:00
Henrik Rydgard
cc6681cd0b Compile Ced's DX9 GPU on Windows. Not hooked up yet.
This needs work, has several problems that must be fixed to run on Windows.

Ced, you'll have to fix up your xb project file a bit, sorry.
2013-09-15 12:52:44 +02:00
Henrik Rydgard
b19fe900bf Fixes for x86 android build 2013-08-29 20:06:24 +02:00
Henrik Rydgard
55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
Unknown W. Brackets
1ed8edb0d3 Avoid some dangerous hex constant widths. 2013-08-22 23:23:48 -07:00
Unknown W. Brackets
5acbbe705f Tweak xxHash's default settings. 2013-08-16 23:48:42 -07:00
Unknown W. Brackets
95c347b75c Add xxHash-r32 to build (not used yet.) 2013-08-16 23:48:41 -07:00
Unknown W. Brackets
8830d3603e Fix some overflow/null deref warnings. 2013-08-12 23:33:52 -07:00
Unknown W. Brackets
49ab98c7fd Use atomic operations on Android + warning fixes. 2013-08-12 08:51:49 -07:00
Henrik Rydgard
65f8430c32 Quick hacked-up ARM VFP disassembler. Buggy. 2013-07-30 21:39:37 +02:00
Henrik Rydgard
1fdebd53e1 Guard a potential redefine 2013-07-11 22:16:35 +02:00
Unknown W. Brackets
abc9b84bac Improve performance of savestates on x86. 2013-07-10 22:59:18 -07:00
dykebeard
151b377506 Simple PNG screenshot support 2013-07-07 14:32:03 -04:00
Sacha
a8277742ad Buildfix for Symbian and OSX 2013-07-05 19:31:28 +10:00
Sacha
4736b26fc3 Blackberry buildfix: Include should not occur inside namespace. 2013-07-05 14:51:33 +10:00
Henrik Rydgard
72eefa450f Add jpgd (public domain) 2013-07-05 00:06:33 +02:00
Henrik Rydgard
bd78a06015 Add a nice public domain jpeg encoder 2013-06-22 22:27:09 +02:00
Henrik Rydgard
131c222bba Add <stdlib.h> to ext/vjson/block_allocator.cpp, required on some platforms 2013-06-14 22:06:27 +02:00
Henrik Rydgard
2afbc94734 Turn off RTTI, simulate it where needed. 2013-06-09 13:02:16 +02:00
Henrik Rydgard
a3dd3b53c3 Implement a couple basic Psmf functions, unify some project settings, update native. 2013-06-05 21:24:14 +02:00
Henrik Rydgard
2f56f4b050 Upgrade the bundled zlib 2013-06-04 21:43:54 +02:00
Henrik Rydgard
2b3e1355ad More UI fixes 2013-06-03 19:59:32 +02:00
Henrik Rydgard
b3f3305068 vcproj update: enable multithread build 2013-06-02 23:45:44 +02:00
Henrik Rydgard
4267d9903c More networking and UI stuff 2013-06-01 18:59:31 +02:00
Unknown W. Brackets
f16858ac4b Ignore POSIX warnings in zlib. 2013-05-18 10:17:23 -07:00
Unknown W. Brackets
bbbfa715cd Disable edit and continue in zlib.
Fixes #1678.
2013-05-05 08:29:23 -07:00
Peter Thoman
ed870dbcc9 Better alpha component fix for xbrz 2013-05-03 02:44:27 +02:00
Peter Thoman
64146f343a xbrz: fixed byte order, made distance function alpha-aware 2013-05-02 18:24:23 +02:00
Unknown W. Brackets
c73657e39a Buildfix for iOS and Android. 2013-05-01 23:31:18 -07:00
Sacha
ae9490ad30 Use boost to do C++11 features on Symbian. Use namespaces. 2013-05-02 15:46:41 +10:00
Sacha
29651c026b Windows buildfix. Harmattan buildfix (it doesn't have lambdas). Tabify XBRZ. 2013-05-01 12:58:51 +10:00
Sacha
5ea37772d7 pre-C++11 buildfix. Linux buildfix. 2013-05-01 11:19:01 +10:00
Sacha
e698af9924 Symbian buildfix. 2013-05-01 04:53:44 +10:00
Henrik Rydgård
69e168a293 another buildfix 2013-04-30 18:45:49 +02:00
Peter Thoman
392087f26b Added xBRZ library 2013-04-30 03:44:54 +02:00
Unknown W. Brackets
379db49e69 Always optimize zlib, we're not debugging it.
This improves x64 release performance as well.
2013-04-28 22:00:14 -07:00
Henrik Rydgard
660d5700e7 Unify some VS project settings 2013-04-27 19:34:41 +02:00
tpu
28e61dcda7 DLC bug fix 2013-04-26 12:05:21 +08:00
Clément G
b7ab5e9905 Fix build again when __SSE_4_2__ is enabled 2013-04-24 22:37:34 +02:00
tpu
641b78ab67 add DLC support 2013-04-20 13:51:40 +08:00
Henrik Rydgard
82aa605b36 Add back shadows to FPS counter and debug text. Warning fixes. 2013-04-08 20:59:45 +02:00
Henrik Rydgård
8aaa92bf26 Merge pull request #58 from tpunix/fbo_ext
Fbo ext
2013-03-30 00:39:36 -07:00
Henrik Rydgard
4ffc4f0415 Cmakelist update 2013-03-30 00:09:58 +01:00
Henrik Rydgard
75e9af1379 Switch out etcpack with the ZLIB licensed rg_etc1 library 2013-03-29 13:53:04 +01:00
tpu
b1bf596472 define GLEW_STATIC to avoid warning 2013-03-29 14:12:56 +08:00
Henrik Rydgard
46b2e15945 Set _CRT_SECURE_NO_WARNINGS 2013-03-16 09:17:39 +01:00
Henrik Rydgard
516ca8a0c4 Merge branch 'master' into armjit-fpu
Conflicts:
	Core/MIPS/ARM/ArmJit.h
	Core/MIPS/x86/CompVFPU.cpp
	GPU/GLES/Framebuffer.cpp
2013-02-28 23:56:28 +01:00
Henrik Rydgård
d73fcebc3f Quickfix for a symbol collision. Should really share the AES code. 2013-02-25 21:10:15 +01:00
tpu
25a54edc49 add pgd_close, match with pgd_open 2013-02-24 20:19:54 +08:00
tpu
a4f65624c3 add PGD file support. 2013-02-24 16:28:40 +08:00
Henrik Rydgard
f75d14d3b5 ARM FPU jit work 2013-02-10 15:53:56 +01:00
Lioncash
366de9f248 Fix a another memory leak in etctool.
imgdec = (unsigned char*) malloc(expandedwidth*expandedheight*3);
is called before the if statement "if((f=fopen(dstfile,"wb")))"

If the file 'f' failed in the if statement, it would never be freed (since "free(imgdec)" was within that if block.
2013-02-02 13:18:23 -05:00
Lioncash
5b5eec793f Damn tabs. 2013-02-02 01:41:06 -05:00
Lioncash
36c82b5d18 Resource leak fix, also cleanup. 2013-02-02 01:36:53 -05:00
Xele02
aa01751589 Save encryption. Load/Save encrypted/decrypted save
RE of Chnnlsv lib
Correct size bug in kirk
2013-01-29 00:11:02 +01:00
Clément G
5e54aea274 fix city.cpp build when SSE_4_2 is defined 2013-01-27 12:00:43 +01:00
Henrik Rydgard
68991511ee Split out the FPU reg cache into its own file too. 2013-01-26 01:34:19 +01:00
Sacha
d783975258 Fix cityhash for non-glibc systems where byteswap isn't defined. Define it manually instead. Also, fix harmattan building of Qt frontend. 2013-01-23 11:31:19 +10:00
Summeli
0f7f38a5ff Added byteswap functions for Symbian & BlackBerry 2013-01-22 23:20:17 +02:00
Xele02
c02c9e6bdd Remove typedef redefined which break linux build 2013-01-21 01:22:00 +01:00
Unknown W. Brackets
e27faf7c8a Fix a couple signedness warnings in disarm. 2013-01-19 13:51:44 -08:00
Henrik Rydgard
b5037341aa Add cityhash, a good and fast hash. 2013-01-19 12:11:41 +01:00
Henrik Rydgard
7b13477fda Add UnitTest project (only set up win build for now, lazy me)
This is for local testing of stuff that doesn't need to be tested
in context in the emulator.
Enable building ArmEmitter under any platform, just for testing.
2013-01-19 10:07:14 +01:00
Henrik Rydgard
8c06edc47b It's getting close to the first totally unoptimized jit run. 2013-01-08 17:03:17 +01:00
Henrik Rydgard
5d6ff0bc20 More disassembly improvements 2013-01-08 16:47:44 +01:00
Henrik Rydgard
779272e7f5 Teach disarm about MOVW and MOVT. 2013-01-08 16:08:33 +01:00
Henrik Rydgard
b3fd1ff34c Lots of various work on the ARM jit. It executes a couple of blocks now. 2013-01-08 13:49:52 +01:00
Henrik Rydgard
98fd202730 Constify a couple of globals 2013-01-03 12:05:16 +01:00
Henrik Rydgard
618680d379 make stbi_png_partial static 2013-01-03 12:01:51 +01:00
Henrik Rydgard
19b8ff5331 Use snappy to compress savestates. This is a bit of a hackjob sorry, will clean after 0.5. 2013-01-02 22:13:29 +01:00
Henrik Rydgard
1b5407f505 Rewrite the vertex decoder a bit. Turn on SSE2 compiler flag etc. 2012-12-20 15:07:57 +01:00
Sacha
965c93411f Symbian support for project.
Also, check if 24-bit depth is supported and use it (when packed stencil isn't provided). VideoCore III and VideoCore IV used in Symbian, Android and Raspberry Pi require this as they only support 24-bit depth, 8-bit stencil.
2012-12-13 14:39:44 +10:00
Kevin Armstrong
abbe155971 Missing new line at eof warning fix 2012-11-25 00:57:34 +00:00
Kevin Armstrong
31aa8ed5eb Update libkirk to latest version
Just in case..
2012-11-25 00:55:42 +00:00
Henrik Rydgard
d5fdf2271e Project cleanup 2012-11-22 18:55:39 +01:00
Kovensky
9e08523ced Nothing actually requires malloc.h
It's ancient pre-ISO-standard history. Forget about it.
2012-11-18 21:43:03 -03:00
Kovensky
b17119f2c6 Fixes for compatibility with FreeBSD
backtrace.cpp assumes that anything non-windows is linux.

stb_vorbis.c includes malloc.h which has been deprecated since the 90s
on all implementations other than MSVC.

The stat64 hack in file_util.cpp is only needed on linux.

http_client.h also assumes non-windows is linux.
2012-11-18 21:41:44 -03:00
Henrik Rydgard
ac910d7e75 Fix Windows and Android builds. 2012-11-05 15:42:21 +01:00
Arthur Blot
5b5618d32d Added ~PSP decryption system using kirk-engine 2012-11-05 14:59:38 +01:00
MrOrdinaire
a13616e684 fix missing #include's and missing CMake linking directives 2012-11-03 10:34:06 +08:00
MrOrdinaire
a0943beedf fix inconsistent file naming 2012-11-03 01:04:44 +08:00
Henrik Rydgard
33b82fa077 Various 2012-10-31 20:42:43 +01:00
Henrik Rydgard
ce2be356b2 Add stb_image as an alternative to libpng. 2012-10-26 11:19:07 +02:00
Henrik Rydgard
1c1889c726 WIP 2012-09-28 10:01:01 +02:00
Henrik Rydgard
743631c217 Warning fixes. add comments about OpenGL 3 context in SDL. 2012-09-01 15:16:23 +02:00
Henrik Rydgard
4de7dc1b06 Merge branch 'master' of github.com:hrydgard/native into HEAD
Conflicts:
	ext/stb_vorbis/stb_vorbis.c
2012-08-31 13:11:40 +02:00
Henrik Rydgard
c1d198914c Minor fixes 2012-08-31 12:11:11 +02:00
Henrik Rydgard
3a533ad74c Misc 2012-08-29 13:46:28 +02:00
Henrik Rydgard
04cdca530b Add Android.mk that generates a static library, for convenience. 2012-07-26 17:42:19 +02:00
Henrik Rydgard
4fb4124e0a Fixes from fixing the mac port 2012-07-18 12:03:51 +02:00
Henrik Rydgard
a1f8b7e6e1 Listable, json tweaks 2012-06-03 17:24:33 +02:00
Henrik Rydgard
a8eda0db12 Minor stuff 2012-05-06 12:45:59 +02:00
Henrik Rydgard
9d158fcf2d vjson: Add simple accessors for getting arrays and dicts 2012-05-05 21:16:03 +02:00
Henrik Rydgard
7772433257 Floats may look like ints in json. 2012-04-12 17:46:02 +02:00
Henrik Rydgard
3f40c740e2 Make vjson look in the local file system if it can't find it in the VFS. 2012-04-12 17:26:56 +02:00
Henrik Rydgard
315e225684 Add glew 2012-03-27 23:25:04 +02:00
Henrik Rydgard
22dfdd2832 Initial commit 2012-03-24 23:39:19 +01:00