diff --git a/Common/ArmEmitter.cpp b/Common/ArmEmitter.cpp index 2fcdafad51..67f9c2a900 100644 --- a/Common/ArmEmitter.cpp +++ b/Common/ArmEmitter.cpp @@ -22,10 +22,15 @@ #include #include +// For cache flushing on Symbian/Blackberry #ifdef __SYMBIAN32__ #include #endif +#ifdef BLACKBERRY +#include +#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 diff --git a/README.md b/README.md index 0a3eae74d3..118de2e3f4 100644 --- a/README.md +++ b/README.md @@ -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].