mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-29 14:04:16 +01:00
This commit is contained in:
parent
65eccf6e20
commit
255e764a86
@ -22,7 +22,7 @@ SOURCES := source source/images source/sounds source/fonts source/lang \
|
|||||||
source/gui source/utils source/utils/sz \
|
source/gui source/utils source/utils/sz \
|
||||||
source/vba source/vba/apu source/vba/common \
|
source/vba source/vba/apu source/vba/common \
|
||||||
source/vba/gb source/vba/gba
|
source/vba/gb source/vba/gba
|
||||||
INCLUDES := source
|
INCLUDES := source source/vba
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# options for code generation
|
# options for code generation
|
||||||
|
@ -22,7 +22,7 @@ SOURCES := source source/images source/sounds source/fonts source/lang \
|
|||||||
source/gui source/utils source/utils/sz source/utils/unzip \
|
source/gui source/utils source/utils/sz source/utils/unzip \
|
||||||
source/vba source/vba/apu source/vba/common \
|
source/vba source/vba/apu source/vba/common \
|
||||||
source/vba/gb source/vba/gba
|
source/vba/gb source/vba/gba
|
||||||
INCLUDES := source
|
INCLUDES := source source/vba
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# options for code generation
|
# options for code generation
|
||||||
|
@ -14,18 +14,18 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
|
|
||||||
extern "C" {
|
|
||||||
#include "utils/sz/7zCrc.h"
|
|
||||||
#include "utils/sz/7zIn.h"
|
|
||||||
#include "utils/sz/7zExtract.h"
|
|
||||||
}
|
|
||||||
|
|
||||||
#include "vbagx.h"
|
#include "vbagx.h"
|
||||||
#include "fileop.h"
|
#include "fileop.h"
|
||||||
#include "filebrowser.h"
|
#include "filebrowser.h"
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
#include "gcunzip.h"
|
#include "gcunzip.h"
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
|
#include "utils/sz/7zCrc.h"
|
||||||
|
#include "utils/sz/7zIn.h"
|
||||||
|
#include "utils/sz/7zExtract.h"
|
||||||
|
}
|
||||||
|
|
||||||
#define ZIPCHUNK 2048
|
#define ZIPCHUNK 2048
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
#include "filelist.h"
|
#include "filelist.h"
|
||||||
#include "vba.h"
|
#include "vbagx.h"
|
||||||
|
|
||||||
typedef struct _MSG
|
typedef struct _MSG
|
||||||
{
|
{
|
||||||
|
@ -15,11 +15,14 @@
|
|||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HW_RVL
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ogcsys.h>
|
#include <ogcsys.h>
|
||||||
#include <gccore.h>
|
#include <gccore.h>
|
||||||
|
#include <ogc/ipc.h>
|
||||||
#include "unistd.h"
|
#include "unistd.h"
|
||||||
#include "ehcmodule_elf.h"
|
#include "ehcmodule_elf.h"
|
||||||
|
|
||||||
@ -274,3 +277,5 @@ bool load_ehci_module()
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -30,6 +30,8 @@ distribution.
|
|||||||
|
|
||||||
-------------------------------------------------------------*/
|
-------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifdef HW_RVL
|
||||||
|
|
||||||
#include <gccore.h>
|
#include <gccore.h>
|
||||||
|
|
||||||
#include <ogc/lwp_heap.h>
|
#include <ogc/lwp_heap.h>
|
||||||
@ -41,6 +43,7 @@ distribution.
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <ogc/machine/processor.h>
|
#include <ogc/machine/processor.h>
|
||||||
|
#include <ogc/ipc.h>
|
||||||
|
|
||||||
//#define DEBUG_USB2
|
//#define DEBUG_USB2
|
||||||
|
|
||||||
@ -449,3 +452,4 @@ const DISC_INTERFACE __io_usb2storage = {
|
|||||||
(FN_MEDIUM_CLEARSTATUS) & __usb2storage_ClearStatus,
|
(FN_MEDIUM_CLEARSTATUS) & __usb2storage_ClearStatus,
|
||||||
(FN_MEDIUM_SHUTDOWN) & __usb2storage_Shutdown
|
(FN_MEDIUM_SHUTDOWN) & __usb2storage_Shutdown
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include "gba/Globals.h"
|
#include "gba/Globals.h"
|
||||||
#include "gba/RTC.h"
|
#include "gba/RTC.h"
|
||||||
#include "common/Port.h"
|
#include "common/Port.h"
|
||||||
#include "unzip.h"
|
#include "../utils/unzip/unzip.h"
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "common/memgzio.h"
|
#include "common/memgzio.h"
|
||||||
|
@ -8,9 +8,9 @@
|
|||||||
#include "gb.h"
|
#include "gb.h"
|
||||||
#include "gbCheats.h"
|
#include "gbCheats.h"
|
||||||
#include "gbGlobals.h"
|
#include "gbGlobals.h"
|
||||||
#include "vba.h"
|
#include "../../vbagx.h"
|
||||||
#include "../ngc/menu.h"
|
#include "../../menu.h"
|
||||||
#include "../ngc/fastmath.h"
|
#include "../../fastmath.h"
|
||||||
|
|
||||||
#define CARLLOG
|
#define CARLLOG
|
||||||
|
|
||||||
|
@ -32,19 +32,19 @@
|
|||||||
#include "utils/pngu.h"
|
#include "utils/pngu.h"
|
||||||
#include "utils/unzip/unzip.h"
|
#include "utils/unzip/unzip.h"
|
||||||
|
|
||||||
#include "Util.h"
|
#include "vba/Util.h"
|
||||||
#include "common/Port.h"
|
#include "vba/common/Port.h"
|
||||||
#include "gba/Flash.h"
|
#include "vba/common/Patch.h"
|
||||||
#include "common/Patch.h"
|
#include "vba/gba/Flash.h"
|
||||||
#include "gba/RTC.h"
|
#include "vba/gba/RTC.h"
|
||||||
#include "gba/Sound.h"
|
#include "vba/gba/Sound.h"
|
||||||
#include "gba/Cheats.h"
|
#include "vba/gba/Cheats.h"
|
||||||
#include "gba/GBA.h"
|
#include "vba/gba/GBA.h"
|
||||||
#include "gba/agbprint.h"
|
#include "vba/gba/agbprint.h"
|
||||||
#include "gb/gb.h"
|
#include "vba/gb/gb.h"
|
||||||
#include "gb/gbGlobals.h"
|
#include "vba/gb/gbGlobals.h"
|
||||||
#include "gb/gbCheats.h"
|
#include "vba/gb/gbCheats.h"
|
||||||
#include "gb/gbSound.h"
|
#include "vba/gb/gbSound.h"
|
||||||
|
|
||||||
static u32 start;
|
static u32 start;
|
||||||
int cartridgeType = 0;
|
int cartridgeType = 0;
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#ifndef VBASUPPORT_H
|
#ifndef VBASUPPORT_H
|
||||||
#define VBASUPPORT_H
|
#define VBASUPPORT_H
|
||||||
|
|
||||||
#include "System.h"
|
#include "vba/System.h"
|
||||||
|
|
||||||
extern struct EmulatedSystem emulator;
|
extern struct EmulatedSystem emulator;
|
||||||
extern int cartridgeType;
|
extern int cartridgeType;
|
||||||
|
Loading…
Reference in New Issue
Block a user