Skip to content
Archive of entries posted on July 2010

gpSP4Symbian v0.5.1: Support for Samsung i8910

the gpSP is a gameboy advance emulator originally written by Exophase. And now it’s ported to the Symbian  OS!

This is a small patch for the previous version, so no real need to update for Nokia users. However Samsung users might want to test this one ;-)

I have been a bit lazy in gpsp development. I’m currently waiting for more stuff from Qt Mobility project. The current version give only 8khz mono audio, while I would like to have at least 22100hz stereo. I still might implement the audio with standard Symbian API’s. I just would like to wait for the Qt API stuff, since then I would keep the maximum compatibility to Symbian^4 and even to the upcoming Meego. Bot of them should fully support all Qt mobility APIs according to Nokia.

gpSP mainview

What’s new:

  • Support for Samsung i8910
  • Polished mainview
  • fixed the common settings bug with AntSnesQt
  • few other minor bugs fixes

Continue reading ‘gpSP4Symbian v0.5.1: Support for Samsung i8910’ »

Fixing the blit for Samsung i8910

I got lot’s of complaints about the broken blit in gpsp4Symbian with Samsung i8910.

The root cause for this problem is that the following code doesn’t set the ScreenBuffer in samsung into Landscape orientation, while it does work just fine on Nokia’s phones. I heard that there are some other Qt applications ( at least AntSnesQt ;-) that have the same problem, so I felt this worth of sharing.

    CAknAppUi* appUi = dynamic_cast (CEikonEnv::Static()->AppUi());
    TRAPD(error,
    if (appUi) {
     // Lock application orientation into landscape
     appUi->SetOrientationL(CAknAppUi::EAppUiOrientationLandscape);
     appUi->SetKeyEventFlags(CAknAppUi::EDisableSendKeyShort|CAknAppUi::EDisableSendKeyLong);
    }

The screen is still in portrait mode, and therefore it looks like this:

rotated screen with samsung

Fixing the blit comes in two phases:

Continue reading ‘Fixing the blit for Samsung i8910’ »