This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: LuaInterface/LuaInterface/Metatables.cs | |
=================================================================== | |
--- LuaInterface/LuaInterface/Metatables.cs (revision 6441) | |
+++ LuaInterface/LuaInterface/Metatables.cs (working copy) | |
@@ -745,6 +745,55 @@ | |
LuaDLL.lua_pushnil(luaState); | |
return 1; | |
} | |
+ private static bool IsInteger(double x) { | |
+ return Math.Ceiling(x) == x; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.HIROM | |
; snes_header is actually broken | |
.SNESHEADER | |
ID "IDAX" | |
NAME "IDA HIROM TEST " | |
HIROM | |
FASTROM | |
CARTRIDGETYPE $02 | |
ROMSIZE $0C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.LOROM | |
; snes_header is actually broken | |
.SNESHEADER | |
ID "IDAX" | |
NAME "IDA LOROM TEST " | |
LOROM | |
FASTROM | |
CARTRIDGETYPE $02 | |
ROMSIZE $0C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if not bit then | |
bit = require("bit") | |
end | |
function Goemon3HanabiOrder(hanabi_num, initial_rng) | |
local next_rng = function(a, x) | |
local data_80 = { | |
0x18, 0xfb, 0x78, 0xd8, 0xc2, 0x30, 0xa2, 0xaf, | |
0x01, 0x9a, 0xc2, 0x30, 0x8b, 0xa9, 0x00, 0x00, | |
0x8f, 0x00, 0x00, 0x00, 0xa9, 0xfd, 0x1f, 0xa2, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 2.8) | |
project(midifile CXX) | |
set(CMAKE_CXX_STANDARD 11) | |
set(CMAKE_CXX_STANDARD_REQUIRED ON) | |
set(VERSION "0.0.0") | |
include_directories(include) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configurations { | |
Toolset { | |
key: "PlatformToolset"; | |
choices: { v140, v140_xp, v120, v120_xp }; | |
}; | |
Configuration { | |
key: "Configuration"; | |
choices: { Release, Debug }; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configurations { | |
Toolset { | |
key: "PlatformToolset"; | |
choices: { v140, v140_xp, v120, v120_xp }; | |
}; | |
Configuration { | |
key: "Configuration"; | |
choices: { Release, Debug }; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configurations { | |
Toolset { | |
key: "PlatformToolset"; | |
choices: { v140, v140_xp, v120, v120_xp }; | |
}; | |
Configuration { | |
key: "Configuration"; | |
choices: { Release, Debug }; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configurations { | |
Toolset { | |
key: "PlatformToolset"; | |
choices: { v140, v140_xp, v120, v120_xp }; | |
}; | |
Configuration { | |
key: "Configuration"; | |
choices: { Release, Debug }; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// @file | |
/// C++ wrapper for strtoimax and strtoumax. | |
#ifndef STOIMAX_ | |
#define STOIMAX_ | |
#include <cinttypes> | |
#include <string> | |
/// Interprets an unsigned integer value in the string. |
OlderNewer