1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-06-01 07:41:57 +00:00
This commit is contained in:
Stephen Crane 2018-11-18 12:20:05 +00:00
parent 231041d7aa
commit c6bb27a148

View File

@ -40,7 +40,7 @@ bool sdtape::start(const char *programs)
void sdtape::stop()
{
#if defined(STORAGE)
#if STORAGE
file.close();
#endif
}
@ -49,7 +49,7 @@ bool sdtape::more()
{
if (_pos >= _len) {
_pos = 0;
#if defined(STORAGE)
#if STORAGE
_len = file.read(_buf, sizeof(_buf));
#endif
if (_len == 0) // eof
@ -59,7 +59,7 @@ bool sdtape::more()
}
const char *sdtape::advance() {
#if defined(STORAGE)
#if STORAGE
bool rewound = false;
file.close();
#if defined(USE_FS)