From: Christian G. <sa...@us...> - 2013-04-30 10:48:10
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via d6e99c1a38a527d1f1cf09acf1f2951f83419ecf (commit) from 80f6256f705d5365ae19c89d807e2c47e3ccff33 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d6e99c1a38a527d1f1cf09acf1f2951f83419ecf Author: Christian Groessler <ch...@gr...> Date: Tue Apr 30 12:47:59 2013 +0200 Add dcache flush for when using DMA. ----------------------------------------------------------------------- Summary of changes: examples/dreamcast/pvr/plasma/plasma.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/examples/dreamcast/pvr/plasma/plasma.c b/examples/dreamcast/pvr/plasma/plasma.c index b44e758..1fb3ea6 100644 --- a/examples/dreamcast/pvr/plasma/plasma.c +++ b/examples/dreamcast/pvr/plasma/plasma.c @@ -101,7 +101,8 @@ void plasma_drawtex() { // Switch these around to try out texture DMA pvr_txr_load(txr_buf[txr_cur], txr[txr_cur], 64 * 64 * 2); - // pvr_txr_load_dma(txr_buf[txr_cur], txr[txr_cur], 64*64*2, 1); + // dcache_flush_range((uint32)txr_buf[txr_cur], 64*64*2); // dcache flush is needed when using DMA + // pvr_txr_load_dma(txr_buf[txr_cur], txr[txr_cur], 64*64*2, 1, NULL, 0); } int check_start() { hooks/post-receive -- A pseudo Operating System for the Dreamcast. |