Commit Graph

379 Commits

Author SHA1 Message Date
Unknown W. Brackets
965eeaf9da Add error handling to sceRtcGetDaysInMonth(). 2012-11-22 23:48:12 -08:00
Unknown W. Brackets
21398bfcf8 Fix sceRtc module name so the right funcs are run.
Makes rtc/rtc pass again.
2012-11-22 23:48:12 -08:00
Unknown W. Brackets
6a4a26d4bf No need for these headers anymore. 2012-11-22 23:48:11 -08:00
Henrik Rydgård
d52666171e Merge pull request #81 from unknownbrackets/mutexes
Fix threads locking more than one mutex at a time.
2012-11-22 23:41:46 -08:00
Henrik Rydgård
077e111e8a Merge pull request #80 from xsacha/master
Blackberry 10 port
2012-11-22 23:41:21 -08:00
Sacha
7a98ed79ae Change Blackberry build process (removed package script and integrated in to build). Removed old CMakeLists.txt. Added Blackberry build instrucions to README.md 2012-11-23 10:45:14 +10:00
Unknown W. Brackets
d3f2d9d10b Use u64 here to avoid warnings, better precision.
The timeout value is u32 anyway, so an int was already a loss.
2012-11-22 16:40:26 -08:00
Unknown W. Brackets
c2c2b77792 Fix threads locking more than one mutex at a time.
Duh, of course they can.  Even my test did, I'm stupid.
2012-11-22 16:33:16 -08:00
Henrik Rydgard
e92e919926 Fix problems with additive blending, fix color doubling.
Greatly improves MotoGP among others.
2012-11-23 01:26:12 +01:00
Henrik Rydgard
d141d205f8 Delete old textures, to prevent memory usage from growing indefinitely. 2012-11-22 23:07:15 +01:00
Henrik Rydgård
272bce83d6 Merge pull request #79 from unknownbrackets/master
Remove some warnings, fix old proj files
2012-11-22 13:31:41 -08:00
Henrik Rydgard
08f8f4b323 Cleanup sceRtc, move sceFont to its own file. 2012-11-22 22:30:44 +01:00
Henrik Rydgard
772b599041 Resurrect vmfvc/vmtvc, they are different from mfvc/mtvc 2012-11-22 22:30:44 +01:00
Unknown W. Brackets
f41445354c Correct stdafx.h path in project file. 2012-11-22 13:21:48 -08:00
Unknown W. Brackets
a6a47c0c3e Don't complain when PPGe wasn't init yet.
This was causing BlockAllocator complaints if you closed right away.
2012-11-22 13:21:47 -08:00
Henrik Rydgård
1e68757089 Merge pull request #78 from tmaul/master
Some sceUtility wrapping
2012-11-22 13:19:17 -08:00
kev :)
03c5e83953 Some sceUtility wrapping
Minus OSK and netconf
2012-11-22 20:46:22 +00:00
Henrik Rydgard
02a94e52ee Do GPU ram<->vram block transfers. Could be smart enough to clear textures from cache but isn't yet. 2012-11-22 20:57:41 +01:00
Henrik Rydgard
8f33837de9 Bug fixing mtv/mfv, add comment 2012-11-22 20:14:24 +01:00
Henrik Rydgard
df3aad4341 Upgrade native 2012-11-22 19:00:37 +01:00
Henrik Rydgard
232b84cd10 Assorted FPU/VFPU fixes, after adding more tests. 2012-11-22 18:13:48 +01:00
Henrik Rydgård
15251fe4e9 Merge pull request #77 from xsacha/master
Blackberry 10 port
2012-11-22 02:05:36 -08:00
Sacha
c14331b7f1 More blackberry build cleanup 2012-11-22 19:59:30 +10:00
Sacha
975b8000fc Adjust blackberry build script for new CMakeLists (redundancies, build dir). 2012-11-22 19:25:37 +10:00
Henrik Rydgård
20ac169fbb Merge pull request #76 from Kovensky/cmake
Enable HEADLESS build by default
2012-11-22 00:19:15 -08:00
Kovensky
a911b565ab Don't set ANDROID, the toolchain file already does 2012-11-22 07:56:40 +00:00
Kovensky
d7e0a0c2df Enable HEADLESS build by default
Accidentally disabled by not setting it to ON on non-portables.
2012-11-22 07:56:01 +00:00
Henrik Rydgård
2b528a3680 Merge pull request #74 from Kovensky/readme
Update the README
2012-11-21 14:06:30 -08:00
Kovensky
bb47195ca3 Add build*/ dirs to gitignore 2012-11-21 19:04:23 -03:00
Kovensky
6eb81490b8 Update the README 2012-11-21 19:04:13 -03:00
Henrik Rydgård
e1c91b375c Merge pull request #73 from Kovensky/cmake
CMake-based build system
2012-11-21 11:17:02 -08:00
Kovensky
1654eb7f8d Update bar-descriptor.xml and blackberry_package.sh
The binary that the cmake script produces is PPSSPPBlackberry,
not ppsspp like the old system.
2012-11-21 14:59:50 -03:00
Kovensky
d04a1cadca CMake-based build system.
Tested on Windows with NMake Makefiles and Visual Studio 11 targets.
Tested on Linux with GNU Makefiles target, using GCC as the compiler.
Tested on FreeBSD using clang as the compiler.
Tested for Android on Windows with NMake Makefiles and r8c NDK.

