mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 11:29:24 +01:00
Main: Fix host-based build again
This commit is contained in:
parent
8085fee39c
commit
43c1930f03
@ -30,10 +30,9 @@
|
|||||||
#include "gui/gui.hh"
|
#include "gui/gui.hh"
|
||||||
#include "data_store.hh"
|
#include "data_store.hh"
|
||||||
#include "utils.hh"
|
#include "utils.hh"
|
||||||
#include <fat.h>
|
|
||||||
|
|
||||||
#if defined(GEKKO)
|
#if defined(GEKKO)
|
||||||
#include "fat.h"
|
#include <fat.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -110,10 +109,12 @@ void Frodo::load_rom_files()
|
|||||||
|
|
||||||
extern "C" int main(int argc, char **argv)
|
extern "C" int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
DIR_ITER *dir_tmp;
|
|
||||||
timeval tv;
|
timeval tv;
|
||||||
gettimeofday(&tv, NULL);
|
gettimeofday(&tv, NULL);
|
||||||
srand(tv.tv_usec);
|
srand(tv.tv_usec);
|
||||||
|
#if defined(GEKKO)
|
||||||
|
DIR_ITER *dir_tmp;
|
||||||
|
#endif
|
||||||
|
|
||||||
// Init SDL
|
// Init SDL
|
||||||
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER | SDL_INIT_JOYSTICK) < 0) {
|
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER | SDL_INIT_JOYSTICK) < 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user