Skip to content

Commit

Permalink
Added support for CIA files.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey committed Nov 9, 2014
1 parent f64b775 commit 5ef7a4e
Show file tree
Hide file tree
Showing 7 changed files with 290 additions and 75 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.txt
@@ -1,4 +1,8 @@
1.4
1.5

* Added support for CIA files.

1.4

* Added editing for properies.
* Added an option to content menu to change ROM picture.
Expand Down
14 changes: 9 additions & 5 deletions ShellPreviewExt.cc
Expand Up @@ -90,11 +90,15 @@ void CShellPreviewExt::process(int task){
thumb=thumbnailer->Process(stream);
}

if(!taskFinished[task]) switch(task){
case 0: break;
case 1: thumb->Thumbnail(); break;
case 2: thumb->ReadProperties(); break;
case 3: thumb->WriteProperties(); break;


if(thumb!=NULL){
if(!taskFinished[task]) switch(task){
case 0: break;
case 1: thumb->Thumbnail(); break;
case 2: thumb->ReadProperties(); break;
case 3: thumb->WriteProperties(); break;
}
}
taskFinished[task]++;
} catch( Exception &error_ ) {
Expand Down

0 comments on commit 5ef7a4e

Please sign in to comment.