I'm the developer of the Sally Project: www.sally-project.de
I started to port ScummVM as an plugin to Sally.
First of all: It's really easy to make a port! Good Job!!!

I'm basically using the windows SDL port and changed just the output surface. Afterwards I copy the SDL surface to a DirectX Texture and display that one in the plugin... so far every thing is already working (Mouse / Keyboard input, starting of games, ...).
There is only a problem with the sound... I don't hear anything.
I hunted the error and found the problem.
I changed in the loadGFXMode() method the creation of the _hwscreen surface from:
_hwscreen = SDL_SetVideoMode(hwW, hwH, 16,
_videoMode.fullscreen ? (SDL_FULLSCREEN|SDL_SWSURFACE) : SDL_SWSURFACE
);
to:
_hwscreen = SDL_CreateRGBSurface(SDL_SWSURFACE, hwW, hwH, 16, 0, 0, 0, 0);
When I change it back, I can hear the sound (but it opens a new window... and that is not what I want).
I'm new to SDL.
My first thougth was that SDL needs a window to play sound, so I created a little test program and it's possible to play sound if you don't have a window...
Can anyone help me with this?
Any idea? Any function I should take a look at?
Regards
Knob