mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-03 22:21:09 +00:00
fix build in old compiler
This commit is contained in:
parent
f58d926c37
commit
f3a61f3222
2 changed files with 4 additions and 2 deletions
|
@ -763,7 +763,7 @@ public:
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// simulate the DAC discontinuity
|
// simulate the DAC discontinuity
|
||||||
constexpr int32_t dac_discontinuity(int32_t value) const { return (value < 0) ? (value - 2) : (value + 3); }
|
int32_t dac_discontinuity(int32_t value) const { return (value < 0) ? (value - 2) : (value + 3); }
|
||||||
|
|
||||||
// internal state
|
// internal state
|
||||||
uint16_t m_address; // address register
|
uint16_t m_address; // address register
|
||||||
|
|
|
@ -3406,7 +3406,9 @@ String getHomeDir() {
|
||||||
ret=tempDir;
|
ret=tempDir;
|
||||||
ret+='\\';
|
ret+='\\';
|
||||||
#else
|
#else
|
||||||
getcwd(tempDir,4095);
|
char* unused=getcwd(tempDir,4095);
|
||||||
|
char* unused1=unused; // dang it compiler
|
||||||
|
unused=unused1;
|
||||||
ret=tempDir;
|
ret=tempDir;
|
||||||
ret+='/';
|
ret+='/';
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue