mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
UIQ3 bugfixes, SVP drc indirect jumps, stuff
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@572 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
02ba8788a0
commit
f8af96349e
29 changed files with 193 additions and 157 deletions
|
@ -35,6 +35,7 @@
|
|||
#include "../common/emu.h"
|
||||
#include "emu.h"
|
||||
|
||||
extern "C" char menuErrorMsg[];
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
@ -235,26 +236,18 @@ void CPicolAppView::DisplayOpenROMDialogL()
|
|||
iROMLoaded = EFalse;
|
||||
switch (res)
|
||||
{
|
||||
case PicoErrRomOpenFailed:
|
||||
CEikonEnv::Static()->InfoWinL(_L("Error"), _L("Failed to open file."));
|
||||
case PicoErrRomOpenFailed: {
|
||||
TBuf<64> mErrorBuff;
|
||||
TPtrC8 buff8((TUint8*) menuErrorMsg);
|
||||
mErrorBuff.Copy(buff8);
|
||||
CEikonEnv::Static()->InfoWinL(_L("Error"), mErrorBuff);
|
||||
break;
|
||||
}
|
||||
|
||||
case PicoErrOutOfMem:
|
||||
CEikonEnv::Static()->InfoWinL(_L("Error"), _L("Failed to allocate memory."));
|
||||
break;
|
||||
|
||||
case PicoErrNotRom:
|
||||
CEikonEnv::Static()->InfoWinL(_L("Error"), _L("The file you selected is not a game ROM."));
|
||||
break;
|
||||
|
||||
case PicoErrNoRomsInArchive:
|
||||
CEikonEnv::Static()->InfoWinL(_L("Error"), _L("No game ROMs found in zipfile."));
|
||||
break;
|
||||
|
||||
case PicoErrUncomp:
|
||||
CEikonEnv::Static()->InfoWinL(_L("Error"), _L("Failed while unzipping ROM."));
|
||||
break;
|
||||
|
||||
case PicoErrEmuThread:
|
||||
CEikonEnv::Static()->InfoWinL(_L("Error"), _L("Failed to create emulation thread. Try to restart this application."));
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue