Merge pull request #388 from xsacha/master

Blackberry 10 port + Readme
This commit is contained in:
Henrik Rydgård 2013-01-10 00:35:28 -08:00
commit c68763fafd
2 changed files with 13 additions and 2 deletions

View File

@ -22,10 +22,15 @@
#include <assert.h>
#include <stdarg.h>
// For cache flushing on Symbian/Blackberry
#ifdef __SYMBIAN32__
#include <e32std.h>
#endif
#ifdef BLACKBERRY
#include <sys/mman.h>
#endif
namespace ArmGen
{
@ -67,6 +72,8 @@ void ARMXEmitter::Flush()
{
#ifdef __SYMBIAN32__
User::IMB_Range( startcode, code );
#elif defined(BLACKBERRY)
msync(startcode, code-startcode, MS_SYNC | MS_INVALIDATE_ICACHE);
#else
__builtin___clear_cache (startcode, code);
#endif

View File

@ -43,8 +43,10 @@ Of course in-tree builds are supported, but that makes cleanup
harder to do; with out-of-tree builds you can just remove the
`build` directory.
Note: There is also a Qt frontend available. Simply compile
PPSSPPQt.pro from [QtCreator][qt-creator].
Note: There is also a Qt frontend available. Simply open
PPSSPPQt.pro in [Qt Creator 2.6+][qt-creator] and press run. The
Qt frontend currently supports Windows, Linux, Blackberry 10,
Symbian and Meego.
Building for Linux/BSD/etc
--------------------------
@ -119,6 +121,8 @@ To build for Symbian, you require:
2) Symbian Qt libraries. You can find these in the final Nokia Qt SDK or online.
3) Set up your SDK to use Symbian GCCE 4.6.3. See a tutorial here: http://www.summeli.fi/?p=4220
Then simply compile the PPSSPPQt.pro with `qmake` from the SDK or [QtCreator 2.6+][qt-creator].