Update to v099r15 release.

byuu says:

Changelog:
- nall::lstring -> nall::string_vector
- added IntegerBitField<type, lo, hi> -- hopefully it works correctly...
- Multitap 1-4 -> Super Multitap 2-5
- fixed SFC PPU CGRAM read regression
- huge amounts of SFC PPU IO register cleanups -- .bits really is lovely
- re-added the read/write(VRAM,OAM,CGRAM) helpers for the SFC PPU
  - but they're now optimized to the realities of the PPU (16-bit data
    sizes / no address parameter / where appropriate)
  - basically used to get the active-display overrides in a unified place;
    but also reduces duplicate code in (read,write)IO
This commit is contained in:
Tim Allen
2016-07-01 21:58:12 +10:00
parent 82293c95ae
commit 8d5cc0c35e
78 changed files with 509 additions and 546 deletions

View File

@@ -172,8 +172,8 @@ struct AudioOpenAL : Audio {
}
private:
auto queryDevices() -> lstring {
lstring result;
auto queryDevices() -> string_vector {
string_vector result;
const char* buffer = alcGetString(nullptr, ALC_DEVICE_SPECIFIER);
if(!buffer) return result;

View File

@@ -179,7 +179,7 @@ auto Video::safestDriver() -> string {
#endif
}
auto Video::availableDrivers() -> lstring {
auto Video::availableDrivers() -> string_vector {
return {
#if defined(VIDEO_WGL)
@@ -364,7 +364,7 @@ auto Audio::safestDriver() -> string {
#endif
}
auto Audio::availableDrivers() -> lstring {
auto Audio::availableDrivers() -> string_vector {
return {
#if defined(AUDIO_WASAPI)
@@ -508,7 +508,7 @@ auto Input::safestDriver() -> string {
#endif
}
auto Input::availableDrivers() -> lstring {
auto Input::availableDrivers() -> string_vector {
return {
#if defined(INPUT_WINDOWS)

View File

@@ -26,7 +26,7 @@ struct Video {
static auto create(const nall::string& driver = "") -> Video*;
static auto optimalDriver() -> nall::string;
static auto safestDriver() -> nall::string;
static auto availableDrivers() -> nall::lstring;
static auto availableDrivers() -> nall::string_vector;
virtual ~Video() = default;
@@ -54,7 +54,7 @@ struct Audio {
static auto create(const nall::string& driver = "") -> Audio*;
static auto optimalDriver() -> nall::string;
static auto safestDriver() -> nall::string;
static auto availableDrivers() -> nall::lstring;
static auto availableDrivers() -> nall::string_vector;
virtual ~Audio() = default;
@@ -79,7 +79,7 @@ struct Input {
static auto create(const nall::string& driver = "") -> Input*;
static auto optimalDriver() -> nall::string;
static auto safestDriver() -> nall::string;
static auto availableDrivers() -> nall::lstring;
static auto availableDrivers() -> nall::string_vector;
virtual ~Input() = default;

View File

@@ -72,7 +72,7 @@ auto OpenGLProgram::bind(OpenGL* instance, const Markup::Node& node, const strin
//apply manifest settings to shader source #in tags
auto OpenGLProgram::parse(OpenGL* instance, string& source) -> void {
lstring lines = source.split("\n");
auto lines = source.split("\n");
for(auto& line : lines) {
string s = line;
if(auto position = s.find("//")) s.resize(position()); //strip comments