Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
77 user(s) are online (61 user(s) are browsing Forums)

Members: 1
Guests: 76

DiscreetFX, more...

Headlines

Report message:*
 

Re: Porting to AmigaOS4 thread

Subject: Re: Porting to AmigaOS4 thread
by Raziel on 2021/9/23 12:12:39

@all

Ok, so here are some questions for all of you AMigaOS4 devs/coders.

I have this piece of code in scummvm
bool AmigaOSFilesystemNode::createDirectory() {
    
warning("AmigaOSFilesystemNode::createDirectory() -> Not supported");
    return 
_bIsValid && _bIsDirectory;
}

see here, line 387

which basically means (what the comment/error message says) that it will error out once there is an access to a non-available directory.

The other day it hit me with that error message, when a game tried to auto-save to a non-existing "saves/" directory.

Though, that code was written way back when AmigaOS4 was still young and many things have changed since.

1) Is creating a directory through a node still unsupported?
1.1) If not, could someone give me an example, please?

2) How would/could i be able to resolve it otherwise, if possible?
2.1) Again, example please as i don't know horse remains about coding for AmigaOS4.

Thank you

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project