Skip to content

ROM_Cache is array or just pointer? #5

Description

@ClusterM

Compiling error:
3DNES/source/main.c:52:12: error: assignment to expression with array type
ROM_Cache = NULL;

main.c:

if (ROM_Cache != NULL)
    linearFree (ROM_Cache);

While it's defined as array in FileSystem.c:

u8  ROM_Cache[MAX_ROM_SIZE];

and nesGlobal.h:

extern u8                   ROM_Cache[MAX_ROM_SIZE];

Some files are not commited?

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