- [FIX] Warning en jail_audio.cpp

- [FIX] Warning en jdraw.cpp
- [FIX] correccions en els scripts
- [NEW] Afegides DLLs
This commit is contained in:
2026-03-25 09:53:08 +01:00
parent 6656f74659
commit 6ec8c2a7d7
7 changed files with 7 additions and 6 deletions

View File

@@ -447,7 +447,7 @@ void JA_StopChannel(const int channel)
{
for (int i = 0; i < JA_MAX_SIMULTANEOUS_CHANNELS; i++) {
if (channels[i].state != JA_CHANNEL_FREE) SDL_DestroyAudioStream(channels[i].stream);
channels[channel].stream = nullptr;
channels[i].stream = nullptr;
channels[i].state = JA_CHANNEL_FREE;
channels[i].pos = 0;
channels[i].sound = NULL;

View File

@@ -113,7 +113,7 @@ namespace draw
SDL_DisplayID display = SDL_GetPrimaryDisplay();
const SDL_DisplayMode *mode = SDL_GetDesktopDisplayMode(display);
if (mode) {
printf("Native resolution: %dx%d @ %d Hz\n", mode->w, mode->h, mode->refresh_rate);
printf("Native resolution: %ix%i @ %f Hz\n", mode->w, mode->h, mode->refresh_rate);
}
screen_fullscreen = true;
sdl_window = SDL_CreateWindow(screen_title.c_str(), mode->w, mode->h, SDL_WINDOW_FULLSCREEN);