Proxy-tested by xsacha for blackberry.

The android build requires that the android/android.toolchain.cmake
toolchain file is used; an error will be raised if ANDROID is defined
without loading the toolchain file.

When targeting ANDROID, the resulting .so files will be placed in
"android/libs/$ANDROID_ABI" even when building out of tree, since it's
where `ant` expects to find them.

Since the Core library is expected to be named 'ppsspp_jni' on ANDROID,
we also put its name in a variable that is set to 'Core' unless building
on ANDROID, where it is 'ppsspp_jni'.
2012-11-21 14:59:45 -03:00
Diogo Franco (Kovensky)
2936c334b5 Add android.toolchain.cmake from http://code.google.com/p/android-cmake
ANDROID_DEFAULT_NDK_API_LEVEL was changed to 9, otherwise the file
is unchanged.
2012-11-21 14:35:18 -03:00
Kovensky
096eae01b2 Update native submodule 2012-11-21 14:35:18 -03:00
Diogo Franco (Kovensky)
6108e36ae9 Several fixes to build under stricter C++11
Add missing #include to various files.

strings.h isn't provided by MSVC so we don't include it there; it's needed
for other OSes/compilers.

Get rid of pre-ISO-C malloc.h includes; malloc is provided by stdlib.h.

Fixes some linuxisms.

Prepend __builtin_ to __clear_cache, calling it without the prefix is a
GNU extension.
2012-11-21 14:33:50 -03:00
Diogo Franco (Kovensky)
cd93e49584 Move toplevel windows-specific files to the Windows dir 2012-11-21 14:33:38 -03:00
Henrik Rydgård
547945d6ce Merge pull request #71 from xsacha/master
Blackberry 10 port
2012-11-21 09:10:24 -08:00
Henrik Rydgård
aa82ba285f Merge pull request #72 from unknownbrackets/mutexes
Darn, buildfix for debug.
2012-11-21 08:13:59 -08:00
Unknown W. Brackets
1bf04790e9 Darn, buildfix for debug. 2012-11-21 07:28:54 -08:00
Sacha
d914c394ae Version update for Blackberry 2012-11-21 23:04:21 +10:00
Henrik Rydgård
3934876908 Merge pull request #70 from unknownbrackets/mutexes
Mutexes
2012-11-21 01:48:44 -08:00
Unknown W. Brackets
879efb25cc Don't allow unlocking someone else's mutex. 2012-11-21 00:28:29 -08:00
Unknown W. Brackets
fa9b9840d0 Implement LwMutex locking and unlocking. 2012-11-21 00:21:25 -08:00
Unknown W. Brackets
db16f9309e Don't crash if something goes wrong with mutexes.
Probably can't happen but being defensive is good.
2012-11-20 22:57:14 -08:00
Henrik Rydgard
237c19be9d Activate some more tests 2012-11-20 22:41:24 +01:00
Henrik Rydgard
45369af482 0.31 in the UI 2012-11-20 22:41:24 +01:00
Henrik Rydgård
451db6b9df Merge pull request #69 from Orphis/testtimeout
Add a 5s timeout to tests
2012-11-20 12:31:30 -08:00
Florent Castelli
0dc3b0b566 Add a 5s timeout to tests 2012-11-20 20:29:23 +01:00
Henrik Rydgård
2a56d36b12 glViewport calls need to be in pixel coordinates. 2012-11-20 16:48:24 +01:00