kas1e
kas1e
That one passed for sure, there is new ones: ``` [ 45%] Building C object src/CMakeFiles/GL.dir/agl/amigaos.c.obj [ 46%] Building C object src/CMakeFiles/GL.dir/agl/agl.c.obj In file included from /amiga/ooo/src/gl/wrap/gles.h:1, from /amiga/ooo/src/gl/gl4es.h:10, from...
Now all compiles !:) Didn't check how it works at the moment, but the library surely compiles.
@Daytona675x Yeah, forked version builds too. Didn't tested if it works or not, but library builds for sure.
If you mean classic libzip library, that one if i remember right have big endian support already.. For libwap, at moment i tried to do conversion to big endian via...
Yeah seems so.. Is only FileRead are real generic function which used offten, or there is more ? I foind only that one at moment: ``` template static void FileRead(T*...
That part probabaly already endian agnostic , see at top: ``` inline bool system_is_big_endian() { int n = 1; return *(char *)&n != 1; } ``` and it used in...
Ok simple adding that: ``` template static void FileRead(T* dest, std::ifstream* file, int32_t offset) { file->seekg(offset, std::ios::beg); file->read((char*)dest, sizeof(*dest)); *dest = SDL_SwapLE32(*dest); } ``` Make that loading of game pass...
Yeah, file there, and yeah, seems ZipFile.cpp need fixes too .. Probabaly that first fread() before the line you point out need to be fixed, like this maybe swapping the...
Yeah, help need it,i suck at code expectually when it come to all those conversion things with arrays and co :) One of my friends who help me with some...
Also as probabaly we firstly need to be sure that CLAW.REZ opens/reads/etc fine , i was able to build libwap_tests binary too , but when i run just like "$...