mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-20 14:01:50 +02:00
Update to v095r06 release.
byuu says: Changelog: - fixed I/O register reads; perfect score on endrift's I/O tests now - fixed mouse capture clipping on Windows [Cydrak] - several hours of code maintenance work done on the SFC core All higan/sfc files should now use the auto fn() -> ret; syntax. Haven't converted all unsigned->uint yet. Also, probably won't do sfc/alt as that's mostly just speed hack stuff. Errata: - forgot auto& instead of just auto on SuperFamicom::Video::draw_cursor, which makes Super Scope / Justifier crash. Will be fixed in the next WIP.
This commit is contained in:
@@ -2,18 +2,18 @@
|
||||
|
||||
namespace nall {
|
||||
|
||||
auto string::integer() const -> intmax_t {
|
||||
auto string::integer() const -> intmax {
|
||||
if(beginsWith("0b") || beginsWith("0B")) return nall::binary(data());
|
||||
if(beginsWith("0o") || beginsWith("0O")) return nall::octal(data());
|
||||
if(beginsWith("0x") || beginsWith("0X")) return nall::hex(data());
|
||||
return nall::integer(data());
|
||||
}
|
||||
|
||||
auto string::decimal() const -> uintmax_t {
|
||||
auto string::natural() const -> uintmax {
|
||||
if(beginsWith("0b") || beginsWith("0B")) return nall::binary(data());
|
||||
if(beginsWith("0o") || beginsWith("0O")) return nall::octal(data());
|
||||
if(beginsWith("0x") || beginsWith("0X")) return nall::hex(data());
|
||||
return nall::decimal(data());
|
||||
return nall::natural(data());
|
||||
}
|
||||
|
||||
auto string::real() const -> double {
|
||||
|
Reference in New Issue
Block a user