Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Debug Error!!!

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 ZomeonE   Members   

122
Like
Likes
Like

Posted 30 December 1999 - 01:23 PM

Why does this create a debug error???:::


if (lpdd4->SetDisplayMode(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP)!=DD_OK)
MessageBox(main_window_handle, "Unable to set display mode 640x480x16", "Error", MB_OK);


#2 ZomeonE   Members   

122
Like
Likes
Like

Posted 30 December 1999 - 03:24 AM

Debug error:

The value of ESP was not properly saved across a function call.


#3 logistix   Members   

122
Like
Likes
Like

Posted 30 December 1999 - 01:23 PM

first off try

FAILED(lpdd4->SetDisplayMode(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP))

instead of

lpdd4->SetDisplayMode(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP)!=DD_OK

You might have a non-fatal warning, anyway its good practice





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.