Results 1 to 3 of 3

Thread: Simpliest SDL example don't work

                  
   
  1. #1
    DCEmu Newbie
    Join Date
    Dec 2008
    Posts
    1
    Rep Power
    0

    Default Simpliest SDL example don't work

    Hello homebrewers.

    I try to test the SDL example from here:

    http://de.wikibooks.org/wiki/SDL:_Bilder_und_Ereignisse

    The problem is that nothig ist shown on the screen. No Tux to see. I guess that

    image = SDL_LoadBMP("tux.bmp");
    is the point where SDL quits... Has anyone get this running?

    I realy thank you guys for info. My goal should be to port LPairs and my own SDL project on NDS.

  2. #2
    DCEmu Coder GPF's Avatar
    Join Date
    Apr 2004
    Location
    Texas
    Age
    52
    Posts
    796
    Rep Power
    78

    Default

    make sure and call
    fatInitDefault();
    before you intialize SDL
    and specify the correct path to the tux.bmp

    Troy

  3. #3
    DCEmu Newbie
    Join Date
    Nov 2014
    Posts
    2
    Rep Power
    0

    Default

    make sure and call
    fatInitDefault();
    before you intialize SDL
    and specify the correct path to the tux.bmp

    Troy



    Last edited by numan123; November 24th, 2014 at 03:43.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •