Search
lxdream.org :: lxdream :: r883:b275b4fee639
lxdream 0.9.1
released Jun 29
Download Now
changeset883:b275b4fee639
parent882:ada7d14a8ad9
child884:2dcd6a3829fa
authornkeynes
dateSun Oct 19 11:52:37 2008 +0000 (11 years ago)
Re-add the word of padding in sh4r for 64-bit alignment purposes
src/dreamcast.h
src/sh4/sh4.h
1.1 --- a/src/dreamcast.h Sun Oct 19 11:07:10 2008 +0000
1.2 +++ b/src/dreamcast.h Sun Oct 19 11:52:37 2008 +0000
1.3 @@ -61,7 +61,7 @@
1.4 void dreamcast_program_loaded( const gchar *name, sh4addr_t entry_point );
1.5
1.6 #define DREAMCAST_SAVE_MAGIC "%!-lxDream!Save\0"
1.7 -#define DREAMCAST_SAVE_VERSION 0x00010004
1.8 +#define DREAMCAST_SAVE_VERSION 0x00010005
1.9
1.10 int dreamcast_save_state( const gchar *filename );
1.11 int dreamcast_load_state( const gchar *filename );
2.1 --- a/src/sh4/sh4.h Sun Oct 19 11:07:10 2008 +0000
2.2 +++ b/src/sh4/sh4.h Sun Oct 19 11:52:37 2008 +0000
2.3 @@ -70,6 +70,7 @@
2.4 int32_t i;
2.5 float f;
2.6 } fpul;
2.7 + uint32_t pad; /* Pad up to 64-bit boundaries */
2.8 float fr[2][16];
2.9 uint64_t mac;
2.10 uint32_t gbr, ssr, spc, sgr, dbr, vbr;
.