Fix compile errors

This commit is contained in:
InvisibleUp 2023-09-23 13:45:18 -07:00
parent 4264ff2de5
commit 37bb1f8335
11 changed files with 19 additions and 10 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ bld
build/
.vs/*
make/
subprojects/

View File

@ -22,6 +22,7 @@
INCBIN(SonyDriver, "rsrc/SONYDRV.bin");
INCBIN(SonyIcon, "rsrc/SONYICO.bin");
#ifdef gSonyDriverData
void Sony_LoadDriver(uint8_t *pto, int *size)
{
memcpy(pto, gSonyDriverData, gSonyDriverSize);
@ -73,3 +74,10 @@ void Sony_Install(void)
// currently broken
//ScreenHack_Install(&pto);
}
#else
// Can't load patches; just stub this out for now
void Sony_Install(void)
{
return;
}
#endif

View File

@ -30,7 +30,7 @@
#include "UTIL/ENDIANAC.h"
#include "UI/CONTROLM.h"
#include <SDL2/SDL.h>
#include <SDL.h>
#include "UI/SDL2/OSGLUSD2.h"
/* Constants and globals */

View File

@ -1,7 +1,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <SDL2/SDL.h>
#include <SDL.h>
#include "CNFGRAPI.h"
#include "EMCONFIG.h"
#include "SYSDEPNS.h"

View File

@ -1,7 +1,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <SDL2/SDL.h>
#include <SDL.h>
#include "CNFGRAPI.h"
#include "EMCONFIG.h"
#include "SYSDEPNS.h"

View File

@ -1,7 +1,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <SDL2/SDL.h>
#include <SDL.h>
#include "CNFGRAPI.h"
#include "SYSDEPNS.h"
#include "UTIL/ENDIANAC.h"

View File

@ -24,7 +24,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <SDL2/SDL.h>
#include <SDL.h>
#include "CNFGRAPI.h"
#include "SYSDEPNS.h"
#include "UTIL/ENDIANAC.h"

View File

@ -2,7 +2,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <SDL2/SDL.h>
#include <SDL.h>
#include "UI/MYOSGLUE.h"
/* --- defines and macros and such --- */

View File

@ -1,7 +1,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <SDL2/SDL.h>
#include <SDL.h>
#include "CNFGRAPI.h"
#include "SYSDEPNS.h"
#include "UTIL/ENDIANAC.h"

View File

@ -2,7 +2,7 @@
#include <string.h>
#include <stdio.h>
#include <stdint.h>
#include <SDL2/SDL.h>
#include <SDL.h>
#include "CNFGRAPI.h"
#include "SYSDEPNS.h"
#include "UTIL/ENDIANAC.h"

View File

@ -2,8 +2,8 @@
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_pixels.h>
#include <SDL.h>
#include <SDL_pixels.h>
#include "CNFGRAPI.h"
#include "SYSDEPNS.h"
#include "UTIL/ENDIANAC.h"