Update to v097r14 release.

byuu says:

This is a few days old, but oh well.

This WIP changes nall,hiro,ruby,icarus back to (u)int(8,16,32,64)_t.

I'm slowly pushing for (u)int(8,16,32,64) to use my custom
Integer<Size>/Natural<Size> classes instead. But it's going to be one
hell of a struggle to get that into higan.
This commit is contained in:
Tim Allen
2016-02-16 20:11:58 +11:00
parent 6c83329cae
commit 0d0af39b44
67 changed files with 415 additions and 353 deletions

View File

@@ -26,11 +26,11 @@ struct Buffer {
}
inline auto read(uint channel, int offset = 0) -> double& {
return sample[channel][(uint16)(rdoffset + offset)];
return sample[channel][(uint16_t)(rdoffset + offset)];
}
inline auto write(uint channel, int offset = 0) -> double& {
return sample[channel][(uint16)(wroffset + offset)];
return sample[channel][(uint16_t)(wroffset + offset)];
}
inline auto clear() -> void {
@@ -44,7 +44,7 @@ struct Buffer {
}
double** sample = nullptr;
uint16 rdoffset = 0;
uint16 wroffset = 0;
uint16_t rdoffset = 0;
uint16_t wroffset = 0;
uint channels = 0;
};