Update to v094r44 release.

byuu says:

Changelog:
- return open bus instead of mirroring addresses on the bus (fixes
  Mario&Luigi, Minish Cap, etc) [Jonas Quinn]
- add boolean flag to load requests for slotted game carts (fixes slot
  load prompts)
- rename BS-X Town cart from psram to ram
- icarus: add support for game database

Note: I didn't rename "bsx" to "mcc" in the database for icarus before
uploading that. But I just fixed it locally, so it'll be in the next
WIP. For now, make it create the manifest for you and then rename it
yourself. I did fix the PSRAM size to 256kbit.
This commit is contained in:
Tim Allen
2015-09-28 21:56:46 +10:00
parent 0c87bdabed
commit 483fc81356
57 changed files with 14259 additions and 719 deletions

View File

@@ -4,8 +4,8 @@ namespace nall {
//todo: these functions are not binary-safe
auto match(const string& self, rstring source) -> bool {
const char* s = self.data();
auto string::match(rstring source) const -> bool {
const char* s = data();
const char* p = source.data();
const char* cp = nullptr;
@@ -28,12 +28,12 @@ auto match(const string& self, rstring source) -> bool {
return !*p;
}
auto imatch(const string& self, rstring source) -> bool {
auto string::imatch(rstring source) const -> bool {
static auto chrlower = [](char c) -> char {
return (c >= 'A' && c <= 'Z') ? c + ('a' - 'A') : c;
};
const char* s = self.data();
const char* s = data();
const char* p = source.data();
const char* cp = nullptr;
@@ -56,7 +56,7 @@ auto imatch(const string& self, rstring source) -> bool {
return !*p;
}
inline bool tokenize(const char* s, const char* p) {
auto tokenize(const char* s, const char* p) -> bool {
while(*s) {
if(*p == '*') {
while(*s) if(tokenize(s++, p + 1)) return true;
@@ -74,7 +74,7 @@ auto tokenize(lstring& list, const char* s, const char* p) -> bool {
const char* b = s;
while(*s) {
if(tokenize(list, s++, p + 1)) {
list.prepend(substr(b, 0, --s - b));
list.prepend(slice(b, 0, --s - b));
return true;
}
}