diff --git a/docs/index.html b/docs/index.html index 6117cd797..95dcd1730 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4033,18 +4033,28 @@
Stella supports viewing snapshots and ROM properties of the currently - selected ROM in the ROM launcher. Support is automatic, as long as your - image directory contains snapshots in the appropriate format. The title +
Stella supports viewing images and ROM properties of the currently + selected ROM in the ROM launcher. Image support is automatic, as long as your + image directory contains snapshots in the appropriate format. The label (if existing) and the number of matching snapshots are displayed under the - current one. The mouse or the launcher hotkeys can be used to browse the - snapshots. + current one. The mouse or the ROM Launcher hotkeys can be used to browse + multiple images or a ROM.
- An archive of + Notes: +An archive of updated snapshots is available on the Stella webpage. This archive may be updated periodically as new ROMs are found, and also for each new release of Stella. In case no snapshot is found, you can - provide a default image named 'default_snapshot.png'. + provide a default image named 'default_snapshot.png' or 'default_snapshot.jpg'. Note that the snapshots can be any size (e.g. generated by Stella); they will be resized accordingly.
diff --git a/src/common/JPGLibrary.cxx b/src/common/JPGLibrary.cxx index 192d97c70..c5cc3ace4 100644 --- a/src/common/JPGLibrary.cxx +++ b/src/common/JPGLibrary.cxx @@ -53,7 +53,6 @@ void JPGLibrary::loadImage(const string& filename, FBSurface& surface, myFileBuffer.resize(size); if(!in.read(myFileBuffer.data(), size)) loadImageERROR("Image data reading failed"); - in.close(); if(njDecode(myFileBuffer.data(), static_cast