mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-28 15:00:18 +02:00
Update to v099r15 release.
byuu says: Changelog: - nall::lstring -> nall::string_vector - added IntegerBitField<type, lo, hi> -- hopefully it works correctly... - Multitap 1-4 -> Super Multitap 2-5 - fixed SFC PPU CGRAM read regression - huge amounts of SFC PPU IO register cleanups -- .bits really is lovely - re-added the read/write(VRAM,OAM,CGRAM) helpers for the SFC PPU - but they're now optimized to the realities of the PPU (16-bit data sizes / no address parameter / where appropriate) - basically used to get the active-display overrides in a unified place; but also reduces duplicate code in (read,write)IO
This commit is contained in:
@@ -80,7 +80,7 @@ protected:
|
||||
}
|
||||
|
||||
//read a node and all of its child nodes
|
||||
auto parseNode(const lstring& text, uint& y) -> void {
|
||||
auto parseNode(const string_vector& text, uint& y) -> void {
|
||||
const char* p = text[y++];
|
||||
_metadata = parseDepth(p);
|
||||
parseName(p);
|
||||
@@ -166,7 +166,7 @@ inline auto serialize(const Markup::Node& node, uint depth = 0) -> string {
|
||||
padding.resize(depth * 2);
|
||||
for(auto& byte : padding) byte = ' ';
|
||||
|
||||
lstring lines;
|
||||
string_vector lines;
|
||||
if(auto value = node.value()) lines = value.split("\n");
|
||||
|
||||
string result;
|
||||
|
@@ -20,7 +20,7 @@ auto ManagedNode::_evaluate(string query) const -> bool {
|
||||
return false;
|
||||
}
|
||||
|
||||
lstring side;
|
||||
string_vector side;
|
||||
switch(comparator) {
|
||||
case Comparator::EQ: side = rule.split ("=", 1L); break;
|
||||
case Comparator::NE: side = rule.split("!=", 1L); break;
|
||||
@@ -55,7 +55,7 @@ auto ManagedNode::_evaluate(string query) const -> bool {
|
||||
auto ManagedNode::_find(const string& query) const -> vector<Node> {
|
||||
vector<Node> result;
|
||||
|
||||
lstring path = query.split("/");
|
||||
auto path = query.split("/");
|
||||
string name = path.take(0), rule;
|
||||
uint lo = 0u, hi = ~0u;
|
||||
|
||||
|
Reference in New Issue
Block a user