mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-27 11:41:48 +01:00
[Gamecube/Wii] fixed compilation errors/warnings with latest libogc (1.8.21)
This commit is contained in:
parent
3e1dcda9ad
commit
6ec124760f
10
gx/main.c
10
gx/main.c
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* Genesis Plus GX
|
* Genesis Plus GX
|
||||||
*
|
*
|
||||||
* Copyright Eke-Eke (2007-2014), based on original work from Softdev (2006)
|
* Copyright Eke-Eke (2007-2019), based on original work from Softdev (2006)
|
||||||
*
|
*
|
||||||
* Redistribution and use of this code or any derivative works are permitted
|
* Redistribution and use of this code or any derivative works are permitted
|
||||||
* provided that the following conditions are met:
|
* provided that the following conditions are met:
|
||||||
@ -49,11 +49,12 @@
|
|||||||
#include "md_ntsc.h"
|
#include "md_ntsc.h"
|
||||||
|
|
||||||
#include <fat.h>
|
#include <fat.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
#include <iso9660.h>
|
#include <iso9660.h>
|
||||||
|
#include <sdcard/wiisd_io.h>
|
||||||
#include <ogc/usbmouse.h>
|
#include <ogc/usbmouse.h>
|
||||||
extern bool sdio_Deinitialize();
|
|
||||||
extern void USBStorage_Deinitialize();
|
extern void USBStorage_Deinitialize();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -318,9 +319,10 @@ void shutdown(void)
|
|||||||
|
|
||||||
/* shutdown all devices */
|
/* shutdown all devices */
|
||||||
DI_Close();
|
DI_Close();
|
||||||
sdio_Deinitialize();
|
__io_wiisd.shutdown();
|
||||||
USBStorage_Deinitialize();
|
USBStorage_Deinitialize();
|
||||||
MOUSE_Deinit();
|
MOUSE_Deinit();
|
||||||
|
USB_Deinitialize();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -550,7 +552,7 @@ int main (int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* RESET button callback */
|
/* RESET button callback */
|
||||||
SYS_SetResetCallback(Reset_cb);
|
SYS_SetResetCallback((resetcallback)Reset_cb);
|
||||||
|
|
||||||
/* main emulation loop */
|
/* main emulation loop */
|
||||||
run_emulation();
|
run_emulation();
|
||||||
|
Loading…
Reference in New Issue
Block a user