mirror of
https://github.com/jscrane/r65emu.git
synced 2025-01-03 04:30:38 +00:00
...
This commit is contained in:
parent
231041d7aa
commit
c6bb27a148
@ -40,7 +40,7 @@ bool sdtape::start(const char *programs)
|
|||||||
|
|
||||||
void sdtape::stop()
|
void sdtape::stop()
|
||||||
{
|
{
|
||||||
#if defined(STORAGE)
|
#if STORAGE
|
||||||
file.close();
|
file.close();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -49,7 +49,7 @@ bool sdtape::more()
|
|||||||
{
|
{
|
||||||
if (_pos >= _len) {
|
if (_pos >= _len) {
|
||||||
_pos = 0;
|
_pos = 0;
|
||||||
#if defined(STORAGE)
|
#if STORAGE
|
||||||
_len = file.read(_buf, sizeof(_buf));
|
_len = file.read(_buf, sizeof(_buf));
|
||||||
#endif
|
#endif
|
||||||
if (_len == 0) // eof
|
if (_len == 0) // eof
|
||||||
@ -59,7 +59,7 @@ bool sdtape::more()
|
|||||||
}
|
}
|
||||||
|
|
||||||
const char *sdtape::advance() {
|
const char *sdtape::advance() {
|
||||||
#if defined(STORAGE)
|
#if STORAGE
|
||||||
bool rewound = false;
|
bool rewound = false;
|
||||||
file.close();
|
file.close();
|
||||||
#if defined(USE_FS)
|
#if defined(USE_FS)
|
||||||
|
Loading…
Reference in New Issue
Block a user