mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-11-27 11:00:47 +00:00
f3e67da937
byuu says: Changelog: - added \~130 new PAL games to icarus (courtesy of Smarthuman and aquaman) - added all three Korean-localized games to icarus - sfc: removed SuperDisc emulation (it was going nowhere) - sfc: fixed MSU1 regression where the play/repeat flags were not being cleared on track select - nall: cryptography support added; will be used to sign future databases (validation will always be optional) - minor shims to fix compilation issues due to nall changes The real magic is that we now have 25-30% of the PAL SNES library in icarus! Signing will be tricky. Obviously if I put the public key inside the higan archive, then all anyone has to do is change that public key for their own releases. And if you download from my site (which is now over HTTPS), then you don't need the signing to verify integrity. I may just put the public key on my site on my site and leave it at that, we'll see.
28 lines
730 B
C++
28 lines
730 B
C++
#pragma once
|
|
|
|
namespace nall {
|
|
|
|
struct shared_memory {
|
|
shared_memory() = default;
|
|
shared_memory(const shared_memory&) = delete;
|
|
auto operator=(const shared_memory&) -> shared_memory& = delete;
|
|
|
|
~shared_memory() {
|
|
reset();
|
|
}
|
|
|
|
explicit operator bool() const { return false; }
|
|
auto empty() const -> bool { return true; }
|
|
auto size() const -> uint { return 0; }
|
|
auto acquired() const -> bool { return false; }
|
|
auto acquire() -> uint8_t* { return nullptr; }
|
|
auto release() -> void {}
|
|
auto reset() -> void {}
|
|
auto create(const string& name, uint size) -> bool { return false; }
|
|
auto remove() -> void {}
|
|
auto open(const string& name, uint size) -> bool { return false; }
|
|
auto close() -> void {}
|
|
};
|
|
|
|
}
|