mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-14 01:14:09 +02:00
Update to v106r59 release.
byuu says: Changelog: - fixed bug in Emulator::Game::Memory::operator bool() - nall: renamed view<string> back to `string_view` - nall:: implemented `array_view` - Game Boy: split cartridge-specific input mappings (rumble, accelerometer) to their own separate ports - Game Boy: fixed MBC7 accelerometer x-axis - icarus: Game Boy, Super Famicom, Mega Drive cores output internal header game titles to heuristics manifests - higan, icarus, hiro/gtk: improve viewport geometry configuration; fixed higan crashing bug with XShm driver - higan: connect Video::poll(),update() functionality - hiro, ruby: several compilation / bugfixes, should get the macOS port compiling again, hopefully [Sintendo] - ruby/video/xshm: fix crashing bug on window resize - a bit hacky; it's throwing BadAccess Xlib warnings, but they're not fatal, so I am catching and ignoring them - bsnes: removed Application::Windows::onModalChange hook that's no longer needed [Screwtape]
This commit is contained in:
@@ -19,21 +19,21 @@ auto vector<string>::isort() -> type& {
|
||||
return *this;
|
||||
}
|
||||
|
||||
auto vector<string>::find(view<string> source) const -> maybe<uint> {
|
||||
auto vector<string>::find(string_view source) const -> maybe<uint> {
|
||||
for(uint n = 0; n < size(); n++) {
|
||||
if(operator[](n).equals(source)) return n;
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
auto vector<string>::ifind(view<string> source) const -> maybe<uint> {
|
||||
auto vector<string>::ifind(string_view source) const -> maybe<uint> {
|
||||
for(uint n = 0; n < size(); n++) {
|
||||
if(operator[](n).iequals(source)) return n;
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
auto vector<string>::match(view<string> pattern) const -> vector<string> {
|
||||
auto vector<string>::match(string_view pattern) const -> vector<string> {
|
||||
vector<string> result;
|
||||
for(uint n = 0; n < size(); n++) {
|
||||
if(operator[](n).match(pattern)) result.append(operator[](n));
|
||||
@@ -41,7 +41,7 @@ auto vector<string>::match(view<string> pattern) const -> vector<string> {
|
||||
return result;
|
||||
}
|
||||
|
||||
auto vector<string>::merge(view<string> separator) const -> string {
|
||||
auto vector<string>::merge(string_view separator) const -> string {
|
||||
string output;
|
||||
for(uint n = 0; n < size(); n++) {
|
||||
output.append(operator[](n));
|
||||
|
Reference in New Issue
Block a user