mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-31 20:11:29 +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:
|
||||
// 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
|
||||
uint16_t m_address; // address register
|
||||
|
|
|
@ -3406,7 +3406,9 @@ String getHomeDir() {
|
|||
ret=tempDir;
|
||||
ret+='\\';
|
||||
#else
|
||||
getcwd(tempDir,4095);
|
||||
char* unused=getcwd(tempDir,4095);
|
||||
char* unused1=unused; // dang it compiler
|
||||
unused=unused1;
|
||||
ret=tempDir;
|
||||
ret+='/';
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue