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:
Tim Allen
2015-04-21 21:51:57 +10:00
parent 89d578bc7f
commit 2eb50fd70b
29 changed files with 568 additions and 74 deletions

View File

@@ -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();