Merge bc13994947
into 2cc2ebca31
This commit is contained in:
commit
34a4afb565
5 changed files with 10 additions and 8 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -10,4 +10,6 @@ Makefile
|
||||||
mkxp
|
mkxp
|
||||||
xxd+
|
xxd+
|
||||||
|
|
||||||
/build
|
/build
|
||||||
|
mkxp.layout
|
||||||
|
mkxp.cbp
|
||||||
|
|
|
@ -26,8 +26,9 @@
|
||||||
#include "filesystem.h"
|
#include "filesystem.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "debugwriter.h"
|
#include "debugwriter.h"
|
||||||
|
extern "C" {
|
||||||
#include <ruby.h>
|
#include <ruby.h>
|
||||||
|
}
|
||||||
#include <ruby/encoding.h>
|
#include <ruby/encoding.h>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
|
@ -21,9 +21,9 @@
|
||||||
|
|
||||||
#ifndef BINDING_UTIL_H
|
#ifndef BINDING_UTIL_H
|
||||||
#define BINDING_UTIL_H
|
#define BINDING_UTIL_H
|
||||||
|
extern "C" {
|
||||||
#include <ruby.h>
|
#include <ruby.h>
|
||||||
|
}
|
||||||
#include "exception.h"
|
#include "exception.h"
|
||||||
|
|
||||||
enum RbException
|
enum RbException
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
** You should have received a copy of the GNU General Public License
|
** You should have received a copy of the GNU General Public License
|
||||||
** along with mkxp. If not, see <http://www.gnu.org/licenses/>.
|
** along with mkxp. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "etc.h"
|
#include "etc.h"
|
||||||
#include "binding-util.h"
|
#include "binding-util.h"
|
||||||
#include "serializable-binding.h"
|
#include "serializable-binding.h"
|
||||||
|
|
|
@ -328,7 +328,7 @@ RGSS_openArchive(PHYSFS_Io *io, const char *, int forWrite)
|
||||||
nameLen ^= advanceMagic(magic);
|
nameLen ^= advanceMagic(magic);
|
||||||
|
|
||||||
static char nameBuf[512];
|
static char nameBuf[512];
|
||||||
uint i;
|
unsigned int i;
|
||||||
for (i = 0; i < nameLen; ++i)
|
for (i = 0; i < nameLen; ++i)
|
||||||
{
|
{
|
||||||
char c;
|
char c;
|
||||||
|
|
Loading…
Add table
Reference in a new issue