mirror of
https://github.com/UberGames/ioef.git
synced 2025-05-30 08:50:56 +00:00
* (bug 3393) Blank user names still possible (Michael Jard <kfaust@gmail.com>)
* (bug 3363) Download percentage overflow (Martin Doucha <next_ghost@quick.cz>) * (bug 3390) MSVC project (Julian Priestley <juzley@gmail.com>) * For OS X and MinGW ports, don't -I code/SDL when USE_LOCAL_HEADERS is 0
This commit is contained in:
parent
881988636a
commit
31c24bd0d2
25 changed files with 10014 additions and 103 deletions
|
@ -1357,7 +1357,6 @@ void WriteVmFile( void ) {
|
|||
vmHeader_t header;
|
||||
FILE *f;
|
||||
int headerSize;
|
||||
int i;
|
||||
|
||||
report( "%i total errors\n", errorCount );
|
||||
|
||||
|
@ -1403,9 +1402,13 @@ void WriteVmFile( void ) {
|
|||
report( "Writing to %s\n", imageName );
|
||||
|
||||
#ifdef Q3_BIG_ENDIAN
|
||||
// byte swap the header
|
||||
for ( i = 0 ; i < sizeof( vmHeader_t ) / 4 ; i++ ) {
|
||||
((int *)&header)[i] = LittleLong( ((int *)&header)[i] );
|
||||
{
|
||||
int i;
|
||||
|
||||
// byte swap the header
|
||||
for ( i = 0 ; i < sizeof( vmHeader_t ) / 4 ; i++ ) {
|
||||
((int *)&header)[i] = LittleLong( ((int *)&header)[i] );
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue