mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-04-02 10:42:14 -04:00
This is an experimental release, as such it is posted only to Google Code. Changelog: - 21fx API moved to pre-finalized form as S-MSU1; more about this on the forum - OpenGL driver now uses GL_CLAMP_TO_BORDER instead of GL_CLAMP_TO_EDGE to support screen curvature shader - rewrote file open dialog; code is greatly simplified, interface is improved - all cheat code columns are now enquoted, and empty codes at the bottom of the file are omitted (format is compatible with previous releases still) - debugger: added missing DMA variables to S-CPU properties viewer - snesfilter: added OpenMP (multi-threading) support to HQ2x filter - lots of other miscellaneous code cleanup work
20 lines
380 B
C++
20 lines
380 B
C++
#ifndef _RAR_ENCNAME_
|
|
#define _RAR_ENCNAME_
|
|
|
|
class EncodeFileName
|
|
{
|
|
private:
|
|
void AddFlags(int Value);
|
|
|
|
byte *EncName;
|
|
byte Flags;
|
|
int FlagBits;
|
|
int FlagsPos;
|
|
int DestSize;
|
|
public:
|
|
EncodeFileName();
|
|
int Encode(char *Name,wchar *NameW,byte *EncName);
|
|
void Decode(char *Name,byte *EncName,int EncSize,wchar *NameW,int MaxDecSize);
|
|
};
|
|
|
|
#endif
|