Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/tyraPublic
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Better IRX error handling#165

Open
israpps wants to merge2 commits intoh4570:master
base:master
Choose a base branch
Loading
fromisrapps:patch-3
Open

Conversation

israpps
Copy link
Contributor

@israppsisrapps commentedNov 10, 2023
edited
Loading

IRX ID must be >0, else, an error ocurred while loading the module (seekerr.h on IOP Kernel)

return value can be0,1 or2 (ref)

It could mean an error or not depending on the module behaviour, but for all the modules you use, returning 1 means an error.
0: module remains on RAM
1: module requested to be unloaded during startup (eg: error, or module does not require to remain resident)
2: module remains on RAM, but supports to be unloaded anytime by MODLOAD, (only if both module and MODLOAD version support it)

IRX ID must be > 0, else, an error ocurred while loading the module (see kerr.h on IOP Kernel)return value can be `0`, `1` or `2`It could mean an error or not depending on the module behaviour, but for all the modules you use, returning 1 means an error.0: module remains on RAM1: module requested to be unloaded during startup (eg: error, or module does not require to remain resident)2: module remains on RAM, but supports to be unloaded anytime by MODLOAD, (only if both module and MODLOAD version support it)
Copy link
Owner

@h4570h4570 left a comment
edited
Loading

Choose a reason for hiding this comment

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

Hi, great catch!

However, I noticed a typos in your proposed changes.
It would be great if you could correct them and ensure the code compiles successfully.
Additionally, I would kindly suggest testing the code thoroughly before submitting future PRs, as this helps in maintaining the quality and reliability of our codebase.

Once you've made the necessary corrections and confirmed that everything is working as expected, please update the PR.

I'm looking forward to your revised submission!
Thanks for your contribution and attention to detail.
Keep up the good work!

Wolf3s reacted with thumbs up emoji
@Wolf3s
Copy link
Contributor

Hi, great catch!

However, I noticed a typos in your proposed changes. It would be great if you could correct them and ensure the code compiles successfully. Additionally, I would kindly suggest testing the code thoroughly before submitting future PRs, as this helps in maintaining the quality and reliability of our codebase.

Once you've made the necessary corrections and confirmed that everything is working as expected, please update the PR.

I'm looking forward to your revised submission! Thanks for your contribution and attention to detail. Keep up the good work!

I

Hi, great catch!

However, I noticed a typos in your proposed changes. It would be great if you could correct them and ensure the code compiles successfully. Additionally, I would kindly suggest testing the code thoroughly before submitting future PRs, as this helps in maintaining the quality and reliability of our codebase.

Once you've made the necessary corrections and confirmed that everything is working as expected, please update the PR.

I'm looking forward to your revised submission! Thanks for your contribution and attention to detail. Keep up the good work!

Hi, great catch!

However, I noticed a typos in your proposed changes. It would be great if you could correct them and ensure the code compiles successfully. Additionally, I would kindly suggest testing the code thoroughly before submitting future PRs, as this helps in maintaining the quality and reliability of our codebase.

Once you've made the necessary corrections and confirmed that everything is working as expected, please update the PR.

I'm looking forward to your revised submission! Thanks for your contribution and attention to detail. Keep up the good work!

Hi, great catch!

However, I noticed a typos in your proposed changes. It would be great if you could correct them and ensure the code compiles successfully. Additionally, I would kindly suggest testing the code thoroughly before submitting future PRs, as this helps in maintaining the quality and reliability of our codebase.

Once you've made the necessary corrections and confirmed that everything is working as expected, please update the PR.

I'm looking forward to your revised submission! Thanks for your contribution and attention to detail. Keep up the good work!

Did you saw some mistakes on the previous commit?

@israpps
Copy link
ContributorAuthor

Hi, great catch!

However, I noticed a typos in your proposed changes.
It would be great if you could correct them and ensure the code compiles successfully.
Additionally, I would kindly suggest testing the code thoroughly before submitting future PRs, as this helps in maintaining the quality and reliability of our codebase.

Once you've made the necessary corrections and confirmed that everything is working as expected, please update the PR.

I'm looking forward to your revised submission!
Thanks for your contribution and attention to detail.
Keep up the good work!

I tried, but compiler complains on some issues related to search path for limits.h

SifExecModuleBuffer(&bdm_irx, size_bdm_irx, 0, nullptr, &ret);
TYRA_ASSERT(ret>= 0, "Failed to load module: bdm_irx");
irx_id =SifExecModuleBuffer(&bdm_irx, size_bdm_irx, 0, nullptr, &ret);
TYRA_ASSERT((ret!= 1) && (irx_id > 0), "Failed to load module: bdm_irx id:", idx_id, ", ret:", ret);
Copy link
Owner

Choose a reason for hiding this comment

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

irx_id = SifExecModuleBuffer(&bdm_irx, size_bdm_irx, 0, nullptr, &ret);TYRA_ASSERT((ret != 1) && (irx_id > 0), "Failed to load module: bdm_irx id:", idx_id, ", ret:", ret);

idx_id is not defined.

Wolf3s reacted with thumbs up emoji
@Wolf3s
Copy link
Contributor

Hi, great catch!
However, I noticed a typos in your proposed changes.
It would be great if you could correct them and ensure the code compiles successfully.
Additionally, I would kindly suggest testing the code thoroughly before submitting future PRs, as this helps in maintaining the quality and reliability of our codebase.
Once you've made the necessary corrections and confirmed that everything is working as expected, please update the PR.
I'm looking forward to your revised submission!
Thanks for your contribution and attention to detail.
Keep up the good work!

I tried, but compiler complains on some issues related to search path for limits.h

I will create a commit to fix this

@h4570
Copy link
Owner

h4570 commentedNov 11, 2023
edited
Loading

@Wolf3s,@israpps

Did@israpps agreed on this?
If he want, he can finish his PR.

@Wolf3s
Copy link
Contributor

@Wolf3s,@israpps

Did@israpps agreed on this? If he want, he can finish his PR.

yes, that´s why he should finish this one soon.

@h4570
Copy link
Owner

Please merge latest master to this branch.
Thanks!

@h4570h4570 added the refactorThis needs to be refactored labelFeb 11, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@h4570h4570h4570 requested changes

@Wolf3sWolf3sWolf3s approved these changes

Requested changes must be addressed to merge this pull request.

Assignees
No one assigned
Labels
refactorThis needs to be refactored
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@israpps@Wolf3s@h4570

[8]ページ先頭

©2009-2025 Movatter.jp