mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Make sure SDL can hijack main() so it can do its initialisation. Only implemented for non-GUI executable so far.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@278 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -56,7 +56,10 @@ void Host_CloseDisplay(){}
|
||||
|
||||
void Host_UpdateStatusBar(const char* _pText){}
|
||||
|
||||
int main(int argc, const char* argv[])
|
||||
// Include SDL header so it can hijack main().
|
||||
#include "SDL.h"
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
if (argc != 2)
|
||||
{
|
||||
|
Reference in New Issue
Block a user