mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 01:15:58 +00:00
Replaced a magic number with a proper constant.
svn-id: r41476
This commit is contained in:
parent
5808e4f940
commit
fc22ab5748
@ -30,6 +30,9 @@
|
||||
|
||||
namespace Draci {
|
||||
|
||||
/** The maximum number of parameters for a GPL command */
|
||||
const int kMaxParams = 3;
|
||||
|
||||
// FIXME: Add function handlers
|
||||
|
||||
/**
|
||||
@ -43,11 +46,9 @@ struct GPL2Command {
|
||||
byte _subNumber;
|
||||
Common::String _name;
|
||||
uint16 _numParams;
|
||||
int _paramTypes[3];
|
||||
int _paramTypes[kMaxParams];
|
||||
};
|
||||
|
||||
const int kMaxParams = 3; //!< The maximum number of parameters for a GPL command
|
||||
|
||||
int gpldisasm(byte *gplcode, uint16 len);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user