Menu

#102 WinMain without return statement

windows
closed
nobody
Other (21)
5
2005-01-09
2005-01-07
No

The WinMain function in the file src/win/zloaderw.c
doesn't return a value as expected. It must terminate
with something like "return 0;".

Without the return statement, the exit process status
get a random value. This is problem for frontends which
check this value because they recognize ZSNES always
terminating with an error.

Discussion

  • Nach M. S.

    Nach M. S. - 2005-01-09

    Logged In: YES
    user_id=695796

    Fixed.
    And keep up the good work on your advanced projects.

     
  • Nach M. S.

    Nach M. S. - 2005-01-09
    • status: open --> closed
     

Log in to post a comment.