notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a33c391
)
core, big endian fix (save/load)
author
kub
<derkub@gmail.com>
Thu, 21 Mar 2024 18:08:54 +0000
(19:08 +0100)
committer
kub
<derkub@gmail.com>
Thu, 21 Mar 2024 18:10:44 +0000
(19:10 +0100)
pico/state.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/state.c
b/pico/state.c
index
3b93765
..
635c95d
100644
(file)
--- a/
pico/state.c
+++ b/
pico/state.c
@@
-187,7
+187,7
@@
static const char * const chunk_names[CHUNK_DEFAULT_COUNT] = {
"32X events",
\r
};
\r
\r
-static int write_chunk(
chunk_name_e
name, int len, void *data, void *file)
\r
+static int write_chunk(
unsigned char
name, int len, void *data, void *file)
\r
{
\r
size_t bwritten = 0;
\r
bwritten += areaWrite(&name, 1, 1, file);
\r