mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-21 11:01:24 +02:00
Update to v106r04 release.
byuu says: Changelog: - nall: `Markup::Node::operator[]` now uses `find()` instead of `lookup()` behind the scenes - Super Famicom: RAM memory ordering is now independent of ROM memory ordering - Super Famicom: added 19 new generic board definitions - icarus: improved Super Famicom heuristics generation Not putting it in the changelog, but the SPC7110 RAM now has write protection disabled again. 99% of games should now be playable with heuristics. The exceptions should be: - 4MB LoROM games with SRAM (Ys 3, FE: Thracia 776) - 2MB DSP LoROM games - BS-X Town - BS-X slotted games - SA1 BSX slotted games - SPC7110 games without the RTC (Momotarou Dentetsu Happy, Super Power League 4) - SPC7110 7MB fan translation (wasn't supported earlier either) - ExLoROM games (wasn't supported earlier either) - Sufami Turbo - Campus Challenge '92 and Powerfest '94 - ST010 is going to run at 15MHz instead of 11MHz - MSU1 (needs to be supported in higan, not icarus) I'll add support for most of these before the release of v107.
This commit is contained in:
@@ -96,7 +96,12 @@ auto ManagedNode::_find(const string& query) const -> vector<Node> {
|
||||
return result;
|
||||
}
|
||||
|
||||
//operator[](string)
|
||||
auto ManagedNode::_lookup(const string& path) const -> Node {
|
||||
auto result = _find(path);
|
||||
return result ? result[0] : Node{};
|
||||
|
||||
/*//faster, but cannot search
|
||||
if(auto position = path.find("/")) {
|
||||
auto name = slice(path, 0, *position);
|
||||
for(auto& node : _children) {
|
||||
@@ -108,6 +113,7 @@ auto ManagedNode::_lookup(const string& path) const -> Node {
|
||||
if(path == node->_name) return node;
|
||||
}
|
||||
return {};
|
||||
*/
|
||||
}
|
||||
|
||||
auto ManagedNode::_create(const string& path) -> Node {
|
||||
|
Reference in New Issue
Block a user