mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-16 07:54:00 +02:00
Update to bsnes v107r4 beta release.
byuu says: - bsnes: added video filters from bsnes v082 - bsnes: added ZSNES snow effect option when games paused or unloaded (no, I'm not joking) - bsnes: added 7-zip support (LZMA 19.00 SDK) [Recent higan WIPs have also mentioned bsnes changes, although the higan code no longer includes the bsnes code. These changes include: - higan, bsnes: added EXLOROM, EXLOROM-RAM, EXHIROM mappings - higan, bsnes: focus the viewport after leaving fullscreen exclusive mode - bsnes: re-added mightymo's cheat code database - bsnes: improved make install rules for the game and cheat code databases - bsnes: delayed construction of hiro::Window objects to properly show bsnes window icons - Ed.]
This commit is contained in:
@@ -34,19 +34,15 @@ template<typename... P> auto string::assign(P&&... p) -> string& {
|
||||
}
|
||||
|
||||
template<typename T, typename... P> auto string::prepend(const T& value, P&&... p) -> string& {
|
||||
prepend(forward<P>(p)...);
|
||||
if constexpr(sizeof...(p)) prepend(forward<P>(p)...);
|
||||
return _prepend(make_string(value));
|
||||
}
|
||||
|
||||
template<typename... P> auto string::prepend(const nall::string_format& value, P&&... p) -> string& {
|
||||
prepend(forward<P>(p)...);
|
||||
if constexpr(sizeof...(p)) prepend(forward<P>(p)...);
|
||||
return format(value);
|
||||
}
|
||||
|
||||
auto string::prepend() -> string& {
|
||||
return *this;
|
||||
}
|
||||
|
||||
template<typename T> auto string::_prepend(const stringify<T>& source) -> string& {
|
||||
resize(source.size() + size());
|
||||
memory::move(get() + source.size(), get(), size() - source.size());
|
||||
@@ -56,15 +52,13 @@ template<typename T> auto string::_prepend(const stringify<T>& source) -> string
|
||||
|
||||
template<typename T, typename... P> auto string::append(const T& value, P&&... p) -> string& {
|
||||
_append(make_string(value));
|
||||
return append(forward<P>(p)...);
|
||||
if constexpr(sizeof...(p)) append(forward<P>(p)...);
|
||||
return *this;
|
||||
}
|
||||
|
||||
template<typename... P> auto string::append(const nall::string_format& value, P&&... p) -> string& {
|
||||
format(value);
|
||||
return append(forward<P>(p)...);
|
||||
}
|
||||
|
||||
auto string::append() -> string& {
|
||||
if constexpr(sizeof...(p)) append(forward<P>(p)...);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user