mirror of https://github.com/stella-emu/stella.git
A small reprieve for gcc6 users. Fixed codebase so it compiles in g++6 again.
Note that we're moving to gcc7 fairly soon, so this won't be for long. Bumped version number.
This commit is contained in:
parent
081682e2b5
commit
082b8dd9dc
|
@ -125,8 +125,8 @@ class PaletteHandler
|
|||
/**
|
||||
Convert adjustables from/to 100% scale
|
||||
*/
|
||||
constexpr float scaleFrom100(float x) const { return (x / 50.F) - 1.F; }
|
||||
constexpr uInt32 scaleTo100(float x) const { return uInt32(50 * (x + 1.F)); }
|
||||
static constexpr float scaleFrom100(float x) { return (x / 50.F) - 1.F; }
|
||||
static constexpr uInt32 scaleTo100(float x) { return uInt32(50 * (x + 1.F)); }
|
||||
|
||||
/**
|
||||
Convert palette settings name to enumeration.
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#ifndef VERSION_HXX
|
||||
#define VERSION_HXX
|
||||
|
||||
#define STELLA_VERSION "6.2"
|
||||
#define STELLA_VERSION "6.2.1_pre"
|
||||
#define STELLA_BUILD "6001"
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue