some minor wii-specific adjustments to startup
This commit is contained in:
parent
3fead3d718
commit
9def4afc2e
17
src/i_main.c
17
src/i_main.c
|
@ -26,6 +26,12 @@
|
|||
#include "i_system.h"
|
||||
#include "m_argv.h"
|
||||
|
||||
#ifdef GEKKO
|
||||
#include <gccore.h>
|
||||
#include <fat.h>
|
||||
#include <debug.h>
|
||||
#endif
|
||||
|
||||
//
|
||||
// D_DoomMain()
|
||||
// Not a globally visible function, just included for source reference,
|
||||
|
@ -36,7 +42,16 @@ void D_DoomMain (void);
|
|||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
// save arguments
|
||||
#ifdef GEKKO
|
||||
#ifdef DEBUG_GDB
|
||||
DEBUG_Init(GDBSTUB_DEVICE_USB, 1);
|
||||
_break();
|
||||
#endif
|
||||
|
||||
fatInitDefault();
|
||||
#endif
|
||||
|
||||
// save arguments
|
||||
|
||||
myargc = argc;
|
||||
myargv = argv;
|
||||
|
|
|
@ -2098,6 +2098,11 @@ static char *GetDefaultConfigDir(void)
|
|||
}
|
||||
else
|
||||
#endif /* #ifndef _WIN32 */
|
||||
#ifdef GEKKO
|
||||
{
|
||||
return M_StringDuplicate("sd:/apps/chocolate-doom/");
|
||||
}
|
||||
#endif
|
||||
{
|
||||
return M_StringDuplicate("");
|
||||
}
|
||||
|
|
Reference in a new issue