Skip to content

Error compiling #163

Open
Open

Description

@stmaccarelli

compiling from osx make I got this error:

GameYob-master/platform/ds/arm7/source/main.c:148:14: error: 'PM_DSI_HACK' undeclared (first use in this function)
         case PM_DSI_HACK:

it appears in this function:


// Custom version of a handler in libnds.
// Tells the arm9 we're entering sleep mode to prevent crashes relating to audio 
// code. It's a weird hack but it seems to work.
void powerHandler(u32 value, void* user_data) {

Activity

  1. Stewmath commented on Mar 16, 2018

    @Stewmath
    Owner

    Last I remember, the master branch doesn't compile with the latest devkitarm, but the v0.5-hotfix branch might (what the more recent releases are based on).

  2. stmaccarelli commented on Mar 16, 2018

    @stmaccarelli
    Author
  3. ParzivalWolfram commented on May 11, 2018

    @ParzivalWolfram

    You can remove that if statement from that file and everything works fine (except on Windows, where some dirty directory hacks must be done for compiling to work.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions