mirror of https://github.com/stella-emu/stella.git
and some more fixes
This commit is contained in:
parent
50db2abc50
commit
baba0360d3
22
Changes.txt
22
Changes.txt
|
@ -12,6 +12,26 @@
|
||||||
Release History
|
Release History
|
||||||
===========================================================================
|
===========================================================================
|
||||||
|
|
||||||
|
6.7 to 7.0 (XXXX XX, 202X)
|
||||||
|
|
||||||
|
* Enhanced ROM launcher to allow multiple images per ROM
|
||||||
|
(TODO: controller support, doc)
|
||||||
|
|
||||||
|
* Added searching by filename for ROM launcher images
|
||||||
|
|
||||||
|
* Enhanced Game Properties dialog for multigame ROMs
|
||||||
|
|
||||||
|
* Added optional type format detection based on colors used
|
||||||
|
|
||||||
|
* Added Joy2B+ controller support
|
||||||
|
|
||||||
|
* Added BUS bankswitching support for some older demos
|
||||||
|
|
||||||
|
* Fixed broken 7800 pause key support
|
||||||
|
|
||||||
|
-Have fun!
|
||||||
|
|
||||||
|
|
||||||
6.6 to 6.7 (June 13, 2022)
|
6.6 to 6.7 (June 13, 2022)
|
||||||
|
|
||||||
* IMPORTANT NOTES:
|
* IMPORTANT NOTES:
|
||||||
|
@ -79,8 +99,6 @@
|
||||||
(thanks go to RomHunter for his tireless research in this area).
|
(thanks go to RomHunter for his tireless research in this area).
|
||||||
Related to this, updated the snapshot collection.
|
Related to this, updated the snapshot collection.
|
||||||
|
|
||||||
-Have fun!
|
|
||||||
|
|
||||||
|
|
||||||
6.5.3 to 6.6 (November 16, 2021)
|
6.5.3 to 6.6 (November 16, 2021)
|
||||||
|
|
||||||
|
|
|
@ -896,25 +896,34 @@ Event::Type LauncherDialog::getJoyAxisEvent(int stick, JoyAxis axis, JoyDir adir
|
||||||
{
|
{
|
||||||
Event::Type e = instance().eventHandler().eventForJoyAxis(EventMode::kMenuMode, stick, axis, adir, button);
|
Event::Type e = instance().eventHandler().eventForJoyAxis(EventMode::kMenuMode, stick, axis, adir, button);
|
||||||
|
|
||||||
if(myUseMinimalUI)
|
// map axis events for launcher
|
||||||
|
switch(e)
|
||||||
{
|
{
|
||||||
// map axis events for launcher
|
case Event::UINavPrev:
|
||||||
switch(e)
|
if(myUseMinimalUI)
|
||||||
{
|
|
||||||
case Event::UINavPrev:
|
|
||||||
// convert unused previous item event into page-up event
|
// convert unused previous item event into page-up event
|
||||||
e = Event::UIPgUp;
|
e = Event::UIPgUp;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Event::UINavNext:
|
case Event::UINavNext:
|
||||||
|
if(myUseMinimalUI)
|
||||||
// convert unused next item event into page-down event
|
// convert unused next item event into page-down event
|
||||||
e = Event::UIPgDown;
|
e = Event::UIPgDown;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
case Event::UITabPrev:
|
||||||
break;
|
// TODO: check with controller, then update doc (R77 too)
|
||||||
}
|
myRomImageWidget->changeImage(-1);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Event::UITabNext:
|
||||||
|
myRomImageWidget->changeImage(1);
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return e;
|
return e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1086,7 +1095,6 @@ void LauncherDialog::loadRom()
|
||||||
void LauncherDialog::openContextMenu(int x, int y)
|
void LauncherDialog::openContextMenu(int x, int y)
|
||||||
{
|
{
|
||||||
// Dynamically create context menu for ROM list options
|
// Dynamically create context menu for ROM list options
|
||||||
// TODO: remove 'Incl. subdirs' and 'Show all' from GUI? Replace with icons.
|
|
||||||
|
|
||||||
if(x < 0 || y < 0)
|
if(x < 0 || y < 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -124,12 +124,13 @@ void RomImageWidget::parseProperties(const FSNode& node)
|
||||||
|
|
||||||
myImageList.clear();
|
myImageList.clear();
|
||||||
myImageIdx = 0;
|
myImageIdx = 0;
|
||||||
|
|
||||||
// 1. Try to load snapshots by property name
|
// 1. Try to load snapshots by property name
|
||||||
if(getImageList(path + myProperties.get(PropType::Cart_Name)))
|
getImageList(path + myProperties.get(PropType::Cart_Name));
|
||||||
mySurfaceIsValid = loadPng(myImageList[0].getPath());
|
|
||||||
|
|
||||||
// 2. Also try to load snapshot images by filename
|
// 2. Also try to load snapshot images by filename
|
||||||
if(getImageList(path + node.getNameWithExt("")))
|
getImageList(path + node.getNameWithExt());
|
||||||
|
|
||||||
|
if(myImageList.size())
|
||||||
mySurfaceIsValid = loadPng(myImageList[0].getPath());
|
mySurfaceIsValid = loadPng(myImageList[0].getPath());
|
||||||
|
|
||||||
if(!mySurfaceIsValid)
|
if(!mySurfaceIsValid)
|
||||||
|
|
Loading…
Reference in New Issue