mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-25 13:42:37 +00:00
NDS: Compile fixes
svn-id: r27508
This commit is contained in:
parent
65a39ab0d0
commit
29bfadcdd7
@ -478,7 +478,7 @@ bool OSystem_DS::grabRawScreen(Graphics::Surface* surf) {
|
||||
|
||||
// Ensure we copy using 16 bit quantities due to limitation of VRAM addressing
|
||||
|
||||
size_t imageStrideInBytes = isCpuScalerEnabled() DS::getGameWidth() ? 512;
|
||||
size_t imageStrideInBytes = DS::isCpuScalerEnabled() ? DS::getGameWidth() : 512;
|
||||
size_t imageStrideInWords = imageStrideInBytes / 2;
|
||||
|
||||
u16* image = (u16 *) DS::get8BitBackBuffer();
|
||||
|
@ -159,4 +159,9 @@ void OSystem_DS::colorToRGB(OverlayColor color, uint8 &r, uint8 &g, uint8 &b)
|
||||
//consolePrintf("coltorgb\n");
|
||||
}
|
||||
|
||||
namespace DS
|
||||
{
|
||||
bool isCpuScalerEnabled();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user