mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-16 11:14:06 +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:
@@ -4,7 +4,7 @@ namespace nall {
|
||||
|
||||
//todo: these functions are not binary-safe
|
||||
|
||||
auto string::match(view<string> source) const -> bool {
|
||||
auto string::match(string_view source) const -> bool {
|
||||
const char* s = data();
|
||||
const char* p = source.data();
|
||||
|
||||
@@ -28,7 +28,7 @@ auto string::match(view<string> source) const -> bool {
|
||||
return !*p;
|
||||
}
|
||||
|
||||
auto string::imatch(view<string> source) const -> bool {
|
||||
auto string::imatch(string_view source) const -> bool {
|
||||
static auto chrlower = [](char c) -> char {
|
||||
return (c >= 'A' && c <= 'Z') ? c + ('a' - 'A') : c;
|
||||
};
|
||||
|
Reference in New Issue
Block a user