Search
lxdream.org :: lxdream/src/maple/vmu.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/maple/vmu.c
changeset 1172:43eef98ff265
prev1088:cf3900ae8acc
next1298:d0eb2307b847
author nkeynes
date Fri Mar 02 23:49:10 2012 +1000 (12 years ago)
permissions -rw-r--r--
last change Android WIP:
* Rename gui_jni.c to gui_android.c - now quite android specific.
* Implement generic EGL driver with very minimal Java wrapper
* Run emulation in separate thread, and implement simple queue for
inter-thread communication.
* Add menu/action-bar items for start + reset
file annotate diff log raw
1.1 --- a/src/maple/vmu.c Fri Dec 04 18:06:12 2009 +1000
1.2 +++ b/src/maple/vmu.c Fri Mar 02 23:49:10 2012 +1000
1.3 @@ -209,7 +209,9 @@
1.4 break;
1.5 case MAPLE_FUNC_MEMORY:
1.6 if( vmu->vol != NULL ) {
1.7 - vmu_volume_read_block( vmu->vol, pt, block, outbuf );
1.8 + if( vmu_volume_read_block( vmu->vol, pt, block, outbuf ) ) {
1.9 + *buflen = VMU_BLOCK_SIZE/4;
1.10 + }
1.11 return 0;
1.12 }
1.13 // Else fallthrough for now
.