Glitch after snapshot save and load
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- c
- Ambito
- operating-systems
Direzione di ricerca
Start with the snapshot save and load routines described in the issue, which copy the zx_t structure after evaluating pointer offsets; compare that state with the .z80 save path, in both compressed and uncompressed forms. The issue gives no file or test entry point, so trace how emulator state is serialized and restored. Done means the player remains visible and playable after loading a saved state, as it does in Fuse.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Not sure what could be the cause, but saving the state and loading it back is causing a glitch in Tiny Dungeons. This is before saving:

When the state is loaded back, the player character goes away:

I can move it around and play normally, but it's invisible now. My load and save routines are pretty straightforward: evaluate the pointer offsets, and dump the zx_t structure after the magic number when saving, do the opposite when loading. It seems to be working just fine except for this glitch.
I decided to give this a try because the .z80 quick save that I have in a branch was also presenting the glitch, and I thought it could be related to the format not being able to capture the entire state of a Speccy emulator (a known limitation of the format). I tried the .z80 snapshot both compressed and uncompressed with the same result.
I tested with Fuse and it works ok.
Thanks in advance.
- Lingua principale
- C
- Stelle
- 1.3k
- Fork
- 101
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di floooh/chips
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 35/100
-
m6502 RESET not handled on RDY and on JAMForse di nuovo libera @floooh l’ha presa 159 giorni fa e non c’è nessuna pull request aperta. Aperta
-
KC87 tape loading tone should be silent on internal speakerForse di nuovo libera @floooh l’ha presa 170 giorni fa e non c’è nessuna pull request aperta. Aperta
floooh/chips#116 · 1 commento · 1 reazione · 1 assegnatario ·
-
C64 CIA claude investigationForse di nuovo libera @floooh l’ha presa 225 giorni fa e non c’è nessuna pull request aperta. Aperta
Tutte le issue di floooh/chips
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
OpenPrinting/cups#1833 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
compiler-explorer/compiler-explorer#9710 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
libsndfile/libsndfile#1238 ·