• R/O
  • HTTP
  • SSH
  • HTTPS

common_source_project-fm7: Commit

Common Source Code Project for Qt (a.k.a for FM-7).


Commit MetaInfo

Revisiona93b99746633582f6d0ae69acf20b5031c439005 (tree)
Time2018-05-31 04:06:44
AuthorK.Ohta <whatisthis.sowhat@gmai...>
CommiterK.Ohta

Log Message

[VM][SN76489AN] Fix TYPO on load_state().

Change Summary

Incremental Difference

--- a/source/src/vm/sn76489an.cpp
+++ b/source/src/vm/sn76489an.cpp
@@ -225,7 +225,7 @@ bool SN76489AN::load_state(FILEIO* state_fio)
225225 }
226226 state_fio->Fread(regs, sizeof(regs), 1);
227227 index = state_fio->FgetInt32();
228- state_fio->Fwrite(ch, sizeof(ch), 1);
228+ state_fio->Fread(ch, sizeof(ch), 1);
229229 noise_gen = state_fio->FgetUint32();
230230 mute = state_fio->FgetBool();
231231 cs = state_fio->FgetBool();
Show on old repository browser