Skip to content

SGDK game freezes with umapped write on BlastEm depending on resources #32

Open
@lucaspcamargo

Description

@lucaspcamargo

I am writing a game using SGDK and marsdev. The issue is, when I compile with marsdev, if I uncomment all of my resources, the game crashes at launch or when loading the first level. The exact error varies, but it can be an illegal instruction, or unmapped access error. The same does not happen when using the Windows toolchain provided by SGDK, everything works fine. Same code, same resource files, same SGDK version, everything.

I have seen cases like this, in which it looks like the resource got corrupted somehow: (then it crashes)
Screenshot_20221124_183958

In that specific instance, if the sfx_fuse resource is commented out, the game loads as normal:
Screenshot_20221124_183837

In all cases, the ROM never gets larger than 1MB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions