mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
NDS : The scaler profiling renders a white line (1 pixel / 1 ms)
svn-id: r25704
This commit is contained in:
parent
20e44a4914
commit
887cf19cac
@ -732,8 +732,10 @@ void displayMode16BitFlipBuffer() {
|
||||
#ifdef SCALER_PROFILE
|
||||
u16 t1 = TIMER1_DATA;
|
||||
TIMER1_CR &= ~TIMER_ENABLE;
|
||||
u32 dt = t1 - t0;
|
||||
consolePrintf("%d us\n", (dt * 10240) / 334);
|
||||
u32 dt = t1 - t0;
|
||||
u32 dt_us = (dt * 10240) / 334;
|
||||
u32 dt_ms = dt_us / 1000;
|
||||
memset(base, 0xFF, dt_ms*2);
|
||||
#endif
|
||||
}
|
||||
#ifdef HEAVY_LOGGING
|
||||
|
Loading…
Reference in New Issue
Block a user