Update to bsnes v029 release.

A new version of bsnes has been released. It contains a few minor emulation fixes, as well as user interface improvements. Behind the scenes, the source has been cleaned up more in preparation for running the CPU and PPU (video processor) separately from each other (eg with no enslavement.) This is required for implementing a clock cycle based PPU renderer.
    - Greatly improved invalid DMA transfer behavior, should be nearly perfect now
    - Major code cleanup -- most importantly, almost all PPU timing-related settings moved back to PPU, from CPU
    - Added option to auto-detect file type by inspecting file headers rather than file extensions
    - Rewrote video filter system to move it out of the emulation core -- HQ2x and Scale2x will work even in hires and interlace modes now, 50% scanline filter added
    - Re-added bsnes window icon
    - Added new controller graphic when assigning joypad keys [FitzRoy]
    - Redundant "Advanced" panel settings which can be configured via the GUI are no longer displayed
    - Improved speed regulation settings
    - XP and Vista themes will now apply to bsnes controls
    - Added "Path Settings" window to allow easy selection of default file directories
    - Tab key now mostly works throughout most of the GUI (needs improvement)
    - Main window will no longer disappear when setting a video multipler which results in a window size larger than the current desktop resolution
    - Added two new advanced options: one to control GUI window opacity, and one to adjust the statusbar text
This commit is contained in:
byuu 2008-03-18 06:19:43 +00:00
parent dc692754c3
commit b45ff0433e
7 changed files with 60 additions and 5 deletions

View File

@ -5,7 +5,7 @@
*/ */
#define LIBCO_C #define LIBCO_C
#include "../libco.h" #include "libco.h"
#define WINVER 0x0400 #define WINVER 0x0400
#define _WIN32_WINNT 0x0400 #define _WIN32_WINNT 0x0400
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN

21
libco.c Normal file
View File

@ -0,0 +1,21 @@
/*
libco
auto-selection module
license: public domain
*/
#if defined(__GNUC__) && defined(__i386__)
#include "x86.c"
#elif defined(__GNUC__) && defined(__amd64__) && !defined(__MINGW64__)
#include "x86-64.c"
#elif defined(__MINGW64__)
#include "fiber.c"
#elif defined(__GNUC__)
#include "sjlj.c"
#elif defined(_MSC_VER) && defined(_M_IX86)
#include "x86.c"
#elif defined(_MSC_VER) && defined(_M_AMD64)
#include "fiber.c"
#else
#error "libco: unsupported processor, compiler or operating system"
#endif

34
libco.h Normal file
View File

@ -0,0 +1,34 @@
/*
libco
version: 0.13 rc2 (2008-01-28)
license: public domain
*/
#ifndef LIBCO_H
#define LIBCO_H
#ifdef LIBCO_C
#ifdef LIBCO_MP
#define thread_local __thread
#else
#define thread_local
#endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
typedef void* cothread_t;
cothread_t co_active();
cothread_t co_create(unsigned int, void (*)(void));
void co_delete(cothread_t);
void co_switch(cothread_t);
#ifdef __cplusplus
}
#endif
/* ifndef LIBCO_H */
#endif

2
sjlj.c
View File

@ -12,7 +12,7 @@
*/ */
#define LIBCO_C #define LIBCO_C
#include "../libco.h" #include "libco.h"
#include <stdlib.h> #include <stdlib.h>
#include <signal.h> #include <signal.h>
#include <setjmp.h> #include <setjmp.h>

View File

@ -17,7 +17,7 @@
*/ */
#define LIBCO_C #define LIBCO_C
#include "../libco.h" #include "libco.h"
#include <stdlib.h> #include <stdlib.h>
#include <ucontext.h> #include <ucontext.h>

View File

@ -5,7 +5,7 @@
*/ */
#define LIBCO_C #define LIBCO_C
#include "../libco.h" #include "libco.h"
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>

2
x86.c
View File

@ -5,7 +5,7 @@
*/ */
#define LIBCO_C #define LIBCO_C
#include "../libco.h" #include "libco.h"
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>