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:
Tim Allen
2016-07-01 21:58:12 +10:00
parent 82293c95ae
commit 8d5cc0c35e
78 changed files with 509 additions and 546 deletions

View File

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

View File

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