mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-17 00:24:06 +02:00
Update to v106r36 release.
byuu says: Changelog: - nall: renamed array to adaptive_array; marked it as deprecated - nall: created new array class; which is properly static (ala std::array) with optional bounds-checking - sfc/ppu-fast: converted unmanaged arrays to use nall/array (no speed penalty) - bsnes: rewrote the cheat code editor to a new design - nall: string class can stringify pointer types directly now, so pointer() was removed - nall: added array_view and pointer types (still unsure if/how I'll use pointer)
This commit is contained in:
@@ -133,14 +133,4 @@ auto binary(uintmax value, long precision, char padchar) -> string {
|
||||
return buffer;
|
||||
}
|
||||
|
||||
auto pointer(uintptr value, long precision) -> string {
|
||||
if(value == 0) return "(nullptr)";
|
||||
return {"0x", hex(value, precision)};
|
||||
}
|
||||
|
||||
template<typename T> auto pointer(const T* value, long precision) -> string {
|
||||
if(value == nullptr) return "(nullptr)";
|
||||
return {"0x", hex((uintptr)value, precision)};
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user