mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-27 13:04:21 +01:00
move savebuffer on gamecube from ARAM to MEM1. fixes browser game images
not working on gamecube.
This commit is contained in:
parent
839db27a7f
commit
dd4f8f1d94
@ -449,11 +449,10 @@ int main(int argc, char *argv[])
|
|||||||
savebuffer = (unsigned char *)mem2_malloc(SAVEBUFFERSIZE);
|
savebuffer = (unsigned char *)mem2_malloc(SAVEBUFFERSIZE);
|
||||||
browserList = (BROWSERENTRY *)mem2_malloc(sizeof(BROWSERENTRY)*MAX_BROWSER_SIZE);
|
browserList = (BROWSERENTRY *)mem2_malloc(sizeof(BROWSERENTRY)*MAX_BROWSER_SIZE);
|
||||||
#else
|
#else
|
||||||
|
savebuffer = (unsigned char *)memalign(32,SAVEBUFFERSIZE);
|
||||||
#ifdef USE_VM
|
#ifdef USE_VM
|
||||||
savebuffer = (unsigned char *)vm_malloc(SAVEBUFFERSIZE);
|
|
||||||
browserList = (BROWSERENTRY *)vm_malloc(sizeof(BROWSERENTRY)*MAX_BROWSER_SIZE);
|
browserList = (BROWSERENTRY *)vm_malloc(sizeof(BROWSERENTRY)*MAX_BROWSER_SIZE);
|
||||||
#else
|
#else
|
||||||
savebuffer = (unsigned char *)memalign(32,SAVEBUFFERSIZE);
|
|
||||||
browserList = (BROWSERENTRY *)memalign(32,sizeof(BROWSERENTRY)*MAX_BROWSER_SIZE);
|
browserList = (BROWSERENTRY *)memalign(32,sizeof(BROWSERENTRY)*MAX_BROWSER_SIZE);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user