mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-22 21:13:11 +02:00
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:
@@ -186,34 +186,24 @@ template<> struct stringify<const string&> {
|
||||
stringify(const string& source) : _text(source) {}
|
||||
};
|
||||
|
||||
#if defined(QSTRING_H)
|
||||
|
||||
//Qt
|
||||
|
||||
template<> struct stringify<QString> {
|
||||
const QString& _text;
|
||||
auto data() const -> const char* { return _text.toUtf8().constData(); }
|
||||
auto size() const -> unsigned { return _text.size(); }
|
||||
stringify(const QString& source) : _text(source) {}
|
||||
template<> struct stringify<string_view> {
|
||||
const string_view& _view;
|
||||
auto data() const -> const char* { return _view.data(); }
|
||||
auto size() const -> unsigned { return _view.size(); }
|
||||
stringify(const string_view& source) : _view(source) {}
|
||||
};
|
||||
|
||||
template<> struct stringify<const QString&> {
|
||||
const QString& _text;
|
||||
auto data() const -> const char* { return _text.toUtf8().constData(); }
|
||||
auto size() const -> unsigned { return _text.size(); }
|
||||
stringify(const QString& source) : _text(source) {}
|
||||
template<> struct stringify<const string_view&> {
|
||||
const string_view& _view;
|
||||
auto data() const -> const char* { return _view.data(); }
|
||||
auto size() const -> unsigned { return _view.size(); }
|
||||
stringify(const string_view& source) : _view(source) {}
|
||||
};
|
||||
|
||||
string::operator QString() const {
|
||||
return QString::fromUtf8(*this);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
//
|
||||
|
||||
template<typename T> auto make_string(T value) -> stringify<T> {
|
||||
return stringify<T>(std::forward<T>(value));
|
||||
return stringify<T>(forward<T>(value));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user