YoYoGames / GMRT-Beta

Bug Tracking for new GameMaker Runtime Beta
24 stars 0 forks source link

Int64 coercion of a ptr type would cast it down to an int32 #180

Closed DiasFranciscoA closed 4 months ago

DiasFranciscoA commented 4 months ago

Description

When writting a pointer to a buffer using buffer_write with type buffer_u64 would truncate the pointer to an int32 value.

Expected Change

This needs to be fixed pointer shouldn't get truncated

Steps To Reproduce

ptr-to-int64.zip

  1. Start GameMaker
  2. Run the project
  3. See the issue

How reliably can you recreate this issue using your steps above?

Always

Which version of GameMaker are you reporting this issue for?

No response

Which platform(s) are you seeing the problem on?

No response

Compiler Log File

Sample .yyz File