Commit Graph

1198 Commits

Author SHA1 Message Date
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