This commit is contained in:
2025-01-30 10:04:23 +01:00
parent 144c588012
commit 9d3204daba
3 changed files with 9 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ int main(int argc, char *argv[])
if (argc < 2) { printf("ABORTING: No rom specified.\n"); exit(1); }
const uint32_t clock = 4194304;
const uint32_t update_freq = clock / 10;
const uint32_t update_freq = clock >> 3;
SDL_Init(SDL_INIT_EVERYTHING);
@@ -204,7 +204,7 @@ int main(int argc, char *argv[])
if (t_states>=update_freq)
{
while (SDL_GetTicks()<time+100) {}
while (SDL_GetTicks()<(time+125)) {}
t_states -= update_freq;
time = SDL_GetTicks();
//z80analyze::refresh();