OSDN Git Service
(root)
/
csp-qt
/
common_source_project-fm7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82b3187
)
[VM][SN76489AN] Fix TYPO on load_state().
author
K.Ohta
<whatisthis.sowhat@gmail.com>
Wed, 30 May 2018 19:06:44 +0000
(
04:06
+0900)
committer
K.Ohta
<whatisthis.sowhat@gmail.com>
Wed, 30 May 2018 19:06:44 +0000
(
04:06
+0900)
source/src/vm/sn76489an.cpp
patch
|
blob
|
history
diff --git
a/source/src/vm/sn76489an.cpp
b/source/src/vm/sn76489an.cpp
index
65a94d2
..
5543e5b
100644
(file)
--- a/
source/src/vm/sn76489an.cpp
+++ b/
source/src/vm/sn76489an.cpp
@@
-225,7
+225,7
@@
bool SN76489AN::load_state(FILEIO* state_fio)
}
state_fio->Fread(regs, sizeof(regs), 1);
index = state_fio->FgetInt32();
- state_fio->F
write
(ch, sizeof(ch), 1);
+ state_fio->F
read
(ch, sizeof(ch), 1);
noise_gen = state_fio->FgetUint32();
mute = state_fio->FgetBool();
cs = state_fio->FgetBool();