mirror of
https://github.com/InvisibleUp/uvmac.git
synced 2024-06-11 05:29:26 +00:00
Fix compile errors
This commit is contained in:
parent
4264ff2de5
commit
37bb1f8335
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -9,3 +9,4 @@ bld
|
||||||
build/
|
build/
|
||||||
.vs/*
|
.vs/*
|
||||||
make/
|
make/
|
||||||
|
subprojects/
|
|
@ -22,6 +22,7 @@
|
||||||
INCBIN(SonyDriver, "rsrc/SONYDRV.bin");
|
INCBIN(SonyDriver, "rsrc/SONYDRV.bin");
|
||||||
INCBIN(SonyIcon, "rsrc/SONYICO.bin");
|
INCBIN(SonyIcon, "rsrc/SONYICO.bin");
|
||||||
|
|
||||||
|
#ifdef gSonyDriverData
|
||||||
void Sony_LoadDriver(uint8_t *pto, int *size)
|
void Sony_LoadDriver(uint8_t *pto, int *size)
|
||||||
{
|
{
|
||||||
memcpy(pto, gSonyDriverData, gSonyDriverSize);
|
memcpy(pto, gSonyDriverData, gSonyDriverSize);
|
||||||
|
@ -73,3 +74,10 @@ void Sony_Install(void)
|
||||||
// currently broken
|
// currently broken
|
||||||
//ScreenHack_Install(&pto);
|
//ScreenHack_Install(&pto);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
// Can't load patches; just stub this out for now
|
||||||
|
void Sony_Install(void)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
|
@ -30,7 +30,7 @@
|
||||||
#include "UTIL/ENDIANAC.h"
|
#include "UTIL/ENDIANAC.h"
|
||||||
|
|
||||||
#include "UI/CONTROLM.h"
|
#include "UI/CONTROLM.h"
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL.h>
|
||||||
#include "UI/SDL2/OSGLUSD2.h"
|
#include "UI/SDL2/OSGLUSD2.h"
|
||||||
|
|
||||||
/* Constants and globals */
|
/* Constants and globals */
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL.h>
|
||||||
#include "CNFGRAPI.h"
|
#include "CNFGRAPI.h"
|
||||||
#include "EMCONFIG.h"
|
#include "EMCONFIG.h"
|
||||||
#include "SYSDEPNS.h"
|
#include "SYSDEPNS.h"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL.h>
|
||||||
#include "CNFGRAPI.h"
|
#include "CNFGRAPI.h"
|
||||||
#include "EMCONFIG.h"
|
#include "EMCONFIG.h"
|
||||||
#include "SYSDEPNS.h"
|
#include "SYSDEPNS.h"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL.h>
|
||||||
#include "CNFGRAPI.h"
|
#include "CNFGRAPI.h"
|
||||||
#include "SYSDEPNS.h"
|
#include "SYSDEPNS.h"
|
||||||
#include "UTIL/ENDIANAC.h"
|
#include "UTIL/ENDIANAC.h"
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL.h>
|
||||||
#include "CNFGRAPI.h"
|
#include "CNFGRAPI.h"
|
||||||
#include "SYSDEPNS.h"
|
#include "SYSDEPNS.h"
|
||||||
#include "UTIL/ENDIANAC.h"
|
#include "UTIL/ENDIANAC.h"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL.h>
|
||||||
#include "UI/MYOSGLUE.h"
|
#include "UI/MYOSGLUE.h"
|
||||||
|
|
||||||
/* --- defines and macros and such --- */
|
/* --- defines and macros and such --- */
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL.h>
|
||||||
#include "CNFGRAPI.h"
|
#include "CNFGRAPI.h"
|
||||||
#include "SYSDEPNS.h"
|
#include "SYSDEPNS.h"
|
||||||
#include "UTIL/ENDIANAC.h"
|
#include "UTIL/ENDIANAC.h"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL.h>
|
||||||
#include "CNFGRAPI.h"
|
#include "CNFGRAPI.h"
|
||||||
#include "SYSDEPNS.h"
|
#include "SYSDEPNS.h"
|
||||||
#include "UTIL/ENDIANAC.h"
|
#include "UTIL/ENDIANAC.h"
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <SDL2/SDL.h>
|
#include <SDL.h>
|
||||||
#include <SDL2/SDL_pixels.h>
|
#include <SDL_pixels.h>
|
||||||
#include "CNFGRAPI.h"
|
#include "CNFGRAPI.h"
|
||||||
#include "SYSDEPNS.h"
|
#include "SYSDEPNS.h"
|
||||||
#include "UTIL/ENDIANAC.h"
|
#include "UTIL/ENDIANAC.h"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user