Giter Site home page Giter Site logo

wavtoraw crashes about sgdk HOT 6 CLOSED

stephane-d avatar stephane-d commented on August 22, 2024
wavtoraw crashes

from sgdk.

Comments (6)

clbr avatar clbr commented on August 22, 2024

The program is not 64-bit clean, nor endian-safe. I may be able to fix some parts.

from sgdk.

Stephane-D avatar Stephane-D commented on August 22, 2024

I can't see the link with the given line (even with the offset of 2). I though char, short and long types are always fixed to 8/16/32 bits whatever is the CPU behind.

from sgdk.

clbr avatar clbr commented on August 22, 2024

On Wed, 18 Nov 2015 06:52:02 -0800
Stephane Dallongeville [email protected] wrote:

I can't see the link with the given line (even with the offset of 2). I though char, short and long types are always fixed to 8/16/32 bits whatever is the CPU behind.

No, the C standard guarantees nothing of the sort. There are platforms
where char is 16 bits for example, on 64-bit Linux long is 64 bits.

from sgdk.

Stephane-D avatar Stephane-D commented on August 22, 2024

oh ok. I will have to check that in the others tools as well then :-/
I don't really care about endianess currently, i guess we won't develop Genesis games on smartphone tomorrow :p

from sgdk.

clbr avatar clbr commented on August 22, 2024

PowerPC is big-endian, which means old Macs and some current servers. The Genesis itself is big-endian ;)

from sgdk.

Stephane-D avatar Stephane-D commented on August 22, 2024

oh yeah, i forgot that old mac systems, hopefully no ones is trying to do Megadrive development on them ;)

from sgdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.