Skip to content

Move setup.ini to common code #53

@MotoLegacy

Description

@MotoLegacy

Details

setup.ini exists as a way to support command line arguments even though this isn't a concept that exists with our target platforms. It is executed before any other initialization code (e.g. hunk allocation, _Host_Init) which gives it a unique purpose distinct from nzp.rc.

Currently PlayStation Portable is the only platform that supports it, but the implementation is generic and could be moved to common code without hassle. This would be a good opportunity to define a common sys_init.c source file or similar where params can also be moved, and where the Host_Frame loop can lie, etc.

As an aside, we should change the name from setup.ini to something else. Despite the extension it is just one long line of command line arguments.

Relevant Platforms

All.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions