mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Minor changes in RSXTexture.h and PKG Loader
* Moved RSXTexture from RSXThread.h to RSXTexture.h * Renamed RSXTexture::Getmipmap to RSXTexture::GetMipmap * Used more GCM texture format constants in GLGSRender.h * PKG Loader: Added an "Overwrite?" dialog in case the folder dest+titleID (i.e. "/dev_hdd0/game/"+titleID) already exists. Note that in that case, the game won't be installed regardless of the option you choose on the dialog.
This commit is contained in:
parent
5f9e60c45f
commit
17b877e448
6 changed files with 78 additions and 70 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#include "stdafx.h"
|
||||
#include "RSXThread.h"
|
||||
#include "RSXTexture.h"
|
||||
|
||||
RSXTexture::RSXTexture()
|
||||
{
|
||||
|
|
@ -70,7 +70,7 @@ u8 RSXTexture::GetFormat() const
|
|||
return ((methodRegisters[NV4097_SET_TEXTURE_FORMAT + (m_index*32)] >> 8) & 0xff);
|
||||
}
|
||||
|
||||
u16 RSXTexture::Getmipmap() const
|
||||
u16 RSXTexture::GetMipmap() const
|
||||
{
|
||||
return ((methodRegisters[NV4097_SET_TEXTURE_FORMAT + (m_index*32)] >> 16) & 0xffff);
|
||||
}
|
||||
|
|
@ -199,4 +199,4 @@ void RSXTexture::SetControl3(u16 depth, u32 pitch)
|
|||
{
|
||||
m_depth = depth;
|
||||
m_pitch = pitch;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue