Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

func_80183070 to SleepForever #1686

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

func_80183070 to SleepForever #1686

wants to merge 2 commits into from

Conversation

Ozero4
Copy link

@Ozero4 Ozero4 commented Sep 7, 2024

No description provided.

@hensldm hensldm added documentation Improvements or additions to documentation Needs-second-approval Second approval Needs-first-approval First approval labels Sep 7, 2024
include/functions.h Show resolved Hide resolved
src/code/code_80183070.c Show resolved Hide resolved
@hensldm
Copy link
Collaborator

hensldm commented Sep 14, 2024

Looks like main needs to be merged in and conflicts resolved.

@Ozero4 Ozero4 reopened this Nov 14, 2024
@hensldm hensldm removed the Needs-first-approval First approval label Nov 15, 2024
@@ -1,6 +1,6 @@
#include "libc64/sleep.h"

void func_80183070(void) {
void Sleep_Forever(void) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So taking another look at OoT, they have an additional log message that uses the word freeze which I'm wondering if should actually use in the function name (func_800D31A0 is the function in OoT).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reference, OoT (zeldaret/oot#2315) looks to rename the file to sys_freeze (no word on the function yet, though I think just Freeze or Freeze_Forever works) which I agree with.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I disagree with OoT's decision to call it sys_freeze. The word freeze in the context most appropriate is a system hang, or an unintended fault of software/hardware causing unresponsiveness, and not a deliberate action. Additionally, calling Sleep_Forever does not necessarily result in an unresponsive system.

The "freeze!" comment in OoT more seems like a joke than a hint at the actual source name.

@hensldm hensldm added the Waiting-for-author Author needs fix to conflicts or address reviews label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation Needs-second-approval Second approval Waiting-for-author Author needs fix to conflicts or address reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants