{"id":104962,"date":"2025-06-11T15:04:03","date_gmt":"2025-06-11T13:04:03","guid":{"rendered":"https:\/\/www.emu-france.com\/?p=104962"},"modified":"2025-06-12T17:34:45","modified_gmt":"2025-06-12T15:34:45","slug":"consoles-portables-peanut-gb-v1-3-0","status":"publish","type":"post","link":"https:\/\/www.emu-france.com\/?p=104962","title":{"rendered":"[Consoles portables] Peanut GB v1.3.0"},"content":{"rendered":"<p>Peanut-GB est un \u00e9mulateur d\u00e9di\u00e9 aux d\u00e9veloppeurs bas\u00e9 sur <a href=\"https:\/\/github.com\/gregtour\/gameboy\">Greg&rsquo;s GameBoy Emulator<\/a>. En effet, tout le code est inclus dans un unique fichier et propose une API permettant de l\u2019utiliser.<br \/>\nPour l&rsquo;heure, il \u00e9mule la GameBoy (DMG) avec le soucis de la performance plut\u00f4t que de la pr\u00e9cision.<br \/>\nPlusieurs exemples d\u2019utilisation sont fournis dont un en SDL, ce qui en fait un \u00e9mulateur pr\u00eat \u00e0 l\u2019utilisation pour les non d\u00e9veloppeurs.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2025\/06\/peanutgb.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-104987\" src=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2025\/06\/peanutgb.png\" alt=\"\" width=\"418\" height=\"415\" srcset=\"https:\/\/www.emu-france.com\/wp-content\/uploads\/2025\/06\/peanutgb.png 644w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2025\/06\/peanutgb-300x298.png 300w, https:\/\/www.emu-france.com\/wp-content\/uploads\/2025\/06\/peanutgb-150x150.png 150w\" sizes=\"auto, (max-width: 418px) 100vw, 418px\" \/><\/a><br \/>\n&nbsp;<\/p>\n<p>Les nouveaut\u00e9s sont:<br \/>\n<em>Highlights<br \/>\n&#8211; Add automated testing for LCD emulation. This is checked when a pull request is made.<br \/>\n&#8211; Fixed LSDJ not working due to MBC5 RAM bank switching not emulated correctly.<br \/>\n&#8211; Fixed a bug in the LCD emulation whereby the LCD was in HBlank state rather than OAM Scan after VBlank. This fixed an issue with Final Fantasy Legend III crashing on entering a battle, and the flickering in Prince of Persia (#73)<br \/>\n&#8211; Fixed Final Fantasy Legend III not starting because Peanut-GB was not starting the APU when a bootrom was not being used.<br \/>\n&#8211; Fixed Dragon Quest III, whereby halting the CPU with no interrupts enabled would cause Peanut-GB to infinite loop (#83)<br \/>\n&#8211; Added list of projects that use Peanut-GB to README<br \/>\n&#8211; Minor optimisation in the setting of f register in some CPU instructions. Clearing all 8 bits of the register can be faster than only clearing multiple specific bits in the register.<br \/>\n&#8211; Use of macros to remove repetitive code in similar CPU instructions.<br \/>\n&#8211; Improve emulation speed by counting the duration of time that the LCD is switched off<br \/>\n&#8211; Improve RTC emulation accuracy (still not perfect)<br \/>\n&#8211; Add repeating A and B keys to peanut-sdl by @lesleyrs in #97<br \/>\n&#8211; Use SDL_HINT_WINDOWS_DPI_AWARENESS only if it&rsquo;s available by @RobLoach in #94<br \/>\n&#8211; Demonstrated support for Windows 3.11 with Win32s and Windows NT 3.1<br \/>\n&#8211; Fixed MBC3 RTC on cartridges with no RAM.<br \/>\n&#8211; Minor optimisations.<br \/>\n&#8211; Added a basic graphical UI debugger.<br \/>\n&#8211; Further improvements to overall emulator stability and other minor adjustments have been made to enhance the user experience.<br \/>\n&nbsp;<\/p>\n<p>API<br \/>\n&#8211; PGB_DEPRECATED macro is added to mark deprecated functions.<br \/>\n&#8211; gb_tick_rtc() is deprecated. The RTC is now ticked internally by Peanut-GB automatically. This will be removed in v2.0.0.<br \/>\n&#8211; Deprecate non-portable joypad_bits bitfield by @ccawley2011 in #106<br \/>\n&nbsp;<\/p>\n<p>Other changes<br \/>\n&#8211; Added PGB_LIKELY() and PGB_UNLIKELY() macros.<br \/>\n&#8211; Fixes to minifb by @lesleyrs in #99<br \/>\n&#8211; Fix warning due to RTC_CYCLES cast by @ccawley2011 in #104<br \/>\n&#8211; frontends: Fix parameter types in lcd_draw_line by @ccawley2011 in #105<br \/>\n&#8211; Use bool for bitfield values by @ccawley2011 in #103<br \/>\n&#8211; Add GB_INIT_INVALID_MAX by @ccawley2011 in #115<br \/>\n&#8211; Update SDL2 in peanut-sdl to v2.32.4.<br \/>\n&#8211; Fix incorrect free in debugger<\/em><br \/>\n&nbsp;<\/p>\n<p class=\"p_telecharger_icone_zip\"><p class=\"p_telecharger_icone_zip\"><a class=\"telecharger_icone_zip\" href=\"https:\/\/www.emu-france.com\/?wpfb_dl=7928\" title=\"Download Peanut GB\">T\u00e9l\u00e9charger Peanut GB v1.3.0 (5.9 Mo)<\/a><\/p><\/p>\n<p class=\"p_site_officiel\"><a class=\"site_officiel\" href=\"https:\/\/github.com\/deltabeard\/Peanut-GB\/releases\" target=\"_blank\" rel=\"noopener noreferrer\">Site Officiel<\/a><\/p>\n<p class=\"p_en_savoir_plus\"><a class=\"en_savoir_plus\" href=\"https:\/\/www.emu-france.com\/emulateurs\/333-consoles-portables\/62-nintendo-game-boy-gb-light-gb-color\/\">En savoir plus&#8230;<\/a><\/p>\n<div class=\"fcbkbttn_buttons_block\" id=\"fcbkbttn_left\"><div class=\"fb-share-button  \" data-href=\"https:\/\/www.emu-france.com\/?p=104962\" data-type=\"button_count\" data-size=\"small\"><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Peanut-GB est un \u00e9mulateur d\u00e9di\u00e9 aux d\u00e9veloppeurs bas\u00e9 sur Greg&rsquo;s GameBoy Emulator. En effet, tout le code est inclus dans un unique fichier et propose une API permettant de l\u2019utiliser. Pour l&rsquo;heure, il \u00e9mule la GameBoy (DMG) avec le soucis &#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-104962","post","type-post","status-publish","format-standard","hentry","category-par-defaut","uentry","postonpage-1","odd","post-author-Jets"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKi2R-riW","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/104962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=104962"}],"version-history":[{"count":3,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/104962\/revisions"}],"predecessor-version":[{"id":104988,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=\/wp\/v2\/posts\/104962\/revisions\/104988"}],"wp:attachment":[{"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=104962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=104962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.emu-france.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=104962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}