mirror of https://github.com/ClassiCube/ClassiCube
Try to fix last commit
This commit is contained in:
parent
93b16188bf
commit
115b032ca1
|
|
@ -4,7 +4,6 @@
|
||||||
#define CC_NO_SOCKETS
|
#define CC_NO_SOCKETS
|
||||||
#define CC_NO_THREADING
|
#define CC_NO_THREADING
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -32,6 +31,7 @@ const cc_result ReturnCode_SocketDropped = -1;
|
||||||
const char* Platform_AppNameSuffix = " 32x";
|
const char* Platform_AppNameSuffix = " 32x";
|
||||||
cc_bool Platform_ReadonlyFilesystem = true;
|
cc_bool Platform_ReadonlyFilesystem = true;
|
||||||
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS | PLAT_FLAG_APP_EXIT;
|
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS | PLAT_FLAG_APP_EXIT;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
#define CC_NO_UPDATER
|
#define CC_NO_UPDATER
|
||||||
#define CC_NO_DYNLIB
|
#define CC_NO_DYNLIB
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -43,6 +42,7 @@ const cc_result ReturnCode_SocketDropped = EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " 3DS";
|
const char* Platform_AppNameSuffix = " 3DS";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
// https://gbatemp.net/threads/homebrew-development.360646/page-245
|
// https://gbatemp.net/threads/homebrew-development.360646/page-245
|
||||||
// 3DS defaults to stack size of *32 KB*.. way too small
|
// 3DS defaults to stack size of *32 KB*.. way too small
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
#define CC_NO_THREADING
|
#define CC_NO_THREADING
|
||||||
#define OVERRIDE_MEM_FUNCTIONS
|
#define OVERRIDE_MEM_FUNCTIONS
|
||||||
|
|
||||||
#include "_PlatformBase.h"
|
|
||||||
#include "Stream.h"
|
#include "Stream.h"
|
||||||
#include "ExtMath.h"
|
#include "ExtMath.h"
|
||||||
#include "SystemFonts.h"
|
#include "SystemFonts.h"
|
||||||
|
|
@ -42,6 +41,7 @@ const char* Platform_AppNameSuffix = " MAC PPC";
|
||||||
|
|
||||||
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS;
|
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS;
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "_PlatformBase.h"
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
*-----------------------------------------------------Main entrypoint-----------------------------------------------------*
|
*-----------------------------------------------------Main entrypoint-----------------------------------------------------*
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
#define CC_NO_THREADING
|
#define CC_NO_THREADING
|
||||||
|
|
||||||
#define CC_XTEA_ENCRYPTION
|
#define CC_XTEA_ENCRYPTION
|
||||||
#include "_PlatformBase.h"
|
|
||||||
#include "Stream.h"
|
#include "Stream.h"
|
||||||
#include "ExtMath.h"
|
#include "ExtMath.h"
|
||||||
#include "Funcs.h"
|
#include "Funcs.h"
|
||||||
|
|
@ -26,7 +25,6 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/fcntl.h>
|
#include <sys/fcntl.h>
|
||||||
#include "_PlatformConsole.h"
|
|
||||||
|
|
||||||
const cc_result ReturnCode_FileShareViolation = 1000000000; // not used
|
const cc_result ReturnCode_FileShareViolation = 1000000000; // not used
|
||||||
const cc_result ReturnCode_FileNotFound = ENOENT;
|
const cc_result ReturnCode_FileNotFound = ENOENT;
|
||||||
|
|
@ -37,6 +35,24 @@ const cc_result ReturnCode_SocketDropped = EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " N64";
|
const char* Platform_AppNameSuffix = " N64";
|
||||||
cc_bool Platform_ReadonlyFilesystem = false;
|
cc_bool Platform_ReadonlyFilesystem = false;
|
||||||
|
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS | PLAT_FLAG_APP_EXIT;
|
||||||
|
#include "_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
|
/*########################################################################################################################*
|
||||||
|
*-----------------------------------------------------Main entrypoint-----------------------------------------------------*
|
||||||
|
*#########################################################################################################################*/
|
||||||
|
#include "main_impl.h"
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
SetupProgram(argc, argv);
|
||||||
|
while (Window_Main.Exists) {
|
||||||
|
RunProgram(argc, argv);
|
||||||
|
}
|
||||||
|
|
||||||
|
Window_Free();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
@ -264,6 +280,20 @@ cc_result Process_StartOpen(const cc_string* args) {
|
||||||
|
|
||||||
void Process_Exit(cc_result code) { exit(code); }
|
void Process_Exit(cc_result code) { exit(code); }
|
||||||
|
|
||||||
|
cc_result Process_StartGame2(const cc_string* args, int numArgs) {
|
||||||
|
Platform_LogConst("START CLASSICUBE");
|
||||||
|
return SetGameArgs(args, numArgs);
|
||||||
|
}
|
||||||
|
|
||||||
|
int Platform_GetCommandLineArgs(int argc, STRING_REF char** argv, cc_string* args) {
|
||||||
|
return GetGameArgs(args);
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_result Platform_SetDefaultCurrentDirectory(int argc, char **argv) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
*-------------------------------------------------------Encryption--------------------------------------------------------*
|
*-------------------------------------------------------Encryption--------------------------------------------------------*
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
#if defined CC_BUILD_POSIX
|
#if defined CC_BUILD_POSIX
|
||||||
|
|
||||||
#define CC_XTEA_ENCRYPTION
|
#define CC_XTEA_ENCRYPTION
|
||||||
#include "_PlatformBase.h"
|
|
||||||
#include "Stream.h"
|
#include "Stream.h"
|
||||||
#include "ExtMath.h"
|
#include "ExtMath.h"
|
||||||
#include "SystemFonts.h"
|
#include "SystemFonts.h"
|
||||||
|
|
@ -11,6 +10,7 @@
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
#include "Errors.h"
|
#include "Errors.h"
|
||||||
#include "PackedCol.h"
|
#include "PackedCol.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
@ -53,6 +53,7 @@ cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS;
|
||||||
cc_uint8 Platform_Flags;
|
cc_uint8 Platform_Flags;
|
||||||
#endif
|
#endif
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "_PlatformBase.h"
|
||||||
|
|
||||||
/* Operating system specific include files */
|
/* Operating system specific include files */
|
||||||
#if defined CC_BUILD_DARWIN
|
#if defined CC_BUILD_DARWIN
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
#include "Core.h"
|
#include "Core.h"
|
||||||
#if defined CC_BUILD_WINCE
|
#if defined CC_BUILD_WINCE
|
||||||
|
|
||||||
#include "_PlatformBase.h"
|
|
||||||
#include "Stream.h"
|
#include "Stream.h"
|
||||||
#include "SystemFonts.h"
|
#include "SystemFonts.h"
|
||||||
#include "Funcs.h"
|
#include "Funcs.h"
|
||||||
|
|
@ -34,6 +33,7 @@ const cc_result ReturnCode_SocketDropped = WSAECONNRESET;
|
||||||
const char* Platform_AppNameSuffix = " CE";
|
const char* Platform_AppNameSuffix = " CE";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS;
|
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS;
|
||||||
|
#include "_PlatformBase.h"
|
||||||
|
|
||||||
// Current directory management for Windows CE
|
// Current directory management for Windows CE
|
||||||
static WCHAR current_directory[MAX_PATH] = L"\\";
|
static WCHAR current_directory[MAX_PATH] = L"\\";
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
#include "Core.h"
|
#include "Core.h"
|
||||||
#if defined CC_BUILD_WIN
|
#if defined CC_BUILD_WIN
|
||||||
|
|
||||||
#include "_PlatformBase.h"
|
|
||||||
#include "Stream.h"
|
#include "Stream.h"
|
||||||
#include "SystemFonts.h"
|
#include "SystemFonts.h"
|
||||||
#include "Funcs.h"
|
#include "Funcs.h"
|
||||||
|
|
@ -35,6 +34,7 @@ const cc_result ReturnCode_SocketDropped = WSAECONNRESET;
|
||||||
const char* Platform_AppNameSuffix = "";
|
const char* Platform_AppNameSuffix = "";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
cc_uint8 Platform_Flags;
|
cc_uint8 Platform_Flags;
|
||||||
|
#include "_PlatformBase.h"
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
*-----------------------------------------------------Main entrypoint-----------------------------------------------------*
|
*-----------------------------------------------------Main entrypoint-----------------------------------------------------*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../SystemFonts.h"
|
#include "../SystemFonts.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -27,6 +26,7 @@
|
||||||
using namespace winrt;
|
using namespace winrt;
|
||||||
using namespace Windows::Foundation;
|
using namespace Windows::Foundation;
|
||||||
using namespace Windows::System;
|
using namespace Windows::System;
|
||||||
|
#define UWP_STRING(str) ((wchar_t*)(str)->uni)
|
||||||
|
|
||||||
static HANDLE heap;
|
static HANDLE heap;
|
||||||
const cc_result ReturnCode_FileShareViolation = ERROR_SHARING_VIOLATION;
|
const cc_result ReturnCode_FileShareViolation = ERROR_SHARING_VIOLATION;
|
||||||
|
|
@ -39,7 +39,7 @@ const cc_result ReturnCode_SocketDropped = WSAECONNRESET;
|
||||||
const char* Platform_AppNameSuffix = "";
|
const char* Platform_AppNameSuffix = "";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS;
|
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS;
|
||||||
#define UWP_STRING(str) ((wchar_t*)(str)->uni)
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
*-----------------------------------------------------Main entrypoint-----------------------------------------------------*
|
*-----------------------------------------------------Main entrypoint-----------------------------------------------------*
|
||||||
|
|
|
||||||
|
|
@ -30,11 +30,6 @@ int Platform_GetCommandLineArgs(int argc, STRING_REF char** argv, cc_string* arg
|
||||||
// (e.g. when running via some emulators)
|
// (e.g. when running via some emulators)
|
||||||
if (!argc) return 0;
|
if (!argc) return 0;
|
||||||
|
|
||||||
#if defined CC_BUILD_PS1 || defined CC_BUILD_SATURN
|
|
||||||
// When running in DuckStation at least, argv was a five element array of empty strings ???
|
|
||||||
return 0;
|
|
||||||
#else
|
|
||||||
|
|
||||||
argc--; argv++; // skip executable path argument
|
argc--; argv++; // skip executable path argument
|
||||||
|
|
||||||
int count = min(argc, GAME_MAX_CMDARGS);
|
int count = min(argc, GAME_MAX_CMDARGS);
|
||||||
|
|
@ -46,7 +41,6 @@ int Platform_GetCommandLineArgs(int argc, STRING_REF char** argv, cc_string* arg
|
||||||
Platform_Log2(" ARG %i = %c", &i, argv[i]);
|
Platform_Log2(" ARG %i = %c", &i, argv[i]);
|
||||||
}
|
}
|
||||||
return count;
|
return count;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cc_result Platform_SetDefaultCurrentDirectory(int argc, char **argv) {
|
cc_result Platform_SetDefaultCurrentDirectory(int argc, char **argv) {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
#define CC_NO_THREADING
|
#define CC_NO_THREADING
|
||||||
#define OVERRIDE_MEM_FUNCTIONS
|
#define OVERRIDE_MEM_FUNCTIONS
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../SystemFonts.h"
|
#include "../SystemFonts.h"
|
||||||
|
|
@ -31,6 +30,7 @@ const cc_result ReturnCode_SocketDropped = 1000000;
|
||||||
const char* Platform_AppNameSuffix = " Amiga";
|
const char* Platform_AppNameSuffix = " Amiga";
|
||||||
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS;
|
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS;
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
static const char __attribute__((used)) min_stack[] = "$STACK:102400";
|
static const char __attribute__((used)) min_stack[] = "$STACK:102400";
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
#define CC_NO_THREADING
|
#define CC_NO_THREADING
|
||||||
#define OVERRIDE_MEM_FUNCTIONS
|
#define OVERRIDE_MEM_FUNCTIONS
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -31,9 +30,10 @@ const cc_result ReturnCode_SocketInProgess = -1;
|
||||||
const cc_result ReturnCode_SocketWouldBlock = -1;
|
const cc_result ReturnCode_SocketWouldBlock = -1;
|
||||||
const cc_result ReturnCode_SocketDropped = -1;
|
const cc_result ReturnCode_SocketDropped = -1;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " GBA";
|
const char* Platform_AppNameSuffix = " Atari";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS | PLAT_FLAG_APP_EXIT;
|
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS | PLAT_FLAG_APP_EXIT;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
#define CC_NO_UPDATER
|
#define CC_NO_UPDATER
|
||||||
#define CC_NO_DYNLIB
|
#define CC_NO_DYNLIB
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -39,6 +38,7 @@ const cc_result ReturnCode_SocketDropped = EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " Dreamcast";
|
const char* Platform_AppNameSuffix = " Dreamcast";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
static cc_bool usingSD;
|
static cc_bool usingSD;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
#define CC_NO_THREADING
|
#define CC_NO_THREADING
|
||||||
#define OVERRIDE_MEM_FUNCTIONS
|
#define OVERRIDE_MEM_FUNCTIONS
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -35,6 +34,7 @@ const cc_result ReturnCode_SocketDropped = -1;
|
||||||
const char* Platform_AppNameSuffix = " GBA";
|
const char* Platform_AppNameSuffix = " GBA";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS | PLAT_FLAG_APP_EXIT;
|
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS | PLAT_FLAG_APP_EXIT;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
#define CC_NO_UPDATER
|
#define CC_NO_UPDATER
|
||||||
#define CC_NO_DYNLIB
|
#define CC_NO_DYNLIB
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -39,6 +38,7 @@ const cc_result ReturnCode_SocketDropped = -EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " GameCube";
|
const char* Platform_AppNameSuffix = " GameCube";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
#include "Platform_GCWii.h"
|
#include "Platform_GCWii.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
#define CC_NO_UPDATER
|
#define CC_NO_UPDATER
|
||||||
#define CC_NO_DYNLIB
|
#define CC_NO_DYNLIB
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -40,6 +39,7 @@ const cc_result ReturnCode_SocketDropped = -EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " Wii";
|
const char* Platform_AppNameSuffix = " Wii";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
#include "Platform_GCWii.h"
|
#include "Platform_GCWii.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
#define CC_NO_SOCKETS
|
#define CC_NO_SOCKETS
|
||||||
#define CC_NO_THREADING
|
#define CC_NO_THREADING
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../SystemFonts.h"
|
#include "../SystemFonts.h"
|
||||||
|
|
@ -38,6 +37,7 @@ const cc_result ReturnCode_SocketDropped = -10002;
|
||||||
const char* Platform_AppNameSuffix = " DOS";
|
const char* Platform_AppNameSuffix = " DOS";
|
||||||
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS | PLAT_FLAG_APP_EXIT;
|
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS | PLAT_FLAG_APP_EXIT;
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
*-----------------------------------------------------Main entrypoint-----------------------------------------------------*
|
*-----------------------------------------------------Main entrypoint-----------------------------------------------------*
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define CC_XTEA_ENCRYPTION
|
#define CC_XTEA_ENCRYPTION
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -53,6 +52,7 @@ const cc_result ReturnCode_SocketDropped = EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " NDS";
|
const char* Platform_AppNameSuffix = " NDS";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
#define CC_NO_SOCKETS
|
#define CC_NO_SOCKETS
|
||||||
#define CC_NO_THREADING
|
#define CC_NO_THREADING
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -21,7 +20,6 @@
|
||||||
#include <psxapi.h>
|
#include <psxapi.h>
|
||||||
#include <psxgpu.h>
|
#include <psxgpu.h>
|
||||||
#include <hwregs_c.h>
|
#include <hwregs_c.h>
|
||||||
void exit(int code) { _boot(); }
|
|
||||||
|
|
||||||
// The SDK calloc doesn't zero memory, so need to override it
|
// The SDK calloc doesn't zero memory, so need to override it
|
||||||
void* calloc(size_t num, size_t size) {
|
void* calloc(size_t num, size_t size) {
|
||||||
|
|
@ -29,7 +27,6 @@ void* calloc(size_t num, size_t size) {
|
||||||
if (ptr) memset(ptr, 0, num * size);
|
if (ptr) memset(ptr, 0, num * size);
|
||||||
return ptr;
|
return ptr;
|
||||||
}
|
}
|
||||||
#include "../_PlatformConsole.h"
|
|
||||||
|
|
||||||
const cc_result ReturnCode_FileShareViolation = 1000000000; // not used
|
const cc_result ReturnCode_FileShareViolation = 1000000000; // not used
|
||||||
const cc_result ReturnCode_FileNotFound = 99999;
|
const cc_result ReturnCode_FileNotFound = 99999;
|
||||||
|
|
@ -41,6 +38,8 @@ const cc_result ReturnCode_SocketDropped = -1;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " PS1";
|
const char* Platform_AppNameSuffix = " PS1";
|
||||||
cc_bool Platform_ReadonlyFilesystem = true;
|
cc_bool Platform_ReadonlyFilesystem = true;
|
||||||
|
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS | PLAT_FLAG_APP_EXIT;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
@ -202,7 +201,20 @@ cc_result Process_StartOpen(const cc_string* args) {
|
||||||
return ERR_NOT_SUPPORTED;
|
return ERR_NOT_SUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Process_Exit(cc_result code) { exit(code); }
|
void Process_Exit(cc_result code) { _boot(); }
|
||||||
|
|
||||||
|
cc_result Process_StartGame2(const cc_string* args, int numArgs) {
|
||||||
|
Platform_LogConst("START CLASSICUBE");
|
||||||
|
return SetGameArgs(args, numArgs);
|
||||||
|
}
|
||||||
|
|
||||||
|
int Platform_GetCommandLineArgs(int argc, STRING_REF char** argv, cc_string* args) {
|
||||||
|
return GetGameArgs(args);
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_result Platform_SetDefaultCurrentDirectory(int argc, char **argv) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
#define CC_NO_UPDATER
|
#define CC_NO_UPDATER
|
||||||
#define CC_NO_DYNLIB
|
#define CC_NO_DYNLIB
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -52,6 +51,7 @@ const cc_result ReturnCode_SocketDropped = EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " PS2";
|
const char* Platform_AppNameSuffix = " PS2";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
// extern unsigned char DEV9_irx[];
|
// extern unsigned char DEV9_irx[];
|
||||||
// extern unsigned int size_DEV9_irx;
|
// extern unsigned int size_DEV9_irx;
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
#define CC_NO_UPDATER
|
#define CC_NO_UPDATER
|
||||||
#define CC_NO_DYNLIB
|
#define CC_NO_DYNLIB
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -44,6 +43,7 @@ const cc_result ReturnCode_SocketDropped = NET_EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " PS3";
|
const char* Platform_AppNameSuffix = " PS3";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
SYS_PROCESS_PARAM(1001, 256 * 1024); // 256kb stack size
|
SYS_PROCESS_PARAM(1001, 256 * 1024); // 256kb stack size
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
#define CC_NO_UPDATER
|
#define CC_NO_UPDATER
|
||||||
#define CC_NO_DYNLIB
|
#define CC_NO_DYNLIB
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../SystemFonts.h"
|
#include "../SystemFonts.h"
|
||||||
|
|
@ -43,6 +42,7 @@ const cc_result ReturnCode_SocketDropped = EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " PS4";
|
const char* Platform_AppNameSuffix = " PS4";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
#define CC_NO_UPDATER
|
#define CC_NO_UPDATER
|
||||||
#define CC_NO_DYNLIB
|
#define CC_NO_DYNLIB
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -33,6 +32,7 @@ const cc_result ReturnCode_SocketDropped = EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " PSP";
|
const char* Platform_AppNameSuffix = " PSP";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
PSP_MODULE_INFO("ClassiCube", PSP_MODULE_USER, 1, 0);
|
PSP_MODULE_INFO("ClassiCube", PSP_MODULE_USER, 1, 0);
|
||||||
PSP_MAIN_THREAD_ATTR(PSP_THREAD_ATTR_USER);
|
PSP_MAIN_THREAD_ATTR(PSP_THREAD_ATTR_USER);
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
#define CC_NO_UPDATER
|
#define CC_NO_UPDATER
|
||||||
#define CC_NO_DYNLIB
|
#define CC_NO_DYNLIB
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -27,6 +26,7 @@ static int stdout_fd;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " PS Vita";
|
const char* Platform_AppNameSuffix = " PS Vita";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
#define CC_NO_SOCKETS
|
#define CC_NO_SOCKETS
|
||||||
#define CC_NO_THREADING
|
#define CC_NO_THREADING
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -27,8 +26,6 @@ void* calloc(size_t num, size_t size) {
|
||||||
return ptr;
|
return ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "../_PlatformConsole.h"
|
|
||||||
|
|
||||||
const cc_result ReturnCode_FileShareViolation = 1000000000; // not used
|
const cc_result ReturnCode_FileShareViolation = 1000000000; // not used
|
||||||
const cc_result ReturnCode_FileNotFound = 99999;
|
const cc_result ReturnCode_FileNotFound = 99999;
|
||||||
const cc_result ReturnCode_DirectoryExists = 99999;
|
const cc_result ReturnCode_DirectoryExists = 99999;
|
||||||
|
|
@ -39,6 +36,24 @@ const cc_result ReturnCode_SocketDropped = -1;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " Saturn";
|
const char* Platform_AppNameSuffix = " Saturn";
|
||||||
cc_bool Platform_ReadonlyFilesystem = true;
|
cc_bool Platform_ReadonlyFilesystem = true;
|
||||||
|
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS | PLAT_FLAG_APP_EXIT;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
|
/*########################################################################################################################*
|
||||||
|
*-----------------------------------------------------Main entrypoint-----------------------------------------------------*
|
||||||
|
*#########################################################################################################################*/
|
||||||
|
#include "../main_impl.h"
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
SetupProgram(argc, argv);
|
||||||
|
while (Window_Main.Exists) {
|
||||||
|
RunProgram(argc, argv);
|
||||||
|
}
|
||||||
|
|
||||||
|
Window_Free();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
@ -214,8 +229,20 @@ void Thread_Sleep(cc_uint32 milliseconds) {
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
*--------------------------------------------------------Platform---------------------------------------------------------*
|
*--------------------------------------------------------Platform---------------------------------------------------------*
|
||||||
*#########################################################################################################################*/
|
*#########################################################################################################################*/
|
||||||
extern void *__end;
|
cc_result Process_StartGame2(const cc_string* args, int numArgs) {
|
||||||
|
Platform_LogConst("START CLASSICUBE");
|
||||||
|
return SetGameArgs(args, numArgs);
|
||||||
|
}
|
||||||
|
|
||||||
|
int Platform_GetCommandLineArgs(int argc, STRING_REF char** argv, cc_string* args) {
|
||||||
|
return GetGameArgs(args);
|
||||||
|
}
|
||||||
|
|
||||||
|
cc_result Platform_SetDefaultCurrentDirectory(int argc, char **argv) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
extern void *__end;
|
||||||
void Platform_Init(void) {
|
void Platform_Init(void) {
|
||||||
cc_uint32 avail = HWRAM(HWRAM_SIZE) - (uint32_t)&__end;
|
cc_uint32 avail = HWRAM(HWRAM_SIZE) - (uint32_t)&__end;
|
||||||
Platform_Log1("Free HWRAM: %i bytes", &avail);
|
Platform_Log1("Free HWRAM: %i bytes", &avail);
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
#define CC_NO_UPDATER
|
#define CC_NO_UPDATER
|
||||||
#define CC_NO_DYNLIB
|
#define CC_NO_DYNLIB
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
|
|
@ -38,6 +37,7 @@ const cc_result ReturnCode_SocketDropped = EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " Switch";
|
const char* Platform_AppNameSuffix = " Switch";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
alignas(16) u8 __nx_exception_stack[0x1000];
|
alignas(16) u8 __nx_exception_stack[0x1000];
|
||||||
u64 __nx_exception_stack_size = sizeof(__nx_exception_stack);
|
u64 __nx_exception_stack_size = sizeof(__nx_exception_stack);
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,11 @@
|
||||||
#include "Core.h"
|
#define CC_XTEA_ENCRYPTION
|
||||||
#if defined CC_BUILD_SYMBIAN
|
#define OVERRIDE_MEM_FUNCTIONS
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "Errors.h"
|
#include "Errors.h"
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
#include "Logger.h"
|
#include "Logger.h"
|
||||||
#include "String.h"
|
#include "String.h"
|
||||||
#define CC_XTEA_ENCRYPTION
|
|
||||||
#include "_PlatformBase.h"
|
|
||||||
#include "Stream.h"
|
#include "Stream.h"
|
||||||
#include "ExtMath.h"
|
#include "ExtMath.h"
|
||||||
#include "SystemFonts.h"
|
#include "SystemFonts.h"
|
||||||
|
|
@ -15,7 +14,6 @@ extern "C" {
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
#include "Errors.h"
|
#include "Errors.h"
|
||||||
#include "PackedCol.h"
|
#include "PackedCol.h"
|
||||||
#define OVERRIDE_MEM_FUNCTIONS
|
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
@ -55,6 +53,7 @@ const cc_result ReturnCode_SocketDropped = EPIPE;
|
||||||
const char* Platform_AppNameSuffix = " Symbian";
|
const char* Platform_AppNameSuffix = " Symbian";
|
||||||
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS | PLAT_FLAG_APP_EXIT;
|
cc_uint8 Platform_Flags = PLAT_FLAG_SINGLE_PROCESS | PLAT_FLAG_APP_EXIT;
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
@ -731,5 +730,3 @@ int __aeabi_uidiv(unsigned int a, unsigned int b)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,3 @@
|
||||||
#include "Core.h"
|
|
||||||
#if defined CC_BUILD_SYMBIAN
|
|
||||||
|
|
||||||
#include <include/bitmap.h>
|
#include <include/bitmap.h>
|
||||||
#include <e32base.h>
|
#include <e32base.h>
|
||||||
#include <coemain.h>
|
#include <coemain.h>
|
||||||
|
|
@ -21,6 +18,7 @@
|
||||||
#include <eikstart.h>
|
#include <eikstart.h>
|
||||||
#include <aknmessagequerydialog.h>
|
#include <aknmessagequerydialog.h>
|
||||||
#include <classicube.rsg>
|
#include <classicube.rsg>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include <stdapis/string.h>
|
#include <stdapis/string.h>
|
||||||
#include <gles/egl.h>
|
#include <gles/egl.h>
|
||||||
|
|
@ -989,5 +987,3 @@ cc_result Process_StartOpen(const cc_string* args) {
|
||||||
TRAP(err, err = OpenBrowserL(args));
|
TRAP(err, err = OpenBrowserL(args));
|
||||||
return (cc_result) err;
|
return (cc_result) err;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../SystemFonts.h"
|
#include "../SystemFonts.h"
|
||||||
|
|
@ -39,6 +38,7 @@ const cc_result ReturnCode_DirectoryExists = _EEXIST;
|
||||||
const char* Platform_AppNameSuffix = "";
|
const char* Platform_AppNameSuffix = "";
|
||||||
cc_uint8 Platform_Flags;
|
cc_uint8 Platform_Flags;
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
#define CC_NO_UPDATER
|
#define CC_NO_UPDATER
|
||||||
#define CC_NO_DYNLIB
|
#define CC_NO_DYNLIB
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../ExtMath.h"
|
#include "../ExtMath.h"
|
||||||
#include "../SystemFonts.h"
|
#include "../SystemFonts.h"
|
||||||
|
|
@ -53,6 +52,7 @@ const cc_result ReturnCode_SocketDropped = EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " Wii U";
|
const char* Platform_AppNameSuffix = " Wii U";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
#define CC_NO_UPDATER
|
#define CC_NO_UPDATER
|
||||||
#define CC_NO_DYNLIB
|
#define CC_NO_DYNLIB
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
#include "../Utils.h"
|
#include "../Utils.h"
|
||||||
|
|
@ -28,6 +27,7 @@ const cc_result ReturnCode_SocketDropped = EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " XBox";
|
const char* Platform_AppNameSuffix = " XBox";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
#define CC_NO_SOCKETS
|
#define CC_NO_SOCKETS
|
||||||
#define CC_NO_DYNLIB
|
#define CC_NO_DYNLIB
|
||||||
|
|
||||||
#include "../_PlatformBase.h"
|
|
||||||
#include "../Stream.h"
|
#include "../Stream.h"
|
||||||
#include "../Funcs.h"
|
#include "../Funcs.h"
|
||||||
#include "../Utils.h"
|
#include "../Utils.h"
|
||||||
|
|
@ -38,6 +37,7 @@ const cc_result ReturnCode_SocketDropped = EPIPE;
|
||||||
|
|
||||||
const char* Platform_AppNameSuffix = " XBox 360";
|
const char* Platform_AppNameSuffix = " XBox 360";
|
||||||
cc_bool Platform_ReadonlyFilesystem;
|
cc_bool Platform_ReadonlyFilesystem;
|
||||||
|
#include "../_PlatformBase.h"
|
||||||
|
|
||||||
|
|
||||||
/*########################################################################################################################*
|
/*########################################################################################################################*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue