mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-10-04 20:01:46 +02:00
Update to v094r15 release.
byuu says: Implemented the cheat database dialog, and most of the cheat editor dialog. I still have to handle loading and saving the cheats.bml file for each game. I wanted to finish it today, but I burned out. It's a ton of really annoying work to support cheat codes. There's also some issue with the width calculation for the "code(s)" column in hiro/GTK. Short-term: - add input port changing support - add other input types (mouse-based, etc) - finish cheat codes Long-term: - add slotted cart loader (SGB, BSX, ST) - add DIP switch selection window (NSS) - add overscan masking - add timing configuration (video/audio sync) Not planned: - video color adjustments (will allow emulated color vs raw color; but no more sliders) - pixel shaders - ananke integration (will need to make a command-line version to get my games in) - fancy audio adjustment controls (resampler, latency, volume) - input focus settings - localization support (not enough users) - window geometry memory - anything else not in higan v094
This commit is contained in:
@@ -20,22 +20,25 @@ auto Program::loadMedia(Emulator::Interface& _emulator, Emulator::Interface::Med
|
||||
mediaPaths(media.id) = location;
|
||||
folderPaths.append(location);
|
||||
|
||||
setEmulator(&_emulator);
|
||||
emulator = &_emulator;
|
||||
updateVideoPalette();
|
||||
emulator().load(media.id);
|
||||
emulator().power();
|
||||
emulator->load(media.id);
|
||||
emulator->power();
|
||||
|
||||
presentation->resizeViewport();
|
||||
presentation->setTitle(emulator().title());
|
||||
presentation->setTitle(emulator->title());
|
||||
presentation->systemMenu.setVisible(true);
|
||||
presentation->toolsMenu.setVisible(true);
|
||||
toolsManager->cheatEditor.doRefresh();
|
||||
toolsManager->stateManager.doRefresh();
|
||||
}
|
||||
|
||||
auto Program::unloadMedia() -> void {
|
||||
if(activeEmulator == nullptr) return;
|
||||
emulator().unload();
|
||||
if(!emulator) return;
|
||||
|
||||
emulator->unload();
|
||||
emulator = nullptr;
|
||||
|
||||
setEmulator(nullptr);
|
||||
mediaPaths.reset();
|
||||
folderPaths.reset();
|
||||
|
||||
|
Reference in New Issue
Block a user