- [ONGOING] Berserk Mode!
This commit is contained in:
@@ -33,6 +33,7 @@ namespace zx_tape
|
||||
|
||||
bool playing = false;
|
||||
bool loaded = false;
|
||||
bool berserk_mode = false;
|
||||
|
||||
std::vector<block_t> blocks;
|
||||
uint8_t current_block = 0;
|
||||
@@ -77,6 +78,7 @@ namespace zx_tape
|
||||
void stop()
|
||||
{
|
||||
playing = false;
|
||||
berserk_mode = false;
|
||||
}
|
||||
|
||||
void rewind()
|
||||
@@ -215,4 +217,8 @@ namespace zx_tape
|
||||
|
||||
zx_ula::set_ear(pulse_level);
|
||||
}
|
||||
|
||||
void go_berserk() { berserk_mode = true; }
|
||||
const bool berserk() { return berserk_mode; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user