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