This commit is contained in:
DepressedTWM 2026-06-03 12:18:02 -04:00
parent c3d006a505
commit ce751fef1d
4 changed files with 3 additions and 8 deletions

View file

@ -14,7 +14,7 @@ class Window_DebugRight < Window_Selectable
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
super(192, 0, 448, 352)
super(192, 0, 448, Graphics.height)
self.contents = Bitmap.new(width - 32, height - 32)
self.index = -1
self.active = false

View file

@ -101,8 +101,7 @@ void SharedFontState::initFontSetCB(SDL_IOStream* &ops, const std::string &filen
set.other = filename;
}
TTF_Font *SharedFontState::getFont(std::string family, int size){
char msg[512];
TTF_Font *SharedFontState::getFont(std::string family, unsigned int size){
if (family.empty())
family = "Terminus (TTF)"; // terminus hardcoded :3c

View file

@ -646,10 +646,7 @@ void Input::update(){
p->repeatCount++;
bool repeated;
if (rgssVer >= 2)
repeated = p->repeatCount >= 23 && ((p->repeatCount+1) % 6) == 0;
else
repeated = p->repeatCount >= 15 && ((p->repeatCount+1) % 4) == 0;
repeated = p->repeatCount >= 15 && ((p->repeatCount+1) % 4) == 0;
p->getState(p->repeating).repeated |= repeated;

View file

@ -212,7 +212,6 @@ static void setGamePathInRegistry() {
//TODO handle this for Linux/Mac
}
int main(int argc, char *argv[]){
char msg[512];
SecurityManagerInit();
loadLanguageMetadata(); //there will be a segfault on fclose if I don't move it here