match cpu registers on reset to hardware, cleanup

This commit is contained in:
scawful
2024-04-25 00:50:39 -04:00
parent b4f2fdc57e
commit d76525201f
6 changed files with 18 additions and 79 deletions

View File

@@ -133,9 +133,9 @@ class Emulator : public SharedRom {
uint16_t manual_pc_ = 0;
// timing
uint64_t countFreq;
uint64_t lastCount;
float timeAdder = 0.0;
uint64_t count_frequency;
uint64_t last_count;
float time_adder = 0.0;
int16_t* audio_buffer_;
SDL_AudioDeviceID audio_device_;