You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2007-11-12 08:43:24

deufeufeu
Member
Registered: 2007-04-22
Posts: 4

No overlay support ?

It might be me, but there's no support for overlays in desmume. I think it's the reason of some incompatibilities. In NDSSystem.c there's a load for the overlay address and size, but it's nowhere reused. It seems that the files are loaded in cflash.c as extra entries, but they are never mapped into memory. It's a mistake or a feature ? I'll fix it for my own build, I could send you a patch if you want.

Offline

#2 2007-11-12 09:31:37

shash
Administrator
Registered: 2007-03-17
Posts: 897

Re: No overlay support ?

Could you elaborate more about what are you talking about? I mean, fat support works for the loaded ROM folder, that what cflash.c is meant to do.

Offline

#3 2007-11-12 10:01:55

deufeufeu
Member
Registered: 2007-04-22
Posts: 4

Re: No overlay support ?

The first entries of the fat table are mapped to overlays files, it's extra bit of code loaded elsewhere in the ram. I don't really see the point of this, but after having looked at some games, it seems some extra code is loaded perhaps to do some incremental compilation : you have a big main binary, and you don't recompile everything to add extra functionalities.

Offline

#4 2007-11-12 10:41:54

shash
Administrator
Registered: 2007-03-17
Posts: 897

Re: No overlay support ?

I guess I'm just not understanding what you're talking about, I don't really know how the FAT support system works, neither I did ever work on it, so I guess I'm unable to help. If you provide a patch, I'll apply it whenever I can (which shouldn't take too much).

Offline

#5 2007-11-17 00:53:49

shash
Administrator
Registered: 2007-03-17
Posts: 897

Re: No overlay support ?

Ok, Normmatt cared to point that overlays are NOT related to the flash system. I'm not implementing that anytime soon, as I don't really know how it works, and I know of at least one game with an overlay, that is fully playable... So I guess it's not that much of a compatibility stopper tongue

I could be wrong, though

Offline

Board footer

Powered by FluxBB